
samlib.nostrip.dll:     file format pei-i386

Disassembly of section .text:

750c1000 <_DllMain@12>:
BOOL STDCALL
DllMain (HINSTANCE hInstance,
	 DWORD dwReason,
	 LPVOID lpReserved)
{
750c1000:	55                   	push   %ebp

  return TRUE;
}
750c1001:	b8 01 00 00 00       	mov    $0x1,%eax
750c1006:	89 e5                	mov    %esp,%ebp
750c1008:	5d                   	pop    %ebp
750c1009:	c2 0c 00             	ret    $0xc
750c100c:	8d 74 26 00          	lea    0x0(%esi),%esi

750c1010 <_DebugPrint>:


void
DebugPrint (char* fmt,...)
{
750c1010:	55                   	push   %ebp
750c1011:	89 e5                	mov    %esp,%ebp
750c1013:	53                   	push   %ebx
750c1014:	81 ec 08 02 00 00    	sub    $0x208,%esp
#ifdef LOG_DEBUG_MESSAGES
  char FileName[MAX_PATH];
  HANDLE hLogFile;
  DWORD dwBytesWritten;
#endif
  char buffer[512];
  va_list ap;

  va_start (ap, fmt);
750c101a:	8d 45 0c             	lea    0xc(%ebp),%eax
  vsprintf (buffer, fmt, ap);
750c101d:	8d 9d f8 fd ff ff    	lea    0xfffffdf8(%ebp),%ebx
750c1023:	50                   	push   %eax
750c1024:	8b 45 08             	mov    0x8(%ebp),%eax
750c1027:	50                   	push   %eax
750c1028:	53                   	push   %ebx
750c1029:	e8 42 0b 00 00       	call   750c1b70 <_vsprintf>
  va_end (ap);

  OutputDebugStringA (buffer);
750c102e:	89 1c 24             	mov    %ebx,(%esp)
750c1031:	e8 9a 0b 00 00       	call   750c1bd0 <_OutputDebugStringA@4>
750c1036:	8b 5d fc             	mov    0xfffffffc(%ebp),%ebx
750c1039:	c9                   	leave  
750c103a:	c3                   	ret    
750c103b:	90                   	nop    
750c103c:	90                   	nop    
750c103d:	90                   	nop    
750c103e:	90                   	nop    
750c103f:	90                   	nop    

750c1040 <_SamInitializeSAM@0>:

#ifdef LOG_DEBUG_MESSAGES
750c1040:	55                   	push   %ebp
750c1041:	89 e5                	mov    %esp,%ebp
750c1043:	57                   	push   %edi
750c1044:	56                   	push   %esi
750c1045:	53                   	push   %ebx
750c1046:	83 ec 38             	sub    $0x38,%esp
  strcpy (FileName, "C:\\reactos\\samlib.log");
  hLogFile = CreateFileA (FileName,
			  GENERIC_WRITE,
			  0,
			  NULL,
			  OPEN_ALWAYS,
			  FILE_ATTRIBUTE_NORMAL,
			  NULL);
  if (hLogFile == INVALID_HANDLE_VALUE)
    return;

  if (SetFilePointer(hLogFile, 0, NULL, FILE_END) == 0xFFFFFFFF)
750c1049:	8d 45 ec             	lea    0xffffffec(%ebp),%eax
750c104c:	8d 5d f0             	lea    0xfffffff0(%ebp),%ebx
750c104f:	53                   	push   %ebx
750c1050:	50                   	push   %eax
750c1051:	6a 00                	push   $0x0
750c1053:	68 3f 00 0f 00       	push   $0xf003f
750c1058:	6a 00                	push   $0x0
750c105a:	6a 00                	push   $0x0
750c105c:	6a 00                	push   $0x0
750c105e:	68 00 20 0c 75       	push   $0x750c2000
750c1063:	68 02 00 00 80       	push   $0x80000002
750c1068:	e8 93 0b 00 00       	call   750c1c00 <_RegCreateKeyExW@36>
750c106d:	83 c4 0c             	add    $0xc,%esp
750c1070:	85 c0                	test   %eax,%eax
750c1072:	74 31                	je     750c10a5 <_SamInitializeSAM@0+0x65>
    {
      CloseHandle (hLogFile);
      return;
    }

  WriteFile (hLogFile,
	     buffer,
	     strlen(buffer),
	     &dwBytesWritten,
	     NULL);
750c1074:	51                   	push   %ecx
750c1075:	6a 5b                	push   $0x5b
750c1077:	68 10 20 0c 75       	push   $0x750c2010
750c107c:	68 19 20 0c 75       	push   $0x750c2019
750c1081:	e8 8a ff ff ff       	call   750c1010 <_DebugPrint>
750c1086:	e8 55 0b 00 00       	call   750c1be0 <_GetLastError@0>
750c108b:	5f                   	pop    %edi
750c108c:	5a                   	pop    %edx
750c108d:	50                   	push   %eax
750c108e:	68 2c 20 0c 75       	push   $0x750c202c
750c1093:	e8 78 ff ff ff       	call   750c1010 <_DebugPrint>
750c1098:	83 c4 10             	add    $0x10,%esp

  CloseHandle (hLogFile);
#endif
}

/* EOF */
750c109b:	31 c0                	xor    %eax,%eax
750c109d:	8d 65 f4             	lea    0xfffffff4(%ebp),%esp
750c10a0:	5b                   	pop    %ebx
750c10a1:	5e                   	pop    %esi
750c10a2:	5f                   	pop    %edi
750c10a3:	5d                   	pop    %ebp
750c10a4:	c3                   	ret    
750c10a5:	83 ec 0c             	sub    $0xc,%esp
750c10a8:	8d 45 e8             	lea    0xffffffe8(%ebp),%eax
750c10ab:	8b 75 ec             	mov    0xffffffec(%ebp),%esi
750c10ae:	53                   	push   %ebx
750c10af:	50                   	push   %eax
750c10b0:	6a 00                	push   $0x0
750c10b2:	68 3f 00 0f 00       	push   $0xf003f
750c10b7:	6a 00                	push   $0x0
750c10b9:	6a 00                	push   $0x0
750c10bb:	6a 00                	push   $0x0
750c10bd:	68 56 20 0c 75       	push   $0x750c2056
750c10c2:	56                   	push   %esi
750c10c3:	e8 38 0b 00 00       	call   750c1c00 <_RegCreateKeyExW@36>
750c10c8:	83 c4 0c             	add    $0xc,%esp
750c10cb:	85 c0                	test   %eax,%eax
750c10cd:	74 31                	je     750c1100 <_SamInitializeSAM@0+0xc0>
750c10cf:	53                   	push   %ebx
750c10d0:	6a 69                	push   $0x69
750c10d2:	68 10 20 0c 75       	push   $0x750c2010
750c10d7:	68 19 20 0c 75       	push   $0x750c2019
750c10dc:	e8 2f ff ff ff       	call   750c1010 <_DebugPrint>
750c10e1:	e8 fa 0a 00 00       	call   750c1be0 <_GetLastError@0>
750c10e6:	5a                   	pop    %edx
750c10e7:	59                   	pop    %ecx
750c10e8:	50                   	push   %eax
750c10e9:	68 68 20 0c 75       	push   $0x750c2068
750c10ee:	e8 1d ff ff ff       	call   750c1010 <_DebugPrint>
750c10f3:	58                   	pop    %eax
750c10f4:	8b 45 ec             	mov    0xffffffec(%ebp),%eax
750c10f7:	50                   	push   %eax
750c10f8:	e8 13 0b 00 00       	call   750c1c10 <_RegCloseKey@4>
750c10fd:	eb 9c                	jmp    750c109b <_SamInitializeSAM@0+0x5b>
750c10ff:	90                   	nop    
750c1100:	83 ec 0c             	sub    $0xc,%esp
750c1103:	8b 7d ec             	mov    0xffffffec(%ebp),%edi
750c1106:	57                   	push   %edi
750c1107:	e8 04 0b 00 00       	call   750c1c10 <_RegCloseKey@4>
750c110c:	8d 45 e4             	lea    0xffffffe4(%ebp),%eax
750c110f:	8b 75 e8             	mov    0xffffffe8(%ebp),%esi
750c1112:	53                   	push   %ebx
750c1113:	50                   	push   %eax
750c1114:	6a 00                	push   $0x0
750c1116:	68 3f 00 0f 00       	push   $0xf003f
750c111b:	6a 00                	push   $0x0
750c111d:	6a 00                	push   $0x0
750c111f:	6a 00                	push   $0x0
750c1121:	68 96 20 0c 75       	push   $0x750c2096
750c1126:	56                   	push   %esi
750c1127:	e8 d4 0a 00 00       	call   750c1c00 <_RegCreateKeyExW@36>
750c112c:	83 c4 0c             	add    $0xc,%esp
750c112f:	85 c0                	test   %eax,%eax
750c1131:	75 6d                	jne    750c11a0 <_SamInitializeSAM@0+0x160>
750c1133:	83 ec 0c             	sub    $0xc,%esp
750c1136:	8b 7d e4             	mov    0xffffffe4(%ebp),%edi
750c1139:	8d 75 e0             	lea    0xffffffe0(%ebp),%esi
750c113c:	53                   	push   %ebx
750c113d:	56                   	push   %esi
750c113e:	6a 00                	push   $0x0
750c1140:	68 3f 00 0f 00       	push   $0xf003f
750c1145:	6a 00                	push   $0x0
750c1147:	6a 00                	push   $0x0
750c1149:	6a 00                	push   $0x0
750c114b:	68 a6 20 0c 75       	push   $0x750c20a6
750c1150:	57                   	push   %edi
750c1151:	e8 aa 0a 00 00       	call   750c1c00 <_RegCreateKeyExW@36>
750c1156:	83 c4 0c             	add    $0xc,%esp
750c1159:	85 c0                	test   %eax,%eax
750c115b:	74 70                	je     750c11cd <_SamInitializeSAM@0+0x18d>
750c115d:	53                   	push   %ebx
750c115e:	68 8c 00 00 00       	push   $0x8c
750c1163:	68 10 20 0c 75       	push   $0x750c2010
750c1168:	68 19 20 0c 75       	push   $0x750c2019
750c116d:	e8 9e fe ff ff       	call   750c1010 <_DebugPrint>
750c1172:	e8 69 0a 00 00       	call   750c1be0 <_GetLastError@0>
750c1177:	5a                   	pop    %edx
750c1178:	59                   	pop    %ecx
750c1179:	50                   	push   %eax
750c117a:	68 b8 20 0c 75       	push   $0x750c20b8
750c117f:	e8 8c fe ff ff       	call   750c1010 <_DebugPrint>
750c1184:	58                   	pop    %eax
750c1185:	8b 45 e4             	mov    0xffffffe4(%ebp),%eax
750c1188:	50                   	push   %eax
750c1189:	e8 82 0a 00 00       	call   750c1c10 <_RegCloseKey@4>
750c118e:	8b 5d e8             	mov    0xffffffe8(%ebp),%ebx
750c1191:	53                   	push   %ebx
750c1192:	e8 79 0a 00 00       	call   750c1c10 <_RegCloseKey@4>
750c1197:	e9 ff fe ff ff       	jmp    750c109b <_SamInitializeSAM@0+0x5b>
750c119c:	8d 74 26 00          	lea    0x0(%esi),%esi
750c11a0:	53                   	push   %ebx
750c11a1:	6a 7b                	push   $0x7b
750c11a3:	68 10 20 0c 75       	push   $0x750c2010
750c11a8:	68 19 20 0c 75       	push   $0x750c2019
750c11ad:	e8 5e fe ff ff       	call   750c1010 <_DebugPrint>
750c11b2:	e8 29 0a 00 00       	call   750c1be0 <_GetLastError@0>
750c11b7:	5a                   	pop    %edx
750c11b8:	59                   	pop    %ecx
750c11b9:	50                   	push   %eax
750c11ba:	68 f0 20 0c 75       	push   $0x750c20f0
750c11bf:	e8 4c fe ff ff       	call   750c1010 <_DebugPrint>
750c11c4:	58                   	pop    %eax
750c11c5:	8b 45 e8             	mov    0xffffffe8(%ebp),%eax
750c11c8:	e9 2a ff ff ff       	jmp    750c10f7 <_SamInitializeSAM@0+0xb7>
750c11cd:	83 ec 0c             	sub    $0xc,%esp
750c11d0:	8b 45 e0             	mov    0xffffffe0(%ebp),%eax
750c11d3:	8d 7d dc             	lea    0xffffffdc(%ebp),%edi
750c11d6:	50                   	push   %eax
750c11d7:	e8 34 0a 00 00       	call   750c1c10 <_RegCloseKey@4>
750c11dc:	8b 45 e4             	mov    0xffffffe4(%ebp),%eax
750c11df:	53                   	push   %ebx
750c11e0:	57                   	push   %edi
750c11e1:	6a 00                	push   $0x0
750c11e3:	68 3f 00 0f 00       	push   $0xf003f
750c11e8:	6a 00                	push   $0x0
750c11ea:	6a 00                	push   $0x0
750c11ec:	6a 00                	push   $0x0
750c11ee:	68 26 21 0c 75       	push   $0x750c2126
750c11f3:	50                   	push   %eax
750c11f4:	e8 07 0a 00 00       	call   750c1c00 <_RegCreateKeyExW@36>
750c11f9:	83 c4 0c             	add    $0xc,%esp
750c11fc:	85 c0                	test   %eax,%eax
750c11fe:	75 5a                	jne    750c125a <_SamInitializeSAM@0+0x21a>
750c1200:	83 ec 0c             	sub    $0xc,%esp
750c1203:	8b 45 dc             	mov    0xffffffdc(%ebp),%eax
750c1206:	50                   	push   %eax
750c1207:	e8 04 0a 00 00       	call   750c1c10 <_RegCloseKey@4>
750c120c:	8d 45 d8             	lea    0xffffffd8(%ebp),%eax
750c120f:	53                   	push   %ebx
750c1210:	50                   	push   %eax
750c1211:	8b 45 e4             	mov    0xffffffe4(%ebp),%eax
750c1214:	6a 00                	push   $0x0
750c1216:	68 3f 00 0f 00       	push   $0xf003f
750c121b:	6a 00                	push   $0x0
750c121d:	6a 00                	push   $0x0
750c121f:	6a 00                	push   $0x0
750c1221:	68 34 21 0c 75       	push   $0x750c2134
750c1226:	50                   	push   %eax
750c1227:	e8 d4 09 00 00       	call   750c1c00 <_RegCreateKeyExW@36>
750c122c:	83 c4 0c             	add    $0xc,%esp
750c122f:	85 c0                	test   %eax,%eax
750c1231:	74 4e                	je     750c1281 <_SamInitializeSAM@0+0x241>
750c1233:	53                   	push   %ebx
750c1234:	68 b4 00 00 00       	push   $0xb4
750c1239:	68 10 20 0c 75       	push   $0x750c2010
750c123e:	68 19 20 0c 75       	push   $0x750c2019
750c1243:	e8 c8 fd ff ff       	call   750c1010 <_DebugPrint>
750c1248:	e8 93 09 00 00       	call   750c1be0 <_GetLastError@0>
750c124d:	5a                   	pop    %edx
750c124e:	59                   	pop    %ecx
750c124f:	50                   	push   %eax
750c1250:	68 40 21 0c 75       	push   $0x750c2140
750c1255:	e9 25 ff ff ff       	jmp    750c117f <_SamInitializeSAM@0+0x13f>
750c125a:	53                   	push   %ebx
750c125b:	68 a0 00 00 00       	push   $0xa0
750c1260:	68 10 20 0c 75       	push   $0x750c2010
750c1265:	68 19 20 0c 75       	push   $0x750c2019
750c126a:	e8 a1 fd ff ff       	call   750c1010 <_DebugPrint>
750c126f:	e8 6c 09 00 00       	call   750c1be0 <_GetLastError@0>
750c1274:	5a                   	pop    %edx
750c1275:	59                   	pop    %ecx
750c1276:	50                   	push   %eax
750c1277:	68 74 21 0c 75       	push   $0x750c2174
750c127c:	e9 fe fe ff ff       	jmp    750c117f <_SamInitializeSAM@0+0x13f>
750c1281:	83 ec 0c             	sub    $0xc,%esp
750c1284:	8b 45 d8             	mov    0xffffffd8(%ebp),%eax
750c1287:	50                   	push   %eax
750c1288:	e8 83 09 00 00       	call   750c1c10 <_RegCloseKey@4>
750c128d:	8b 45 e4             	mov    0xffffffe4(%ebp),%eax
750c1290:	50                   	push   %eax
750c1291:	e8 7a 09 00 00       	call   750c1c10 <_RegCloseKey@4>
750c1296:	8d 45 d4             	lea    0xffffffd4(%ebp),%eax
750c1299:	53                   	push   %ebx
750c129a:	50                   	push   %eax
750c129b:	8b 45 e8             	mov    0xffffffe8(%ebp),%eax
750c129e:	6a 00                	push   $0x0
750c12a0:	68 3f 00 0f 00       	push   $0xf003f
750c12a5:	6a 00                	push   $0x0
750c12a7:	6a 00                	push   $0x0
750c12a9:	6a 00                	push   $0x0
750c12ab:	68 a8 21 0c 75       	push   $0x750c21a8
750c12b0:	50                   	push   %eax
750c12b1:	e8 4a 09 00 00       	call   750c1c00 <_RegCreateKeyExW@36>
750c12b6:	83 c4 0c             	add    $0xc,%esp
750c12b9:	85 c0                	test   %eax,%eax
750c12bb:	74 27                	je     750c12e4 <_SamInitializeSAM@0+0x2a4>
750c12bd:	51                   	push   %ecx
750c12be:	68 ca 00 00 00       	push   $0xca
750c12c3:	68 10 20 0c 75       	push   $0x750c2010
750c12c8:	68 19 20 0c 75       	push   $0x750c2019
750c12cd:	e8 3e fd ff ff       	call   750c1010 <_DebugPrint>
750c12d2:	e8 09 09 00 00       	call   750c1be0 <_GetLastError@0>
750c12d7:	5f                   	pop    %edi
750c12d8:	5a                   	pop    %edx
750c12d9:	50                   	push   %eax
750c12da:	68 b8 21 0c 75       	push   $0x750c21b8
750c12df:	e9 db fe ff ff       	jmp    750c11bf <_SamInitializeSAM@0+0x17f>
750c12e4:	83 ec 0c             	sub    $0xc,%esp
750c12e7:	53                   	push   %ebx
750c12e8:	56                   	push   %esi
750c12e9:	8b 75 d4             	mov    0xffffffd4(%ebp),%esi
750c12ec:	6a 00                	push   $0x0
750c12ee:	68 3f 00 0f 00       	push   $0xf003f
750c12f3:	6a 00                	push   $0x0
750c12f5:	6a 00                	push   $0x0
750c12f7:	6a 00                	push   $0x0
750c12f9:	68 a6 20 0c 75       	push   $0x750c20a6
750c12fe:	56                   	push   %esi
750c12ff:	e8 fc 08 00 00       	call   750c1c00 <_RegCreateKeyExW@36>
750c1304:	83 c4 0c             	add    $0xc,%esp
750c1307:	85 c0                	test   %eax,%eax
750c1309:	74 31                	je     750c133c <_SamInitializeSAM@0+0x2fc>
750c130b:	53                   	push   %ebx
750c130c:	68 db 00 00 00       	push   $0xdb
750c1311:	68 10 20 0c 75       	push   $0x750c2010
750c1316:	68 19 20 0c 75       	push   $0x750c2019
750c131b:	e8 f0 fc ff ff       	call   750c1010 <_DebugPrint>
750c1320:	e8 bb 08 00 00       	call   750c1be0 <_GetLastError@0>
750c1325:	5a                   	pop    %edx
750c1326:	59                   	pop    %ecx
750c1327:	50                   	push   %eax
750c1328:	68 e4 21 0c 75       	push   $0x750c21e4
750c132d:	e8 de fc ff ff       	call   750c1010 <_DebugPrint>
750c1332:	5f                   	pop    %edi
750c1333:	8b 75 d4             	mov    0xffffffd4(%ebp),%esi
750c1336:	56                   	push   %esi
750c1337:	e9 4d fe ff ff       	jmp    750c1189 <_SamInitializeSAM@0+0x149>
750c133c:	83 ec 0c             	sub    $0xc,%esp
750c133f:	8b 45 e0             	mov    0xffffffe0(%ebp),%eax
750c1342:	50                   	push   %eax
750c1343:	e8 c8 08 00 00       	call   750c1c10 <_RegCloseKey@4>
750c1348:	8b 75 d4             	mov    0xffffffd4(%ebp),%esi
750c134b:	53                   	push   %ebx
750c134c:	57                   	push   %edi
750c134d:	6a 00                	push   $0x0
750c134f:	68 3f 00 0f 00       	push   $0xf003f
750c1354:	6a 00                	push   $0x0
750c1356:	6a 00                	push   $0x0
750c1358:	6a 00                	push   $0x0
750c135a:	68 26 21 0c 75       	push   $0x750c2126
750c135f:	56                   	push   %esi
750c1360:	e8 9b 08 00 00       	call   750c1c00 <_RegCreateKeyExW@36>
750c1365:	83 c4 0c             	add    $0xc,%esp
750c1368:	85 c0                	test   %eax,%eax
750c136a:	74 24                	je     750c1390 <_SamInitializeSAM@0+0x350>
750c136c:	53                   	push   %ebx
750c136d:	68 f9 00 00 00       	push   $0xf9
750c1372:	68 10 20 0c 75       	push   $0x750c2010
750c1377:	68 19 20 0c 75       	push   $0x750c2019
750c137c:	e8 8f fc ff ff       	call   750c1010 <_DebugPrint>
750c1381:	e8 5a 08 00 00       	call   750c1be0 <_GetLastError@0>
750c1386:	5a                   	pop    %edx
750c1387:	59                   	pop    %ecx
750c1388:	50                   	push   %eax
750c1389:	68 1c 22 0c 75       	push   $0x750c221c
750c138e:	eb 9d                	jmp    750c132d <_SamInitializeSAM@0+0x2ed>
750c1390:	83 ec 0c             	sub    $0xc,%esp
750c1393:	8b 7d dc             	mov    0xffffffdc(%ebp),%edi
750c1396:	57                   	push   %edi
750c1397:	e8 74 08 00 00       	call   750c1c10 <_RegCloseKey@4>
750c139c:	8d 45 d8             	lea    0xffffffd8(%ebp),%eax
750c139f:	8b 75 d4             	mov    0xffffffd4(%ebp),%esi
750c13a2:	53                   	push   %ebx
750c13a3:	50                   	push   %eax
750c13a4:	6a 00                	push   $0x0
750c13a6:	68 3f 00 0f 00       	push   $0xf003f
750c13ab:	6a 00                	push   $0x0
750c13ad:	6a 00                	push   $0x0
750c13af:	6a 00                	push   $0x0
750c13b1:	68 34 21 0c 75       	push   $0x750c2134
750c13b6:	56                   	push   %esi
750c13b7:	e8 44 08 00 00       	call   750c1c00 <_RegCreateKeyExW@36>
750c13bc:	83 c4 0c             	add    $0xc,%esp
750c13bf:	85 c0                	test   %eax,%eax
750c13c1:	74 27                	je     750c13ea <_SamInitializeSAM@0+0x3aa>
750c13c3:	53                   	push   %ebx
750c13c4:	68 17 01 00 00       	push   $0x117
750c13c9:	68 10 20 0c 75       	push   $0x750c2010
750c13ce:	68 19 20 0c 75       	push   $0x750c2019
750c13d3:	e8 38 fc ff ff       	call   750c1010 <_DebugPrint>
750c13d8:	e8 03 08 00 00       	call   750c1be0 <_GetLastError@0>
750c13dd:	5a                   	pop    %edx
750c13de:	59                   	pop    %ecx
750c13df:	50                   	push   %eax
750c13e0:	68 50 22 0c 75       	push   $0x750c2250
750c13e5:	e9 43 ff ff ff       	jmp    750c132d <_SamInitializeSAM@0+0x2ed>
750c13ea:	83 ec 0c             	sub    $0xc,%esp
750c13ed:	8b 4d d8             	mov    0xffffffd8(%ebp),%ecx
750c13f0:	51                   	push   %ecx
750c13f1:	e8 1a 08 00 00       	call   750c1c10 <_RegCloseKey@4>
750c13f6:	8b 55 d4             	mov    0xffffffd4(%ebp),%edx
750c13f9:	52                   	push   %edx
750c13fa:	e8 11 08 00 00       	call   750c1c10 <_RegCloseKey@4>
750c13ff:	8b 45 e8             	mov    0xffffffe8(%ebp),%eax
750c1402:	50                   	push   %eax
750c1403:	e8 08 08 00 00       	call   750c1c10 <_RegCloseKey@4>
750c1408:	b8 01 00 00 00       	mov    $0x1,%eax
750c140d:	e9 8b fc ff ff       	jmp    750c109d <_SamInitializeSAM@0+0x5d>
750c1412:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi
750c1419:	8d bc 27 00 00 00 00 	lea    0x0(%edi),%edi

750c1420 <_SamGetDomainSid@4>:
750c1420:	55                   	push   %ebp
750c1421:	31 c0                	xor    %eax,%eax
750c1423:	89 e5                	mov    %esp,%ebp
750c1425:	5d                   	pop    %ebp
750c1426:	c2 04 00             	ret    $0x4
750c1429:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi

750c1430 <_SamSetDomainSid@4>:
750c1430:	55                   	push   %ebp
750c1431:	89 e5                	mov    %esp,%ebp
750c1433:	53                   	push   %ebx
750c1434:	83 ec 10             	sub    $0x10,%esp
750c1437:	8d 45 f8             	lea    0xfffffff8(%ebp),%eax
750c143a:	8b 5d 08             	mov    0x8(%ebp),%ebx
750c143d:	50                   	push   %eax
750c143e:	68 3f 00 0f 00       	push   $0xf003f
750c1443:	6a 00                	push   $0x0
750c1445:	68 84 22 0c 75       	push   $0x750c2284
750c144a:	68 02 00 00 80       	push   $0x80000002
750c144f:	e8 cc 07 00 00       	call   750c1c20 <_RegOpenKeyExW@20>
750c1454:	83 c4 0c             	add    $0xc,%esp
750c1457:	85 c0                	test   %eax,%eax
750c1459:	74 35                	je     750c1490 <_SamSetDomainSid@4+0x60>
750c145b:	53                   	push   %ebx
750c145c:	68 49 01 00 00       	push   $0x149
750c1461:	68 10 20 0c 75       	push   $0x750c2010
750c1466:	68 19 20 0c 75       	push   $0x750c2019
750c146b:	e8 a0 fb ff ff       	call   750c1010 <_DebugPrint>
750c1470:	e8 6b 07 00 00       	call   750c1be0 <_GetLastError@0>
750c1475:	5a                   	pop    %edx
750c1476:	59                   	pop    %ecx
750c1477:	50                   	push   %eax
750c1478:	68 b4 22 0c 75       	push   $0x750c22b4
750c147d:	e8 8e fb ff ff       	call   750c1010 <_DebugPrint>
750c1482:	83 c4 10             	add    $0x10,%esp
750c1485:	31 c0                	xor    %eax,%eax
750c1487:	8b 5d fc             	mov    0xfffffffc(%ebp),%ebx
750c148a:	c9                   	leave  
750c148b:	c2 04 00             	ret    $0x4
750c148e:	89 f6                	mov    %esi,%esi
750c1490:	83 ec 0c             	sub    $0xc,%esp
750c1493:	53                   	push   %ebx
750c1494:	e8 e7 06 00 00       	call   750c1b80 <_RtlLengthSid@4>
750c1499:	89 04 24             	mov    %eax,(%esp)
750c149c:	53                   	push   %ebx
750c149d:	6a 03                	push   $0x3
750c149f:	6a 00                	push   $0x0
750c14a1:	68 e2 22 0c 75       	push   $0x750c22e2
750c14a6:	8b 5d f8             	mov    0xfffffff8(%ebp),%ebx
750c14a9:	53                   	push   %ebx
750c14aa:	e8 81 07 00 00       	call   750c1c30 <_RegSetValueExW@24>
750c14af:	5a                   	pop    %edx
750c14b0:	85 c0                	test   %eax,%eax
750c14b2:	59                   	pop    %ecx
750c14b3:	74 33                	je     750c14e8 <_SamSetDomainSid@4+0xb8>
750c14b5:	53                   	push   %ebx
750c14b6:	68 54 01 00 00       	push   $0x154
750c14bb:	68 10 20 0c 75       	push   $0x750c2010
750c14c0:	68 19 20 0c 75       	push   $0x750c2019
750c14c5:	e8 46 fb ff ff       	call   750c1010 <_DebugPrint>
750c14ca:	e8 11 07 00 00       	call   750c1be0 <_GetLastError@0>
750c14cf:	5a                   	pop    %edx
750c14d0:	59                   	pop    %ecx
750c14d1:	50                   	push   %eax
750c14d2:	68 ec 22 0c 75       	push   $0x750c22ec
750c14d7:	e8 34 fb ff ff       	call   750c1010 <_DebugPrint>
750c14dc:	58                   	pop    %eax
750c14dd:	8b 45 f8             	mov    0xfffffff8(%ebp),%eax
750c14e0:	50                   	push   %eax
750c14e1:	e8 2a 07 00 00       	call   750c1c10 <_RegCloseKey@4>
750c14e6:	eb 9d                	jmp    750c1485 <_SamSetDomainSid@4+0x55>
750c14e8:	83 ec 0c             	sub    $0xc,%esp
750c14eb:	8b 5d f8             	mov    0xfffffff8(%ebp),%ebx
750c14ee:	53                   	push   %ebx
750c14ef:	e8 1c 07 00 00       	call   750c1c10 <_RegCloseKey@4>
750c14f4:	b8 01 00 00 00       	mov    $0x1,%eax
750c14f9:	8b 5d fc             	mov    0xfffffffc(%ebp),%ebx
750c14fc:	c9                   	leave  
750c14fd:	c2 04 00             	ret    $0x4

750c1500 <_SamCreateUser@12>:
750c1500:	55                   	push   %ebp
750c1501:	89 e5                	mov    %esp,%ebp
750c1503:	57                   	push   %edi
750c1504:	56                   	push   %esi
750c1505:	53                   	push   %ebx
750c1506:	83 ec 18             	sub    $0x18,%esp
750c1509:	8d 45 f0             	lea    0xfffffff0(%ebp),%eax
750c150c:	8b 5d 08             	mov    0x8(%ebp),%ebx
750c150f:	8b 75 0c             	mov    0xc(%ebp),%esi
750c1512:	50                   	push   %eax
750c1513:	8b 7d 10             	mov    0x10(%ebp),%edi
750c1516:	68 3f 00 0f 00       	push   $0xf003f
750c151b:	6a 00                	push   $0x0
750c151d:	68 1c 23 0c 75       	push   $0x750c231c
750c1522:	68 02 00 00 80       	push   $0x80000002
750c1527:	e8 f4 06 00 00       	call   750c1c20 <_RegOpenKeyExW@20>
750c152c:	83 c4 0c             	add    $0xc,%esp
750c152f:	85 c0                	test   %eax,%eax
750c1531:	74 3d                	je     750c1570 <_SamCreateUser@12+0x70>
750c1533:	53                   	push   %ebx
750c1534:	68 78 01 00 00       	push   $0x178
750c1539:	68 10 20 0c 75       	push   $0x750c2010
750c153e:	68 19 20 0c 75       	push   $0x750c2019
750c1543:	e8 c8 fa ff ff       	call   750c1010 <_DebugPrint>
750c1548:	e8 93 06 00 00       	call   750c1be0 <_GetLastError@0>
750c154d:	5a                   	pop    %edx
750c154e:	59                   	pop    %ecx
750c154f:	50                   	push   %eax
750c1550:	68 58 23 0c 75       	push   $0x750c2358
750c1555:	e8 b6 fa ff ff       	call   750c1010 <_DebugPrint>
750c155a:	83 c4 10             	add    $0x10,%esp
750c155d:	31 c0                	xor    %eax,%eax
750c155f:	8d 65 f4             	lea    0xfffffff4(%ebp),%esp
750c1562:	5b                   	pop    %ebx
750c1563:	5e                   	pop    %esi
750c1564:	5f                   	pop    %edi
750c1565:	5d                   	pop    %ebp
750c1566:	c2 0c 00             	ret    $0xc
750c1569:	8d b4 26 00 00 00 00 	lea    0x0(%esi),%esi
750c1570:	83 ec 0c             	sub    $0xc,%esp
750c1573:	8d 45 ec             	lea    0xffffffec(%ebp),%eax
750c1576:	50                   	push   %eax
750c1577:	8d 45 e8             	lea    0xffffffe8(%ebp),%eax
750c157a:	50                   	push   %eax
750c157b:	8b 45 f0             	mov    0xfffffff0(%ebp),%eax
750c157e:	6a 00                	push   $0x0
750c1580:	68 3f 00 0f 00       	push   $0xf003f
750c1585:	6a 00                	push   $0x0
750c1587:	6a 00                	push   $0x0
750c1589:	6a 00                	push   $0x0
750c158b:	53                   	push   %ebx
750c158c:	50                   	push   %eax
750c158d:	e8 6e 06 00 00       	call   750c1c00 <_RegCreateKeyExW@36>
750c1592:	83 c4 0c             	add    $0xc,%esp
750c1595:	85 c0                	test   %eax,%eax
750c1597:	74 37                	je     750c15d0 <_SamCreateUser@12+0xd0>
750c1599:	53                   	push   %ebx
750c159a:	68 87 01 00 00       	push   $0x187
750c159f:	68 10 20 0c 75       	push   $0x750c2010
750c15a4:	68 19 20 0c 75       	push   $0x750c2019
750c15a9:	e8 62 fa ff ff       	call   750c1010 <_DebugPrint>
750c15ae:	e8 2d 06 00 00       	call   750c1be0 <_GetLastError@0>
750c15b3:	5a                   	pop    %edx
750c15b4:	59                   	pop    %ecx
750c15b5:	50                   	push   %eax
750c15b6:	68 84 23 0c 75       	push   $0x750c2384
750c15bb:	e8 50 fa ff ff       	call   750c1010 <_DebugPrint>
750c15c0:	58                   	pop    %eax
750c15c1:	8b 45 f0             	mov    0xfffffff0(%ebp),%eax
750c15c4:	50                   	push   %eax
750c15c5:	e8 46 06 00 00       	call   750c1c10 <_RegCloseKey@4>
750c15ca:	eb 91                	jmp    750c155d <_SamCreateUser@12+0x5d>
750c15cc:	8d 74 26 00          	lea    0x0(%esi),%esi
750c15d0:	83 ec 0c             	sub    $0xc,%esp
750c15d3:	8b 45 f0             	mov    0xfffffff0(%ebp),%eax
750c15d6:	50                   	push   %eax
750c15d7:	e8 34 06 00 00       	call   750c1c10 <_RegCloseKey@4>
750c15dc:	83 c4 0c             	add    $0xc,%esp
750c15df:	83 7d ec 02          	cmpl   $0x2,0xffffffec(%ebp)
750c15e3:	74 5f                	je     750c1644 <_SamCreateUser@12+0x144>
750c15e5:	83 ec 0c             	sub    $0xc,%esp
750c15e8:	53                   	push   %ebx
750c15e9:	e8 d2 05 00 00       	call   750c1bc0 <_wcslen>
750c15ee:	5a                   	pop    %edx
750c15ef:	59                   	pop    %ecx
750c15f0:	8d 44 00 02          	lea    0x2(%eax,%eax,1),%eax
750c15f4:	8b 4d e8             	mov    0xffffffe8(%ebp),%ecx
750c15f7:	50                   	push   %eax
750c15f8:	53                   	push   %ebx
750c15f9:	6a 01                	push   $0x1
750c15fb:	6a 00                	push   $0x0
750c15fd:	68 b6 23 0c 75       	push   $0x750c23b6
750c1602:	51                   	push   %ecx
750c1603:	e8 28 06 00 00       	call   750c1c30 <_RegSetValueExW@24>
750c1608:	5b                   	pop    %ebx
750c1609:	85 c0                	test   %eax,%eax
750c160b:	5a                   	pop    %edx
750c160c:	74 70                	je     750c167e <_SamCreateUser@12+0x17e>
750c160e:	51                   	push   %ecx
750c160f:	68 9f 01 00 00       	push   $0x19f
750c1614:	68 10 20 0c 75       	push   $0x750c2010
750c1619:	68 19 20 0c 75       	push   $0x750c2019
750c161e:	e8 ed f9 ff ff       	call   750c1010 <_DebugPrint>
750c1623:	e8 b8 05 00 00       	call   750c1be0 <_GetLastError@0>
750c1628:	5a                   	pop    %edx
750c1629:	59                   	pop    %ecx
750c162a:	50                   	push   %eax
750c162b:	68 c0 23 0c 75       	push   $0x750c23c0
750c1630:	e8 db f9 ff ff       	call   750c1010 <_DebugPrint>
750c1635:	8b 7d e8             	mov    0xffffffe8(%ebp),%edi
750c1638:	58                   	pop    %eax
750c1639:	57                   	push   %edi
750c163a:	e8 d1 05 00 00       	call   750c1c10 <_RegCloseKey@4>
750c163f:	e9 19 ff ff ff       	jmp    750c155d <_SamCreateUser@12+0x5d>
750c1644:	57                   	push   %edi
750c1645:	68 90 01 00 00       	push   $0x190
750c164a:	68 10 20 0c 75       	push   $0x750c2010
750c164f:	68 19 20 0c 75       	push   $0x750c2019
750c1654:	e8 b7 f9 ff ff       	call   750c1010 <_DebugPrint>
750c1659:	c7 04 24 f0 23 0c 75 	movl   $0x750c23f0,(%esp)
750c1660:	e8 ab f9 ff ff       	call   750c1010 <_DebugPrint>
750c1665:	5e                   	pop    %esi
750c1666:	8b 5d e8             	mov    0xffffffe8(%ebp),%ebx
750c1669:	53                   	push   %ebx
750c166a:	e8 a1 05 00 00       	call   750c1c10 <_RegCloseKey@4>
750c166f:	68 24 05 00 00       	push   $0x524
750c1674:	e8 77 05 00 00       	call   750c1bf0 <_SetLastError@4>
750c1679:	e9 df fe ff ff       	jmp    750c155d <_SamCreateUser@12+0x5d>
750c167e:	83 ec 0c             	sub    $0xc,%esp
750c1681:	56                   	push   %esi
750c1682:	e8 39 05 00 00       	call   750c1bc0 <_wcslen>
750c1687:	5b                   	pop    %ebx
750c1688:	8b 4d e8             	mov    0xffffffe8(%ebp),%ecx
750c168b:	5a                   	pop    %edx
750c168c:	8d 44 00 02          	lea    0x2(%eax,%eax,1),%eax
750c1690:	50                   	push   %eax
750c1691:	56                   	push   %esi
750c1692:	6a 01                	push   $0x1
750c1694:	6a 00                	push   $0x0
750c1696:	68 06 24 0c 75       	push   $0x750c2406
750c169b:	51                   	push   %ecx
750c169c:	e8 8f 05 00 00       	call   750c1c30 <_RegSetValueExW@24>
750c16a1:	5e                   	pop    %esi
750c16a2:	85 c0                	test   %eax,%eax
750c16a4:	5a                   	pop    %edx
750c16a5:	75 4c                	jne    750c16f3 <_SamCreateUser@12+0x1f3>
750c16a7:	83 ec 0c             	sub    $0xc,%esp
750c16aa:	57                   	push   %edi
750c16ab:	e8 d0 04 00 00       	call   750c1b80 <_RtlLengthSid@4>
750c16b0:	89 04 24             	mov    %eax,(%esp)
750c16b3:	8b 45 e8             	mov    0xffffffe8(%ebp),%eax
750c16b6:	57                   	push   %edi
750c16b7:	6a 03                	push   $0x3
750c16b9:	6a 00                	push   $0x0
750c16bb:	68 e2 22 0c 75       	push   $0x750c22e2
750c16c0:	50                   	push   %eax
750c16c1:	e8 6a 05 00 00       	call   750c1c30 <_RegSetValueExW@24>
750c16c6:	5e                   	pop    %esi
750c16c7:	85 c0                	test   %eax,%eax
750c16c9:	5f                   	pop    %edi
750c16ca:	74 32                	je     750c16fe <_SamCreateUser@12+0x1fe>
750c16cc:	53                   	push   %ebx
750c16cd:	68 b9 01 00 00       	push   $0x1b9
750c16d2:	68 10 20 0c 75       	push   $0x750c2010
750c16d7:	68 19 20 0c 75       	push   $0x750c2019
750c16dc:	e8 2f f9 ff ff       	call   750c1010 <_DebugPrint>
750c16e1:	e8 fa 04 00 00       	call   750c1be0 <_GetLastError@0>
750c16e6:	5a                   	pop    %edx
750c16e7:	59                   	pop    %ecx
750c16e8:	50                   	push   %eax
750c16e9:	68 18 24 0c 75       	push   $0x750c2418
750c16ee:	e9 3d ff ff ff       	jmp    750c1630 <_SamCreateUser@12+0x130>
750c16f3:	53                   	push   %ebx
750c16f4:	68 ac 01 00 00       	push   $0x1ac
750c16f9:	e9 16 ff ff ff       	jmp    750c1614 <_SamCreateUser@12+0x114>
750c16fe:	83 ec 0c             	sub    $0xc,%esp
750c1701:	8b 75 e8             	mov    0xffffffe8(%ebp),%esi
750c1704:	56                   	push   %esi
750c1705:	e8 06 05 00 00       	call   750c1c10 <_RegCloseKey@4>
750c170a:	b8 01 00 00 00       	mov    $0x1,%eax
750c170f:	e9 4b fe ff ff       	jmp    750c155f <_SamCreateUser@12+0x5f>
750c1714:	8d b6 00 00 00 00    	lea    0x0(%esi),%esi
750c171a:	8d bf 00 00 00 00    	lea    0x0(%edi),%edi

750c1720 <_SamCheckUserPassword@8>:
750c1720:	55                   	push   %ebp
750c1721:	89 e5                	mov    %esp,%ebp
750c1723:	57                   	push   %edi
750c1724:	56                   	push   %esi
750c1725:	53                   	push   %ebx
750c1726:	81 ec 28 02 00 00    	sub    $0x228,%esp
750c172c:	8d 85 e4 fd ff ff    	lea    0xfffffde4(%ebp),%eax
750c1732:	8b 7d 0c             	mov    0xc(%ebp),%edi
750c1735:	50                   	push   %eax
750c1736:	68 19 00 02 00       	push   $0x20019
750c173b:	6a 00                	push   $0x0
750c173d:	68 1c 23 0c 75       	push   $0x750c231c
750c1742:	68 02 00 00 80       	push   $0x80000002
750c1747:	e8 d4 04 00 00       	call   750c1c20 <_RegOpenKeyExW@20>
750c174c:	83 c4 0c             	add    $0xc,%esp
750c174f:	85 c0                	test   %eax,%eax
750c1751:	74 3d                	je     750c1790 <_SamCheckUserPassword@8+0x70>
750c1753:	53                   	push   %ebx
750c1754:	68 dc 01 00 00       	push   $0x1dc
750c1759:	68 10 20 0c 75       	push   $0x750c2010
750c175e:	68 19 20 0c 75       	push   $0x750c2019
750c1763:	e8 a8 f8 ff ff       	call   750c1010 <_DebugPrint>
750c1768:	e8 73 04 00 00       	call   750c1be0 <_GetLastError@0>
750c176d:	5a                   	pop    %edx
750c176e:	59                   	pop    %ecx
750c176f:	50                   	push   %eax
750c1770:	68 48 24 0c 75       	push   $0x750c2448
750c1775:	e8 96 f8 ff ff       	call   750c1010 <_DebugPrint>
750c177a:	83 c4 10             	add    $0x10,%esp
750c177d:	31 d2                	xor    %edx,%edx
750c177f:	8d 65 f4             	lea    0xfffffff4(%ebp),%esp
750c1782:	89 d0                	mov    %edx,%eax
750c1784:	5b                   	pop    %ebx
750c1785:	5e                   	pop    %esi
750c1786:	5f                   	pop    %edi
750c1787:	5d                   	pop    %ebp
750c1788:	c2 08 00             	ret    $0x8
750c178b:	90                   	nop    
750c178c:	8d 74 26 00          	lea    0x0(%esi),%esi
750c1790:	83 ec 0c             	sub    $0xc,%esp
750c1793:	8d 85 e0 fd ff ff    	lea    0xfffffde0(%ebp),%eax
750c1799:	50                   	push   %eax
750c179a:	8b 45 08             	mov    0x8(%ebp),%eax
750c179d:	68 19 00 02 00       	push   $0x20019
750c17a2:	6a 00                	push   $0x0
750c17a4:	50                   	push   %eax
750c17a5:	8b 85 e4 fd ff ff    	mov    0xfffffde4(%ebp),%eax
750c17ab:	50                   	push   %eax
750c17ac:	e8 6f 04 00 00       	call   750c1c20 <_RegOpenKeyExW@20>
750c17b1:	83 c4 0c             	add    $0xc,%esp
750c17b4:	85 c0                	test   %eax,%eax
750c17b6:	74 4c                	je     750c1804 <_SamCheckUserPassword@8+0xe4>
750c17b8:	e8 23 04 00 00       	call   750c1be0 <_GetLastError@0>
750c17bd:	83 f8 02             	cmp    $0x2,%eax
750c17c0:	0f 84 17 01 00 00    	je     750c18dd <_SamCheckUserPassword@8+0x1bd>
750c17c6:	53                   	push   %ebx
750c17c7:	68 ee 01 00 00       	push   $0x1ee
750c17cc:	68 10 20 0c 75       	push   $0x750c2010
750c17d1:	68 19 20 0c 75       	push   $0x750c2019
750c17d6:	e8 35 f8 ff ff       	call   750c1010 <_DebugPrint>
750c17db:	e8 00 04 00 00       	call   750c1be0 <_GetLastError@0>
750c17e0:	5a                   	pop    %edx
750c17e1:	59                   	pop    %ecx
750c17e2:	50                   	push   %eax
750c17e3:	68 70 24 0c 75       	push   $0x750c2470
750c17e8:	e8 23 f8 ff ff       	call   750c1010 <_DebugPrint>
750c17ed:	83 c4 10             	add    $0x10,%esp
750c17f0:	83 ec 0c             	sub    $0xc,%esp
750c17f3:	8b bd e4 fd ff ff    	mov    0xfffffde4(%ebp),%edi
750c17f9:	57                   	push   %edi
750c17fa:	e8 11 04 00 00       	call   750c1c10 <_RegCloseKey@4>
750c17ff:	e9 79 ff ff ff       	jmp    750c177d <_SamCheckUserPassword@8+0x5d>
750c1804:	83 ec 0c             	sub    $0xc,%esp
750c1807:	8b b5 e4 fd ff ff    	mov    0xfffffde4(%ebp),%esi
750c180d:	56                   	push   %esi
750c180e:	e8 fd 03 00 00       	call   750c1c10 <_RegCloseKey@4>
750c1813:	8d b5 e8 fd ff ff    	lea    0xfffffde8(%ebp),%esi
750c1819:	8d 85 dc fd ff ff    	lea    0xfffffddc(%ebp),%eax
750c181f:	8b 9d e0 fd ff ff    	mov    0xfffffde0(%ebp),%ebx
750c1825:	89 04 24             	mov    %eax,(%esp)
750c1828:	c7 85 dc fd ff ff 00 	movl   $0x200,0xfffffddc(%ebp)
750c182f:	02 00 00 
750c1832:	56                   	push   %esi
750c1833:	6a 00                	push   $0x0
750c1835:	6a 00                	push   $0x0
750c1837:	68 06 24 0c 75       	push   $0x750c2406
750c183c:	53                   	push   %ebx
750c183d:	e8 fe 03 00 00       	call   750c1c40 <_RegQueryValueExW@24>
750c1842:	5a                   	pop    %edx
750c1843:	85 c0                	test   %eax,%eax
750c1845:	59                   	pop    %ecx
750c1846:	75 5c                	jne    750c18a4 <_SamCheckUserPassword@8+0x184>
750c1848:	83 ec 0c             	sub    $0xc,%esp
750c184b:	8b 85 e0 fd ff ff    	mov    0xfffffde0(%ebp),%eax
750c1851:	50                   	push   %eax
750c1852:	e8 b9 03 00 00       	call   750c1c10 <_RegCloseKey@4>
750c1857:	56                   	push   %esi
750c1858:	e8 63 03 00 00       	call   750c1bc0 <_wcslen>
750c185d:	89 3c 24             	mov    %edi,(%esp)
750c1860:	89 c3                	mov    %eax,%ebx
750c1862:	e8 59 03 00 00       	call   750c1bc0 <_wcslen>
750c1867:	83 c4 10             	add    $0x10,%esp
750c186a:	39 c3                	cmp    %eax,%ebx
750c186c:	0f 84 a0 00 00 00    	je     750c1912 <_SamCheckUserPassword@8+0x1f2>
750c1872:	56                   	push   %esi
750c1873:	68 0b 02 00 00       	push   $0x20b
750c1878:	68 10 20 0c 75       	push   $0x750c2010
750c187d:	68 19 20 0c 75       	push   $0x750c2019
750c1882:	e8 89 f7 ff ff       	call   750c1010 <_DebugPrint>
750c1887:	c7 04 24 96 24 0c 75 	movl   $0x750c2496,(%esp)
750c188e:	e8 7d f7 ff ff       	call   750c1010 <_DebugPrint>
750c1893:	c7 04 24 2b 05 00 00 	movl   $0x52b,(%esp)
750c189a:	e8 51 03 00 00       	call   750c1bf0 <_SetLastError@4>
750c189f:	e9 d9 fe ff ff       	jmp    750c177d <_SamCheckUserPassword@8+0x5d>
750c18a4:	53                   	push   %ebx
750c18a5:	68 00 02 00 00       	push   $0x200
750c18aa:	68 10 20 0c 75       	push   $0x750c2010
750c18af:	68 19 20 0c 75       	push   $0x750c2019
750c18b4:	e8 57 f7 ff ff       	call   750c1010 <_DebugPrint>
750c18b9:	e8 22 03 00 00       	call   750c1be0 <_GetLastError@0>
750c18be:	5a                   	pop    %edx
750c18bf:	59                   	pop    %ecx
750c18c0:	50                   	push   %eax
750c18c1:	68 a8 24 0c 75       	push   $0x750c24a8
750c18c6:	e8 45 f7 ff ff       	call   750c1010 <_DebugPrint>
750c18cb:	58                   	pop    %eax
750c18cc:	8b 85 e0 fd ff ff    	mov    0xfffffde0(%ebp),%eax
750c18d2:	50                   	push   %eax
750c18d3:	e8 38 03 00 00       	call   750c1c10 <_RegCloseKey@4>
750c18d8:	e9 a0 fe ff ff       	jmp    750c177d <_SamCheckUserPassword@8+0x5d>
750c18dd:	56                   	push   %esi
750c18de:	68 e9 01 00 00       	push   $0x1e9
750c18e3:	68 10 20 0c 75       	push   $0x750c2010
750c18e8:	68 19 20 0c 75       	push   $0x750c2019
750c18ed:	e8 1e f7 ff ff       	call   750c1010 <_DebugPrint>
750c18f2:	c7 04 24 d2 24 0c 75 	movl   $0x750c24d2,(%esp)
750c18f9:	e8 12 f7 ff ff       	call   750c1010 <_DebugPrint>
750c18fe:	c7 04 24 25 05 00 00 	movl   $0x525,(%esp)
750c1905:	e8 e6 02 00 00       	call   750c1bf0 <_SetLastError@4>
750c190a:	83 c4 0c             	add    $0xc,%esp
750c190d:	e9 de fe ff ff       	jmp    750c17f0 <_SamCheckUserPassword@8+0xd0>
750c1912:	50                   	push   %eax
750c1913:	50                   	push   %eax
750c1914:	57                   	push   %edi
750c1915:	56                   	push   %esi
750c1916:	e8 95 02 00 00       	call   750c1bb0 <_wcscmp>
750c191b:	83 c4 10             	add    $0x10,%esp
750c191e:	ba 01 00 00 00       	mov    $0x1,%edx
750c1923:	85 c0                	test   %eax,%eax
750c1925:	0f 84 54 fe ff ff    	je     750c177f <_SamCheckUserPassword@8+0x5f>
750c192b:	e9 42 ff ff ff       	jmp    750c1872 <_SamCheckUserPassword@8+0x152>

750c1930 <_SamGetUserSid@8>:
750c1930:	55                   	push   %ebp
750c1931:	89 e5                	mov    %esp,%ebp
750c1933:	57                   	push   %edi
750c1934:	56                   	push   %esi
750c1935:	53                   	push   %ebx
750c1936:	83 ec 0c             	sub    $0xc,%esp
750c1939:	8b 5d 0c             	mov    0xc(%ebp),%ebx
750c193c:	85 db                	test   %ebx,%ebx
750c193e:	74 06                	je     750c1946 <_SamGetUserSid@8+0x16>
750c1940:	c7 03 00 00 00 00    	movl   $0x0,(%ebx)
750c1946:	83 ec 0c             	sub    $0xc,%esp
750c1949:	8d 45 f0             	lea    0xfffffff0(%ebp),%eax
750c194c:	50                   	push   %eax
750c194d:	68 19 00 02 00       	push   $0x20019
750c1952:	6a 00                	push   $0x0
750c1954:	68 1c 23 0c 75       	push   $0x750c231c
750c1959:	68 02 00 00 80       	push   $0x80000002
750c195e:	e8 bd 02 00 00       	call   750c1c20 <_RegOpenKeyExW@20>
750c1963:	83 c4 0c             	add    $0xc,%esp
750c1966:	85 c0                	test   %eax,%eax
750c1968:	74 36                	je     750c19a0 <_SamGetUserSid@8+0x70>
750c196a:	53                   	push   %ebx
750c196b:	68 2b 02 00 00       	push   $0x22b
750c1970:	68 10 20 0c 75       	push   $0x750c2010
750c1975:	68 19 20 0c 75       	push   $0x750c2019
750c197a:	e8 91 f6 ff ff       	call   750c1010 <_DebugPrint>
750c197f:	e8 5c 02 00 00       	call   750c1be0 <_GetLastError@0>
750c1984:	5a                   	pop    %edx
750c1985:	59                   	pop    %ecx
750c1986:	50                   	push   %eax
750c1987:	68 48 24 0c 75       	push   $0x750c2448
750c198c:	e8 7f f6 ff ff       	call   750c1010 <_DebugPrint>
750c1991:	83 c4 10             	add    $0x10,%esp
750c1994:	31 c0                	xor    %eax,%eax
750c1996:	8d 65 f4             	lea    0xfffffff4(%ebp),%esp
750c1999:	5b                   	pop    %ebx
750c199a:	5e                   	pop    %esi
750c199b:	5f                   	pop    %edi
750c199c:	5d                   	pop    %ebp
750c199d:	c2 08 00             	ret    $0x8
750c19a0:	83 ec 0c             	sub    $0xc,%esp
750c19a3:	8d 45 ec             	lea    0xffffffec(%ebp),%eax
750c19a6:	8b 7d ec             	mov    0xffffffec(%ebp),%edi
750c19a9:	50                   	push   %eax
750c19aa:	8b 45 08             	mov    0x8(%ebp),%eax
750c19ad:	68 19 00 02 00       	push   $0x20019
750c19b2:	6a 00                	push   $0x0
750c19b4:	50                   	push   %eax
750c19b5:	57                   	push   %edi
750c19b6:	e8 65 02 00 00       	call   750c1c20 <_RegOpenKeyExW@20>
750c19bb:	83 c4 0c             	add    $0xc,%esp
750c19be:	85 c0                	test   %eax,%eax
750c19c0:	74 46                	je     750c1a08 <_SamGetUserSid@8+0xd8>
750c19c2:	e8 19 02 00 00       	call   750c1be0 <_GetLastError@0>
750c19c7:	83 f8 02             	cmp    $0x2,%eax
750c19ca:	0f 84 26 01 00 00    	je     750c1af6 <_SamGetUserSid@8+0x1c6>
750c19d0:	53                   	push   %ebx
750c19d1:	68 3d 02 00 00       	push   $0x23d
750c19d6:	68 10 20 0c 75       	push   $0x750c2010
750c19db:	68 19 20 0c 75       	push   $0x750c2019
750c19e0:	e8 2b f6 ff ff       	call   750c1010 <_DebugPrint>
750c19e5:	e8 f6 01 00 00       	call   750c1be0 <_GetLastError@0>
750c19ea:	5a                   	pop    %edx
750c19eb:	59                   	pop    %ecx
750c19ec:	50                   	push   %eax
750c19ed:	68 70 24 0c 75       	push   $0x750c2470
750c19f2:	e8 19 f6 ff ff       	call   750c1010 <_DebugPrint>
750c19f7:	83 c4 10             	add    $0x10,%esp
750c19fa:	83 ec 0c             	sub    $0xc,%esp
750c19fd:	8b 45 f0             	mov    0xfffffff0(%ebp),%eax
750c1a00:	50                   	push   %eax
750c1a01:	e8 0a 02 00 00       	call   750c1c10 <_RegCloseKey@4>
750c1a06:	eb 8c                	jmp    750c1994 <_SamGetUserSid@8+0x64>
750c1a08:	83 ec 0c             	sub    $0xc,%esp
750c1a0b:	8b 7d f0             	mov    0xfffffff0(%ebp),%edi
750c1a0e:	57                   	push   %edi
750c1a0f:	e8 fc 01 00 00       	call   750c1c10 <_RegCloseKey@4>
750c1a14:	8d 7d e8             	lea    0xffffffe8(%ebp),%edi
750c1a17:	8b 75 ec             	mov    0xffffffec(%ebp),%esi
750c1a1a:	89 3c 24             	mov    %edi,(%esp)
750c1a1d:	c7 45 e8 00 00 00 00 	movl   $0x0,0xffffffe8(%ebp)
750c1a24:	6a 00                	push   $0x0
750c1a26:	6a 00                	push   $0x0
750c1a28:	6a 00                	push   $0x0
750c1a2a:	68 e2 22 0c 75       	push   $0x750c22e2
750c1a2f:	56                   	push   %esi
750c1a30:	e8 0b 02 00 00       	call   750c1c40 <_RegQueryValueExW@24>
750c1a35:	5a                   	pop    %edx
750c1a36:	85 c0                	test   %eax,%eax
750c1a38:	59                   	pop    %ecx
750c1a39:	0f 85 87 00 00 00    	jne    750c1ac6 <_SamGetUserSid@8+0x196>
 struct _PEB * pPeb;

#if defined(__GNUC__)

 __asm__ __volatile__
750c1a3f:	64 a1 30 00 00 00    	mov    %fs:0x30,%eax
750c1a45:	8b 55 e8             	mov    0xffffffe8(%ebp),%edx
750c1a48:	51                   	push   %ecx
750c1a49:	52                   	push   %edx
750c1a4a:	6a 00                	push   $0x0
750c1a4c:	8b 40 18             	mov    0x18(%eax),%eax
750c1a4f:	50                   	push   %eax
750c1a50:	e8 3b 01 00 00       	call   750c1b90 <_RtlAllocateHeap@12>
750c1a55:	89 c6                	mov    %eax,%esi
		       NULL,
		       REG_OPTION_NON_VOLATILE,
		       KEY_ALL_ACCESS,
		       NULL,
		       &hDomainsKey,
		       &dwDisposition))
    {
      DPRINT1 ("Failed to create 'Domains' key! (Error %lu)\n", GetLastError());
      RegCloseKey (hSamKey);
      return FALSE;
    }

  RegCloseKey (hSamKey);

  /* Create the 'Domains\\Account' key */
  if (RegCreateKeyExW (hDomainsKey,
		       L"Account",
		       0,
		       NULL,
		       REG_OPTION_NON_VOLATILE,
		       KEY_ALL_ACCESS,
		       NULL,
		       &hAccountKey,
		       &dwDisposition))
    {
      DPRINT1 ("Failed to create 'Domains\\Account' key! (Error %lu)\n", GetLastError());
      RegCloseKey (hDomainsKey);
      return FALSE;
    }


  /* Create the 'Account\Aliases' key */
  if (RegCreateKeyExW (hAccountKey,
		       L"Aliases",
		       0,
		       NULL,
		       REG_OPTION_NON_VOLATILE,
		       KEY_ALL_ACCESS,
		       NULL,
		       &hAliasesKey,
		       &dwDisposition))
    {
      DPRINT1 ("Failed to create 'Account\\Aliases' key! (Error %lu)\n", GetLastError());
      RegCloseKey (hAccountKey);
      RegCloseKey (hDomainsKey);
      return FALSE;
    }

  RegCloseKey (hAliasesKey);


  /* Create the 'Account\Groups' key */
  if (RegCreateKeyExW (hAccountKey,
		       L"Groups",
		       0,
		       NULL,
		       REG_OPTION_NON_VOLATILE,
		       KEY_ALL_ACCESS,
		       NULL,
		       &hGroupsKey,
		       &dwDisposition))
    {
      DPRINT1 ("Failed to create 'Account\\Groups' key! (Error %lu)\n", GetLastError());
      RegCloseKey (hAccountKey);
      RegCloseKey (hDomainsKey);
      return FALSE;
    }

  RegCloseKey (hGroupsKey);


  /* Create the 'Account\Users' key */
  if (RegCreateKeyExW (hAccountKey,
		       L"Users",
		       0,
		       NULL,
		       REG_OPTION_NON_VOLATILE,
		       KEY_ALL_ACCESS,
		       NULL,
		       &hUsersKey,
		       &dwDisposition))
    {
      DPRINT1 ("Failed to create 'Account\\Users' key! (Error %lu)\n", GetLastError());
      RegCloseKey (hAccountKey);
      RegCloseKey (hDomainsKey);
      return FALSE;
    }

  RegCloseKey (hUsersKey);

  RegCloseKey (hAccountKey);


  /* Create the 'Domains\\Builtin' */
  if (RegCreateKeyExW (hDomainsKey,
		       L"Builtin",
		       0,
		       NULL,
		       REG_OPTION_NON_VOLATILE,
		       KEY_ALL_ACCESS,
		       NULL,
		       &hBuiltinKey,
		       &dwDisposition))
    {
      DPRINT1 ("Failed to create Builtin key! (Error %lu)\n", GetLastError());
      RegCloseKey (hDomainsKey);
      return FALSE;
    }


  /* Create the 'Builtin\Aliases' key */
  if (RegCreateKeyExW (hBuiltinKey,
		       L"Aliases",
		       0,
		       NULL,
		       REG_OPTION_NON_VOLATILE,
		       KEY_ALL_ACCESS,
		       NULL,
		       &hAliasesKey,
		       &dwDisposition))
    {
      DPRINT1 ("Failed to create 'Builtin\\Aliases' key! (Error %lu)\n", GetLastError());
      RegCloseKey (hBuiltinKey);
      RegCloseKey (hDomainsKey);
      return FALSE;
    }

  /* Create builtin aliases */
  if (!CreateBuiltinAliases (hAliasesKey))
    {
      DPRINT1 ("Failed to create builtin aliases!\n");
      RegCloseKey (hAliasesKey);
      RegCloseKey (hBuiltinKey);
      RegCloseKey (hDomainsKey);
      return FALSE;
    }

  RegCloseKey (hAliasesKey);


  /* Create the 'Builtin\Groups' key */
  if (RegCreateKeyExW (hBuiltinKey,
		       L"Groups",
		       0,
		       NULL,
		       REG_OPTION_NON_VOLATILE,
		       KEY_ALL_ACCESS,
		       NULL,
		       &hGroupsKey,
		       &dwDisposition))
    {
      DPRINT1 ("Failed to create 'Builtin\\Groups' key! (Error %lu)\n", GetLastError());
      RegCloseKey (hBuiltinKey);
      RegCloseKey (hDomainsKey);
      return FALSE;
    }

  /* Create builtin groups */
  if (!CreateBuiltinGroups (hGroupsKey))
    {
      DPRINT1 ("Failed to create builtin groups!\n");
      RegCloseKey (hGroupsKey);
      RegCloseKey (hBuiltinKey);
      RegCloseKey (hDomainsKey);
      return FALSE;
    }

  RegCloseKey (hGroupsKey);


  /* Create the 'Builtin\Users' key */
  if (RegCreateKeyExW (hBuiltinKey,
		       L"Users",
		       0,
		       NULL,
		       REG_OPTION_NON_VOLATILE,
		       KEY_ALL_ACCESS,
		       NULL,
		       &hUsersKey,
		       &dwDisposition))
    {
      DPRINT1 ("Failed to create 'Builtin\\Users' key! (Error %lu)\n", GetLastError());
      RegCloseKey (hBuiltinKey);
      RegCloseKey (hDomainsKey);
      return FALSE;
    }

  /* Create builtin users */
  if (!CreateBuiltinUsers (hUsersKey))
    {
      DPRINT1 ("Failed to create builtin users!\n");
      RegCloseKey (hUsersKey);
      RegCloseKey (hBuiltinKey);
      RegCloseKey (hDomainsKey);
      return FALSE;
    }

  RegCloseKey (hUsersKey);

  RegCloseKey (hBuiltinKey);

  RegCloseKey (hDomainsKey);

  DPRINT ("SamInitializeSAM() done\n");

  return TRUE;
}


BOOL STDCALL
SamGetDomainSid (PSID *Sid)
{
  DPRINT ("SamGetDomainSid() called\n");

  return FALSE;
}


BOOL STDCALL
SamSetDomainSid (PSID Sid)
{
  HKEY hAccountKey;

  DPRINT ("SamSetDomainSid() called\n");

  if (RegOpenKeyExW (HKEY_LOCAL_MACHINE,
		     L"SAM\\SAM\\Domains\\Account",
		     0,
		     KEY_ALL_ACCESS,
		     &hAccountKey))
    {
      DPRINT1 ("Failed to open the Account key! (Error %lu)\n", GetLastError());
      return FALSE;
    }

  if (RegSetValueExW (hAccountKey,
		      L"Sid",
		      0,
		      REG_BINARY,
		      (LPBYTE)Sid,
		      RtlLengthSid (Sid)))
    {
      DPRINT1 ("Failed to set Domain-SID value! (Error %lu)\n", GetLastError());
      RegCloseKey (hAccountKey);
      return FALSE;
    }

  RegCloseKey (hAccountKey);

  DPRINT ("SamSetDomainSid() called\n");

  return TRUE;
}


/*
 * ERROR_USER_EXISTS
 */
BOOL STDCALL
SamCreateUser (PWSTR UserName,
	       PWSTR UserPassword,
	       PSID UserSid)
{
  DWORD dwDisposition;
  HKEY hUsersKey;
  HKEY hUserKey;

  DPRINT ("SamCreateUser() called\n");

  /* FIXME: Check whether the SID is a real user sid */

  /* Open the Users key */
  if (RegOpenKeyExW (HKEY_LOCAL_MACHINE,
		     L"SAM\\SAM\\Domains\\Account\\Users",
		     0,
		     KEY_ALL_ACCESS,
		     &hUsersKey))
    {
      DPRINT1 ("Failed to open Account key! (Error %lu)\n", GetLastError());
      return FALSE;
    }

  /* Create user name key */
  if (RegCreateKeyExW (hUsersKey,
		       UserName,
		       0,
		       NULL,
		       REG_OPTION_NON_VOLATILE,
		       KEY_ALL_ACCESS,
		       NULL,
		       &hUserKey,
		       &dwDisposition))
    {
      DPRINT1 ("Failed to create/open the user key! (Error %lu)\n", GetLastError());
      RegCloseKey (hUsersKey);
      return FALSE;
    }

  RegCloseKey (hUsersKey);

  if (dwDisposition == REG_OPENED_EXISTING_KEY)
    {
      DPRINT1 ("User already exists!\n");
      RegCloseKey (hUserKey);
      SetLastError (ERROR_USER_EXISTS);
      return FALSE;
    }


  /* Set 'Name' value */
  if (RegSetValueExW (hUserKey,
		      L"Name",
		      0,
		      REG_SZ,
		      (LPBYTE)UserName,
		      (wcslen (UserName) + 1) * sizeof (WCHAR)))
    {
      DPRINT1 ("Failed to set the user name value! (Error %lu)\n", GetLastError());
      RegCloseKey (hUserKey);
      return FALSE;
    }

  /* Set 'Password' value */
  if (RegSetValueExW (hUserKey,
		      L"Password",
		      0,
		      REG_SZ,
		      (LPBYTE)UserPassword,
		      (wcslen (UserPassword) + 1) * sizeof (WCHAR)))
    {
      DPRINT1 ("Failed to set the user name value! (Error %lu)\n", GetLastError());
      RegCloseKey (hUserKey);
      return FALSE;
    }

  /* Set 'Sid' value */
  if (RegSetValueExW (hUserKey,
		      L"Sid",
		      0,
		      REG_BINARY,
		      (LPBYTE)UserSid,
		      RtlLengthSid (UserSid)))
    {
      DPRINT1 ("Failed to set the user SID value! (Error %lu)\n", GetLastError());
      RegCloseKey (hUserKey);
      return FALSE;
    }

  RegCloseKey (hUserKey);

  DPRINT ("SamCreateUser() done\n");

  return TRUE;
}


/*
 * ERROR_WRONG_PASSWORD
 * ERROR_NO_SUCH_USER
 */
BOOL STDCALL
SamCheckUserPassword (PWSTR UserName,
		      PWSTR UserPassword)
{
  WCHAR szPassword[256];
  DWORD dwLength;
  HKEY hUsersKey;
  HKEY hUserKey;

  DPRINT ("SamCheckUserPassword() called\n");

  /* Open the Users key */
  if (RegOpenKeyExW (HKEY_LOCAL_MACHINE,
		     L"SAM\\SAM\\Domains\\Account\\Users",
		     0,
		     KEY_READ,
		     &hUsersKey))
    {
      DPRINT1 ("Failed to open Users key! (Error %lu)\n", GetLastError());
      return FALSE;
    }

  /* Open the user key */
  if (RegOpenKeyExW (hUsersKey,
		     UserName,
		     0,
		     KEY_READ,
		     &hUserKey))
    {
      if (GetLastError () == ERROR_FILE_NOT_FOUND)
	{
	  DPRINT1 ("Invalid user name!\n");
	  SetLastError (ERROR_NO_SUCH_USER);
	}
      else
	{
	  DPRINT1 ("Failed to open user key! (Error %lu)\n", GetLastError());
	}

      RegCloseKey (hUsersKey);
      return FALSE;
    }

  RegCloseKey (hUsersKey);

  /* Get the password */
  dwLength = 256 * sizeof(WCHAR);
  if (RegQueryValueExW (hUserKey,
			L"Password",
			NULL,
			NULL,
			(LPBYTE)szPassword,
			&dwLength))
    {
      DPRINT1 ("Failed to read the password! (Error %lu)\n", GetLastError());
      RegCloseKey (hUserKey);
      return FALSE;
    }

  RegCloseKey (hUserKey);

  /* Compare passwords */
  if ((wcslen (szPassword) != wcslen (UserPassword)) ||
      (wcscmp (szPassword, UserPassword) != 0))
    {
      DPRINT1 ("Wrong password!\n");
      SetLastError (ERROR_WRONG_PASSWORD);
      return FALSE;
    }

  DPRINT ("SamCheckUserPassword() done\n");

  return TRUE;
}


BOOL STDCALL
SamGetUserSid (PWSTR UserName,
	       PSID *Sid)
{
  PSID lpSid;
  DWORD dwLength;
  HKEY hUsersKey;
  HKEY hUserKey;

  DPRINT ("SamGetUserSid() called\n");

  if (Sid != NULL)
    *Sid = NULL;

  /* Open the Users key */
  if (RegOpenKeyExW (HKEY_LOCAL_MACHINE,
		     L"SAM\\SAM\\Domains\\Account\\Users",
		     0,
		     KEY_READ,
		     &hUsersKey))
    {
      DPRINT1 ("Failed to open Users key! (Error %lu)\n", GetLastError());
      return FALSE;
    }

  /* Open the user key */
  if (RegOpenKeyExW (hUserKey,
		     UserName,
		     0,
		     KEY_READ,
		     &hUserKey))
    {
      if (GetLastError () == ERROR_FILE_NOT_FOUND)
	{
	  DPRINT1 ("Invalid user name!\n");
	  SetLastError (ERROR_NO_SUCH_USER);
	}
      else
	{
	  DPRINT1 ("Failed to open user key! (Error %lu)\n", GetLastError());
	}

      RegCloseKey (hUsersKey);
      return FALSE;
    }

  RegCloseKey (hUsersKey);

  /* Get SID size */
  dwLength = 0;
  if (RegQueryValueExW (hUserKey,
			L"Sid",
			NULL,
			NULL,
			NULL,
			&dwLength))
    {
      DPRINT1 ("Failed to read the SID size! (Error %lu)\n", GetLastError());
      RegCloseKey (hUserKey);
      return FALSE;
    }

  /* Allocate sid buffer */
  DPRINT ("Required SID buffer size: %lu\n", dwLength);
  lpSid = (PSID)RtlAllocateHeap (RtlGetProcessHeap (),
				 0,
				 dwLength);
  if (lpSid == NULL)
750c1a57:	58                   	pop    %eax
750c1a58:	85 f6                	test   %esi,%esi
750c1a5a:	0f 84 e3 00 00 00    	je     750c1b43 <_SamGetUserSid@8+0x213>
    {
      DPRINT1 ("Failed to allocate SID buffer!\n");
      RegCloseKey (hUserKey);
      return FALSE;
    }

  /* Read sid */
  if (RegQueryValueExW (hUserKey,
750c1a60:	8b 4d ec             	mov    0xffffffec(%ebp),%ecx
750c1a63:	50                   	push   %eax
750c1a64:	50                   	push   %eax
750c1a65:	57                   	push   %edi
750c1a66:	56                   	push   %esi
750c1a67:	6a 00                	push   $0x0
750c1a69:	6a 00                	push   $0x0
750c1a6b:	68 e2 22 0c 75       	push   $0x750c22e2
750c1a70:	51                   	push   %ecx
750c1a71:	e8 ca 01 00 00       	call   750c1c40 <_RegQueryValueExW@24>
750c1a76:	5f                   	pop    %edi
750c1a77:	85 c0                	test   %eax,%eax
750c1a79:	5a                   	pop    %edx
750c1a7a:	0f 84 ab 00 00 00    	je     750c1b2b <_SamGetUserSid@8+0x1fb>
			L"Sid",
			NULL,
			NULL,
			(LPBYTE)lpSid,
			&dwLength))
    {
      DPRINT1 ("Failed to read the SID! (Error %lu)\n", GetLastError());
750c1a80:	53                   	push   %ebx
750c1a81:	68 68 02 00 00       	push   $0x268
750c1a86:	68 10 20 0c 75       	push   $0x750c2010
750c1a8b:	68 19 20 0c 75       	push   $0x750c2019
750c1a90:	e8 7b f5 ff ff       	call   750c1010 <_DebugPrint>
750c1a95:	e8 46 01 00 00       	call   750c1be0 <_GetLastError@0>
750c1a9a:	5a                   	pop    %edx
750c1a9b:	59                   	pop    %ecx
750c1a9c:	50                   	push   %eax
750c1a9d:	68 e8 24 0c 75       	push   $0x750c24e8
750c1aa2:	e8 69 f5 ff ff       	call   750c1010 <_DebugPrint>
750c1aa7:	83 c4 0c             	add    $0xc,%esp
 struct _PEB * pPeb;

#if defined(__GNUC__)

 __asm__ __volatile__
750c1aaa:	64 a1 30 00 00 00    	mov    %fs:0x30,%eax
750c1ab0:	56                   	push   %esi
750c1ab1:	6a 00                	push   $0x0
750c1ab3:	8b 40 18             	mov    0x18(%eax),%eax
750c1ab6:	50                   	push   %eax
750c1ab7:	e8 e4 00 00 00       	call   750c1ba0 <_RtlFreeHeap@12>
      RtlFreeHeap (RtlGetProcessHeap (),
		   0,
		   lpSid);
      RegCloseKey (hUserKey);
750c1abc:	50                   	push   %eax
750c1abd:	50                   	push   %eax
750c1abe:	8b 45 ec             	mov    0xffffffec(%ebp),%eax
750c1ac1:	e9 3a ff ff ff       	jmp    750c1a00 <_SamGetUserSid@8+0xd0>
750c1ac6:	57                   	push   %edi
750c1ac7:	68 4f 02 00 00       	push   $0x24f
750c1acc:	68 10 20 0c 75       	push   $0x750c2010
750c1ad1:	68 19 20 0c 75       	push   $0x750c2019
750c1ad6:	e8 35 f5 ff ff       	call   750c1010 <_DebugPrint>
750c1adb:	e8 00 01 00 00       	call   750c1be0 <_GetLastError@0>
750c1ae0:	5b                   	pop    %ebx
750c1ae1:	5e                   	pop    %esi
750c1ae2:	50                   	push   %eax
750c1ae3:	68 10 25 0c 75       	push   $0x750c2510
750c1ae8:	e8 23 f5 ff ff       	call   750c1010 <_DebugPrint>
750c1aed:	58                   	pop    %eax
750c1aee:	8b 45 ec             	mov    0xffffffec(%ebp),%eax
750c1af1:	e9 0a ff ff ff       	jmp    750c1a00 <_SamGetUserSid@8+0xd0>
750c1af6:	56                   	push   %esi
750c1af7:	68 38 02 00 00       	push   $0x238
750c1afc:	68 10 20 0c 75       	push   $0x750c2010
750c1b01:	68 19 20 0c 75       	push   $0x750c2019
750c1b06:	e8 05 f5 ff ff       	call   750c1010 <_DebugPrint>
750c1b0b:	c7 04 24 d2 24 0c 75 	movl   $0x750c24d2,(%esp)
750c1b12:	e8 f9 f4 ff ff       	call   750c1010 <_DebugPrint>
750c1b17:	c7 04 24 25 05 00 00 	movl   $0x525,(%esp)
750c1b1e:	e8 cd 00 00 00       	call   750c1bf0 <_SetLastError@4>
750c1b23:	83 c4 0c             	add    $0xc,%esp
750c1b26:	e9 cf fe ff ff       	jmp    750c19fa <_SamGetUserSid@8+0xca>
      return FALSE;
    }

  RegCloseKey (hUserKey);
750c1b2b:	83 ec 0c             	sub    $0xc,%esp
750c1b2e:	8b 7d ec             	mov    0xffffffec(%ebp),%edi
750c1b31:	57                   	push   %edi
750c1b32:	e8 d9 00 00 00       	call   750c1c10 <_RegCloseKey@4>

  *Sid = lpSid;

  DPRINT ("SamGetUserSid() done\n");

  return TRUE;
750c1b37:	b8 01 00 00 00       	mov    $0x1,%eax
750c1b3c:	89 33                	mov    %esi,(%ebx)
750c1b3e:	e9 53 fe ff ff       	jmp    750c1996 <_SamGetUserSid@8+0x66>
750c1b43:	50                   	push   %eax
750c1b44:	68 5b 02 00 00       	push   $0x25b
750c1b49:	68 10 20 0c 75       	push   $0x750c2010
750c1b4e:	68 19 20 0c 75       	push   $0x750c2019
750c1b53:	e8 b8 f4 ff ff       	call   750c1010 <_DebugPrint>
750c1b58:	c7 04 24 3c 25 0c 75 	movl   $0x750c253c,(%esp)
750c1b5f:	eb 87                	jmp    750c1ae8 <_SamGetUserSid@8+0x1b8>
750c1b61:	90                   	nop    
750c1b62:	90                   	nop    
750c1b63:	90                   	nop    
750c1b64:	90                   	nop    
750c1b65:	90                   	nop    
750c1b66:	90                   	nop    
750c1b67:	90                   	nop    
750c1b68:	90                   	nop    
750c1b69:	90                   	nop    
750c1b6a:	90                   	nop    
750c1b6b:	90                   	nop    
750c1b6c:	90                   	nop    
750c1b6d:	90                   	nop    
750c1b6e:	90                   	nop    
750c1b6f:	90                   	nop    

750c1b70 <_vsprintf>:
750c1b70:	ff 25 e0 40 0c 75    	jmp    *0x750c40e0
750c1b76:	90                   	nop    
750c1b77:	90                   	nop    
	...

750c1b80 <_RtlLengthSid@4>:
750c1b80:	ff 25 dc 40 0c 75    	jmp    *0x750c40dc
750c1b86:	90                   	nop    
750c1b87:	90                   	nop    
	...

750c1b90 <_RtlAllocateHeap@12>:
750c1b90:	ff 25 d4 40 0c 75    	jmp    *0x750c40d4
750c1b96:	90                   	nop    
750c1b97:	90                   	nop    
	...

750c1ba0 <_RtlFreeHeap@12>:
750c1ba0:	ff 25 d8 40 0c 75    	jmp    *0x750c40d8
750c1ba6:	90                   	nop    
750c1ba7:	90                   	nop    
	...

750c1bb0 <_wcscmp>:
750c1bb0:	ff 25 e4 40 0c 75    	jmp    *0x750c40e4
750c1bb6:	90                   	nop    
750c1bb7:	90                   	nop    
	...

750c1bc0 <_wcslen>:
750c1bc0:	ff 25 e8 40 0c 75    	jmp    *0x750c40e8
750c1bc6:	90                   	nop    
750c1bc7:	90                   	nop    
	...

750c1bd0 <_OutputDebugStringA@4>:
750c1bd0:	ff 25 c4 40 0c 75    	jmp    *0x750c40c4
750c1bd6:	90                   	nop    
750c1bd7:	90                   	nop    
	...

750c1be0 <_GetLastError@0>:
750c1be0:	ff 25 c0 40 0c 75    	jmp    *0x750c40c0
750c1be6:	90                   	nop    
750c1be7:	90                   	nop    
	...

750c1bf0 <_SetLastError@4>:
750c1bf0:	ff 25 c8 40 0c 75    	jmp    *0x750c40c8
750c1bf6:	90                   	nop    
750c1bf7:	90                   	nop    
	...

750c1c00 <_RegCreateKeyExW@36>:
750c1c00:	ff 25 a8 40 0c 75    	jmp    *0x750c40a8
750c1c06:	90                   	nop    
750c1c07:	90                   	nop    
	...

750c1c10 <_RegCloseKey@4>:
750c1c10:	ff 25 a4 40 0c 75    	jmp    *0x750c40a4
750c1c16:	90                   	nop    
750c1c17:	90                   	nop    
	...

750c1c20 <_RegOpenKeyExW@20>:
750c1c20:	ff 25 ac 40 0c 75    	jmp    *0x750c40ac
750c1c26:	90                   	nop    
750c1c27:	90                   	nop    
	...

750c1c30 <_RegSetValueExW@24>:
750c1c30:	ff 25 b4 40 0c 75    	jmp    *0x750c40b4
750c1c36:	90                   	nop    
750c1c37:	90                   	nop    
	...

750c1c40 <_RegQueryValueExW@24>:
750c1c40:	ff 25 b0 40 0c 75    	jmp    *0x750c40b0
750c1c46:	90                   	nop    
750c1c47:	90                   	nop    
	...

750c1c50 <__CTOR_LIST__>:
750c1c50:	ff                   	(bad)  
750c1c51:	ff                   	(bad)  
750c1c52:	ff                   	(bad)  
750c1c53:	ff 00                	incl   (%eax)
750c1c55:	00 00                	add    %al,(%eax)
	...

750c1c58 <__DTOR_LIST__>:
750c1c58:	ff                   	(bad)  
750c1c59:	ff                   	(bad)  
750c1c5a:	ff                   	(bad)  
750c1c5b:	ff 00                	incl   (%eax)
750c1c5d:	00 00                	add    %al,(%eax)
	...
