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

Disassembly:
push 0xffffffffffffffff
push 0x100b14ee
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x100f6f50]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100f6f50]
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 esi, esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0xa
mov dword [esp + 0x4c], esi
mov ebx, 1
mov dword [esp + 0x1ac], ebx
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x50]
push edx
push 2
push esi
push eax
mov dword [esp + 0x60], esi
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0x1ac], 2
or ebp, 0xffffffff
cmp edi, ebp
jne 0x1007113b
call fcn.10023830
xor eax, eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
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 + 0x24], esi
call fcn.10079d40
test al, al
je 0x100711b5
lea eax, [esp + 0x68]
lea ecx, [esp + 0x84]
mov dword [esp + 0x24], eax
call fcn.10065720
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
call fcn.10079ba0
mov word [esp + 0x78], ax
lea eax, [esp + 0x58]
push eax
push esi
push str.Manufacturer
push edi
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
jne 0x100711f8
mov byte [esp + 0x1ac], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
push esi
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x1ac], ebp
jmp 0x100714ea
mov ebp, 0x100
lea ecx, [ecx]
push 0x1010418c
lea ecx, [esp + 0x18]
call fcn.10001490
mov byte [esp + 0x1ac], 4
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, ebp
or eax, ecx
jge 0x10071236
push ebp
lea ecx, [esp + 0x18]
call fcn.100018b0
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], ebp
mov edi, edx
jl 0x100713c1
mov dword [edx - 0xc], ebp
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + 0x200], cx
mov eax, dword [esp + 0x14]
mov edx, dword [0x10103bec]
mov esi, dword [eax - 0xc]
mov eax, dword [edx + 0x20]
mov ecx, 0x10103bec
call eax
mov ecx, dword [esp + 0x24]
push 0
push 0
push esi
push edi
push ecx
lea edx, [esp + 0x6c]
push edx
call dword [0x10103c14]
test eax, eax
jne 0x100712d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xd
jne 0x10071136
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 0x100712b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
lea eax, [esp + 0x58]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x100713d6
xor esi, esi
jmp 0x10071200
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.10090011
add esp, 8
push eax
lea ecx, [esp + 0x18]
call fcn.10001930
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
xor edi, edi
lea ecx, [esp + 0x28]
push ecx
push edi
push edx
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call dword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
test eax, eax
jne 0x10071332
mov byte [esp + 0x1ac], 2
lea ecx, [esp + 0x14]
call fcn.10001df0
jmp 0x100712bb
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupGetFieldCount]
cmp eax, edi
je 0x10071136
cmp eax, ebx
jb 0x100713ae
push ebx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.1006d1d0
add esp, 0xc
mov byte [esp + 0x1ac], 6
mov esi, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x3c]
call fcn.1006cdc0
cmp eax, edi
jne 0x10071383
push ebx
push esi
lea ecx, [esp + 0x40]
call fcn.10070160
jmp 0x10071386
mov byte [eax + 4], bl
mov byte [esp + 0x1ac], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100713ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
jmp 0x1007131b
push esi
push 0x359
push str.C:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.10001ed0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
cmp edx, edi
je 0x100713fb
cmp edx, ecx
je 0x100713fb
mov eax, dword [edx + 0xc]
cmp eax, ecx
je 0x100713fd
lea ecx, [ecx]
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x100713f0
jmp 0x100713fd
xor edx, edx
mov esi, edx
cmp edx, edi
je 0x100714c2
mov bl, 8
jmp 0x10071414
mov ecx, dword [esp + 0x4c]
mov edi, esi
test esi, esi
je 0x10071468
mov edx, dword [esi + 0x10]
cmp edx, ecx
je 0x10071443
test edx, edx
je 0x1007143d
mov eax, dword [edx + 0xc]
cmp eax, ecx
je 0x1007143f
lea esp, [esp]
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x10071430
mov esi, edx
jmp 0x10071468
xor edx, edx
mov esi, edx
jmp 0x10071468
mov eax, dword [esi + 0x14]
cmp eax, ecx
je 0x10071464
lea ebx, [ebx]
cmp esi, dword [eax + 0x10]
jne 0x10071460
mov esi, eax
mov eax, dword [eax + 0x14]
cmp eax, ecx
jne 0x10071450
jmp 0x10071464
cmp eax, ecx
jne 0x10071466
xor eax, eax
mov esi, eax
mov edx, dword [esp + 0x1c]
push edi
push edx
lea eax, [esp + 0x20]
push eax
call fcn.1006e540
add esp, 0xc
mov byte [esp + 0x1ac], bl
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0x10]
push eax
call edx
mov byte [esp + 0x1ac], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100714ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x10071410
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push ecx
mov esi, eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
or edi, 0xffffffff
push esi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x1ac], edi
lea ecx, [esp + 0x38]
call fcn.10070a20
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.1008db44
add esp, 0x19c
ret