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

Disassembly:
push 0xffffffffffffffff
push 0x40d440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov eax, dword [0x412060]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0xb4], eax
mov dword [esp + 0x3c], esi
call fcn.00402ac0
lea ecx, [esp + 0x28]
mov dword [esp + 0xc0], 0
call fcn.00402ac0
lea eax, [esp + 0x40]
push eax
push 2
lea ebp, [esi + 4]
push 0
mov ecx, ebp
mov byte [esp + 0xcc], 1
call fcn.00402860
push eax
call dword [0x412824]
mov ebx, eax
or edi, 0xffffffff
cmp ebx, edi
mov dword [esp + 0x34], ebx
jne 0x403ded
lea ecx, [esp + 0x1c]
push ecx
call entry0
add esp, 4
mov ecx, eax
mov byte [esp + 0xc0], 2
call fcn.00402860
mov edx, dword [esp + 0x40]
push eax
push edx
mov ecx, ebp
call fcn.00402860
push eax
push str.Failed_opening_INF_file__s_line__d:__s_n
call fcn.004041e0
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc0], 1
call fcn.00402870
lea ecx, [esp + 0x28]
mov byte [esp + 0xc0], 0
call fcn.00402870
lea ecx, [esp + 0x10]
mov dword [esp + 0xc0], edi
call fcn.00402870
xor eax, eax
jmp 0x40409b
push 0
push 0x40
lea ecx, [esp + 0x7c]
lea eax, [esi + 0x1c]
push ecx
push eax
mov ecx, ebp
mov dword [esp + 0x48], eax
call fcn.00402860
push eax
call dword [0x41281c]
test eax, eax
jne 0x403e47
lea edx, [esp + 0x1c]
push edx
call entry0
add esp, 4
mov ecx, eax
mov byte [esp + 0xc0], 3
call fcn.00402860
push eax
mov ecx, ebp
call fcn.00402860
push eax
push str.Failed_getting_device_class_from_INF_file__s:__s_n
call fcn.004041e0
add esp, 0xc
jmp 0x403db4
lea eax, [esp + 0x74]
push eax
lea ecx, [esi + 0x10]
call fcn.004029c0
mov eax, dword [esp + 0x38]
mov ecx, 4
mov edi, 0x40fed4
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x403ec9
lea ecx, [esp + 0x54]
push ecx
push 1
push eax
lea edx, [esp + 0x80]
push edx
call dword [0x412870]
test eax, eax
jne 0x403ec9
lea eax, [esp + 0x1c]
push eax
call entry0
add esp, 4
mov ecx, eax
mov byte [esp + 0xc0], 4
call fcn.00402860
push eax
lea ecx, [esp + 0x78]
push ecx
push str.Failed_getting_device_class_GUID_from_class_name__s:__s_n
call fcn.004041e0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc0], 1
call fcn.00402870
jmp 0x404116
lea edx, [esp + 0x44]
push edx
push 0
push str.Manufacturer
push ebx
call dword [0x412874]
test eax, eax
jne 0x403f30
lea eax, [esp + 0x1c]
push eax
call entry0
add esp, 4
mov ecx, eax
mov byte [esp + 0xc0], 5
call fcn.00402860
push eax
mov ecx, ebp
call fcn.00402860
push eax
push str.Failed_locating_Manufacturer_section_in_INF_file__s:__s_n
call fcn.004041e0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc0], 1
call fcn.00402870
push ebx
jmp 0x404110
lea ecx, [esp + 0x10]
push ecx
mov edi, 1
lea ebx, [esp + 0x48]
call fcn.00403b90
add esp, 4
test eax, eax
jne 0x403f96
lea edx, [esp + 0x1c]
push edx
call entry0
add esp, 4
mov ecx, eax
mov byte [esp + 0xc0], 6
call fcn.00402860
push eax
mov ecx, ebp
call fcn.00402860
push eax
push str.Failed_retrieving_manufacturer_field_from_INF_file__s:__s_n
call fcn.004041e0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc0], 1
call fcn.00402870
mov esi, dword [esp + 0x34]
jmp 0x404054
lea eax, [esp + 0x58]
push eax
push 0
lea ecx, [esp + 0x18]
call fcn.00402860
mov esi, dword [esp + 0x3c]
push eax
push esi
call dword [0x412874]
test eax, eax
je 0x4040c2
lea ebx, [ebx]
lea ecx, [esp + 0x28]
push ecx
mov edi, 2
lea ebx, [esp + 0x5c]
call fcn.00403b90
add esp, 4
test eax, eax
jne 0x404021
lea edx, [esp + 0x68]
push edx
call entry0
add esp, 4
mov ecx, eax
mov byte [esp + 0xc0], 8
call fcn.00402860
push eax
lea ecx, [esp + 0x14]
call fcn.00402860
push eax
push str.Failed_retrieving_hardware_ID_field_for_manufacturer__s:__s_n
call fcn.004041e0
add esp, 0xc
lea ecx, [esp + 0x68]
mov byte [esp + 0xc0], 1
call fcn.00402870
jmp 0x40403e
lea ecx, [esp + 0x28]
call fcn.00402860
mov ecx, dword [esp + 0x3c]
push eax
call dword [esp + 0xcc]
test eax, eax
je 0x40410f
lea eax, [esp + 0x58]
push eax
mov ecx, eax
push ecx
call dword [0x412828]
test eax, eax
jne 0x403fc0
lea edx, [esp + 0x44]
push edx
mov eax, edx
push eax
call dword [0x412828]
test eax, eax
jne 0x403f30
push esi
call dword [0x412864]
lea ecx, [esp + 0x28]
mov byte [esp + 0xc0], 0
call fcn.00402870
lea ecx, [esp + 0x10]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00402870
mov eax, 1
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xa8]
pop ebx
call fcn.0040568b
add esp, 0xb4
ret 4
lea ecx, [esp + 0x1c]
push ecx
call entry0
add esp, 4
mov ecx, eax
mov byte [esp + 0xc0], 7
call fcn.00402860
push eax
mov ecx, ebp
call fcn.00402860
push eax
lea ecx, [esp + 0x18]
call fcn.00402860
push eax
push str.Failed_retrieving_manufacturer__s_section_from_INF_file__s:__s_n
call fcn.004041e0
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc0], 1
call fcn.00402870
push esi
call dword [0x412864]
lea ecx, [esp + 0x28]
mov byte [esp + 0xc0], 0
call fcn.00402870
lea ecx, [esp + 0x10]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00402870
xor eax, eax
jmp 0x40409b