Function at 0x1005ff90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1009fef4
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x100d8dd0]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d8dd0]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x1b8]
mov eax, dword [esp + 0x1b4]
xor ebx, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1ac], 1
mov eax, dword [eax]
lea edx, [esp + 0x54]
push edx
push 2
push ebx
push eax
mov dword [esp + 0x64], ebx
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov ebp, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x34], ebp
mov byte [esp + 0x1ac], 2
or edi, 0xffffffff
cmp ebp, edi
jne 0x10060039
call fcn.10017fb0
xor eax, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0x1c
mov dword [esp + 0x6c], 2
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x38], ebx
call fcn.10068930
test al, al
je 0x100600b3
lea eax, [esp + 0x68]
lea ecx, [esp + 0x84]
mov dword [esp + 0x38], eax
call fcn.10061550
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
call fcn.10068790
mov word [esp + 0x78], ax
lea eax, [esp + 0x58]
push eax
push ebx
push str.Manufacturer
push ebp
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
jne 0x10060100
mov byte [esp + 0x1ac], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov esi, eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
push esi
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x1ac], edi
lea ecx, [esp + 0x18]
call fcn.1005ff30
jmp 0x10060572
push 0x100e16bc
lea ecx, [esp + 0x18]
call fcn.10001490
mov byte [esp + 0x1ac], 4
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
mov esi, 0x100
sub eax, esi
or eax, ecx
jge 0x1006013e
push esi
lea ecx, [esp + 0x18]
call fcn.100018b0
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], esi
mov edi, edx
jl 0x1006035c
mov dword [edx - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + 0x200], cx
mov eax, dword [esp + 0x14]
mov edx, dword [0x100e1104]
mov esi, dword [eax - 0xc]
mov eax, dword [edx + 0x18]
mov ecx, 0x100e1104
call eax
mov ecx, dword [esp + 0x38]
push ebx
push ebx
push esi
push edi
push ecx
lea edx, [esp + 0x6c]
push edx
call dword [0x100e112c]
test eax, eax
jne 0x100601ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xd
jne 0x10060034
mov byte [esp + 0x1ac], 2
lea ecx, [esp + 0x14]
call fcn.10001df0
jmp 0x100602d0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.1007ef22
add esp, 8
push eax
lea ecx, [esp + 0x18]
call fcn.10001930
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
push ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
jne 0x10060204
mov byte [esp + 0x1ac], 2
lea ecx, [esp + 0x14]
call fcn.10001df0
jmp 0x100602d0
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupGetFieldCount]
mov ebp, eax
cmp ebp, ebx
je 0x10060034
mov esi, 2
cmp ebp, esi
jb 0x1006028e
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.1005c510
add esp, 0xc
mov byte [esp + 0x1ac], 5
mov edi, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x1c]
call fcn.1005bf90
cmp eax, ebx
jne 0x1006025d
push 1
push edi
lea ecx, [esp + 0x20]
call fcn.1005f780
jmp 0x10060261
mov byte [eax + 4], 1
mov byte [esp + 0x1ac], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10060289
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, ebp
jbe 0x10060222
lea ecx, [esp + 0x44]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x10060204
mov byte [esp + 0x1ac], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100602cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x40]
lea ecx, [esp + 0x58]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
jne 0x10060100
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov esi, eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
push esi
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp]
mov edx, dword [eax]
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
test al, al
je 0x1006044f
mov bl, 9
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
mov esi, dword [eax]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x10060371
cmp eax, dword [esi]
jne 0x10060371
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x100603ac
push ebx
push 0x359
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.10001ed0
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x1006047b
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.1007c9c0
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x1ac], bl
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x100603dc
push edi
lea ecx, [esp + 0x18]
call fcn.100018b0
mov esi, dword [esp + 0x14]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.1007f2d0
add esp, 8
push edi
lea ecx, [esp + 0x18]
call fcn.10001930
push esi
lea ecx, [esp + 0x1c]
call fcn.1005bf90
test eax, eax
jne 0x1006040f
push 1
push esi
lea ecx, [esp + 0x20]
call fcn.1005f780
jmp 0x10060413
mov byte [eax + 4], 1
mov byte [esp + 0x1ac], 2
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10060437
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
test al, al
jne 0x10060325
mov ebp, dword [esp + 0x30]
xor ebx, ebx
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp edx, ebx
je 0x10060480
cmp edx, ecx
je 0x10060480
mov eax, dword [edx + 0xc]
cmp eax, ecx
je 0x10060482
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x10060470
jmp 0x10060482
call fcn.10001ce0
xor edx, edx
mov esi, edx
cmp edx, ebx
je 0x100604f9
jmp 0x10060494
mov ecx, dword [esp + 0x2c]
mov edi, esi
cmp esi, ebx
jne 0x1006049e
xor esi, esi
jmp 0x100604e8
mov edx, dword [esi + 0x10]
cmp edx, ecx
je 0x100604c3
cmp edx, ebx
je 0x100604bd
mov eax, dword [edx + 0xc]
cmp eax, ecx
je 0x100604bf
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x100604b0
mov esi, edx
jmp 0x100604e8
xor edx, edx
mov esi, edx
jmp 0x100604e8
mov eax, dword [esi + 0x14]
cmp eax, ecx
je 0x100604e4
lea ebx, [ebx]
cmp esi, dword [eax + 0x10]
jne 0x100604e0
mov esi, eax
mov eax, dword [eax + 0x14]
cmp eax, ecx
jne 0x100604d0
jmp 0x100604e4
cmp eax, ecx
jne 0x100604e6
xor eax, eax
mov esi, eax
mov eax, dword [edi]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebp
call eax
cmp esi, ebx
jne 0x10060490
mov dword [esp + 0x1ac], 0xffffffff
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp esi, ecx
je 0x10060538
mov ecx, dword [esi + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1005e8e0
mov edx, dword [esi + 0x10]
push edx
lea ecx, [esp + 0x1c]
call fcn.1005e8e0
push esi
lea ecx, [esp + 0x1c]
call fcn.1005cdb0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x10060559
mov esi, dword [eax]
push eax
call fcn.1007d7a6
add esp, 4
mov eax, esi
cmp esi, ebx
jne 0x10060544
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ecx
cmp ecx, ebx
je 0x10060572
push ecx
call fcn.1007d7a6
add esp, 4
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18c]
xor ecx, esp
call fcn.1007c94c
add esp, 0x19c
ret