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

Disassembly:
push ebp
lea ebp, [esp - 0x1ff9c]
mov eax, 0x2001c
call fcn.004238d0
mov eax, dword [0x43b028]
xor eax, ebp
mov dword [ebp + 0x1ff98], eax
push esi
push edi
mov esi, ecx
push 0x7c
mov dword [ebp - 0x80], esi
call dword [sym.imp.MSVCR90.dll_malloc]
push 0x7c
xor edi, edi
push edi
push eax
mov dword [ebx], eax
call sub.MSVCR90.dll_memset
mov eax, dword [ebx]
or dword [eax], 0xffffffff
mov eax, dword [ebx]
or dword [eax + 4], 0xffffffff
mov eax, dword [ebx]
or dword [eax + 0x40], 0xffffffff
mov eax, dword [ebx]
mov dword [eax + 0x4c], 0xfffffffe
lea eax, [ebp - 0x7c]
push eax
push 0x1c
mov eax, esi
call fcn.00406b89
add esp, 0x18
test eax, eax
je 0x419d28
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
lea eax, [ebp - 0x7c]
push eax
push 0x15
mov eax, esi
call fcn.00406b89
pop ecx
pop ecx
test eax, eax
je 0x419d43
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 4], ecx
push edi
push 0x10
lea eax, [ebp - 0x78]
push eax
push edi
push 0x13
lea eax, [esi + 0xc]
push eax
push dword [esi + 8]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x419d6d
mov edi, dword [ebx]
add edi, 8
lea esi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
push 0xf
mov eax, esi
call fcn.00406b89
pop ecx
pop ecx
test eax, eax
je 0x419d88
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x18], ecx
lea eax, [ebp - 0x7c]
push eax
push 0x1b
mov eax, esi
call fcn.00406b89
pop ecx
pop ecx
test eax, eax
je 0x419da3
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x1c], ecx
lea eax, [ebp - 0x68]
push eax
push 7
call fcn.00406ba5
mov edi, dword [sym.imp.MSVCR90.dll__wcsdup]
pop ecx
pop ecx
test eax, eax
je 0x419dc6
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x68]
push eax
push 8
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x419de3
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x24], eax
lea eax, [ebp - 0x68]
push eax
push 2
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x419e1a
lea eax, [ebp - 0x68]
cmp word [eax], 0
jne 0x419e0a
cmp word [eax + 2], 0
je 0x419e0e
push 0x3b
pop ecx
mov word [eax], cx
inc eax
inc eax
jmp 0x419df7
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x28], eax
lea eax, [ebp - 0x7c]
push eax
push 0xa
mov eax, esi
call fcn.00406b89
pop ecx
pop ecx
test eax, eax
je 0x419e35
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x2c], ecx
lea eax, [ebp - 0x68]
push eax
push 0
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x419e52
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x30], eax
lea eax, [ebp - 0x7c]
push eax
push 0x19
mov eax, esi
call fcn.00406b89
pop ecx
pop ecx
test eax, eax
je 0x419e6d
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x34], ecx
lea eax, [ebp - 0x68]
push eax
push 9
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x419e8a
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x38], eax
lea eax, [ebp - 0x68]
push eax
push 0x16
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x419ea7
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x3c], eax
lea eax, [ebp - 0x7c]
push eax
push 0x1a
mov eax, esi
call fcn.00406b89
pop ecx
pop ecx
test eax, eax
je 0x419ec2
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x40], ecx
lea eax, [ebp - 0x68]
push eax
push 0xc
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x419edf
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x44], eax
lea eax, [ebp - 0x68]
push eax
push 1
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x419f16
lea eax, [ebp - 0x68]
cmp word [eax], 0
jne 0x419f06
cmp word [eax + 2], 0
je 0x419f0a
push 0x3b
pop ecx
mov word [eax], cx
inc eax
inc eax
jmp 0x419ef3
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x48], eax
lea eax, [ebp - 0x7c]
push eax
push 0x14
mov eax, esi
call fcn.00406b89
pop ecx
pop ecx
test eax, eax
je 0x419f31
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x4c], ecx
lea eax, [ebp - 0x68]
push eax
push 0xd
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x419f4e
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x50], eax
lea eax, [ebp - 0x68]
push eax
push 0x12
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x419f85
lea eax, [ebp - 0x68]
cmp word [eax], 0
jne 0x419f75
cmp word [eax + 2], 0
je 0x419f79
push 0x3b
pop ecx
mov word [eax], cx
inc eax
inc eax
jmp 0x419f62
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x54], eax
lea eax, [ebp - 0x68]
push eax
push 0xb
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x419fa2
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x58], eax
lea eax, [ebp - 0x68]
push eax
push 0xe
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x419fbf
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x5c], eax
lea eax, [ebp - 0x7c]
push eax
push 0x1f
mov eax, esi
call fcn.00406b89
pop ecx
pop ecx
test eax, eax
je 0x419fda
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x60], ecx
lea eax, [ebp - 0x7c]
push eax
push 0x20
mov eax, esi
call fcn.00406b89
pop ecx
pop ecx
test eax, eax
je 0x419ff5
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x64], ecx
lea eax, [ebp - 0x7c]
push eax
push 0x21
mov eax, esi
call fcn.00406b89
pop ecx
pop ecx
test eax, eax
je 0x41a010
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x68], ecx
lea eax, [ebp - 0x68]
push eax
push 0x18
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x41a02d
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x6c], eax
lea eax, [ebp - 0x68]
push eax
push 4
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x41a04a
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x70], eax
lea eax, [ebp - 0x68]
push eax
push 0x10
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x41a067
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x74], eax
lea eax, [ebp - 0x68]
push eax
push 0x11
call fcn.00406ba5
pop ecx
pop ecx
test eax, eax
je 0x41a09e
lea eax, [ebp - 0x68]
cmp word [eax], 0
jne 0x41a08e
cmp word [eax + 2], 0
je 0x41a092
push 0x3b
pop ecx
mov word [eax], cx
inc eax
inc eax
jmp 0x41a07b
lea eax, [ebp - 0x68]
push eax
call edi
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x78], eax
mov ecx, dword [ebp + 0x1ff98]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.00423038
add ebp, 0x1ff9c
leave
ret