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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41cece
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x423020]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push esi
mov eax, dword [0x423020]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x48]
push eax
xor ebx, ebx
push ebx
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x54], 0x1c
mov dword [esp + 0x18], 0x100
mov dword [esp + 0x20], 0x4c3d64
mov dword [esp + 0x1c], ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x4043b5
xor eax, eax
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0040a3ae
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebp + 8]
jne 0x40452c
mov eax, 7
xor edx, edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
mov dword [esp + 0x94], eax
xor eax, eax
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], ax
lea ecx, [esp + 0x64]
push ecx
lea ebx, [esp + 0x4c]
mov ecx, edi
mov dword [esp + 0x1b4], 1
call fcn.004049e0
add esp, 4
test al, al
jne 0x404480
mov ebx, 8
mov dword [esp + 0x1b0], 2
cmp dword [esp + 0x94], ebx
jb 0x404439
mov edx, dword [esp + 0x80]
push edx
call fcn.0040ac8f
add esp, 4
xor eax, eax
mov dword [esp + 0x1b0], 0xffffffff
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
cmp dword [esp + 0x78], ebx
jb 0x4046bd
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0040ac8f
add esp, 4
jmp 0x4046bd
lea edx, [esp + 0x80]
push edx
lea ebx, [esp + 0x4c]
mov ecx, edi
call fcn.00404840
mov ebx, dword [esi]
mov eax, dword [ebx + 4]
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x6c]
call fcn.00405290
mov ecx, dword [esi + 4]
mov edx, 0x4924923
sub edx, ecx
cmp edx, 1
jb 0x4046e0
inc ecx
mov dword [esi + 4], ecx
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov esi, 8
mov dword [esp + 0x1b0], 3
cmp dword [esp + 0x94], esi
jb 0x4044ee
mov eax, dword [esp + 0x80]
push eax
call fcn.0040ac8f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1b0], 0xffffffff
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], cx
cmp dword [esp + 0x78], esi
jb 0x40452c
mov edx, dword [esp + 0x64]
push edx
call fcn.0040ac8f
add esp, 4
push 0x34
call fcn.0040b982
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esi + 0x30], 0
mov dword [esi], 0x1c
mov eax, dword [esp + 0x10]
mov dword [esi + 0x24], eax
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov word [esi + 8], ax
mov dword [esi + 4], ecx
shr eax, 0x10
mov word [esi + 0xa], ax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x30], ecx
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x64]
add esp, 4
lea ecx, [esp + 0x48]
push ecx
mov dword [esi + 0x18], eax
push edi
lea eax, [esp + 0x14]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x14], 0x100
call fcn.00404780
mov edx, dword [esp + 0x14]
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x14]
push eax
call fcn.0040b982
add esp, 0xc
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0xa0]
push edx
push eax
call fcn.0040c890
mov ebx, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
mov dword [esp + 0x38], 0x1c
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x40463e
mov ecx, dword [esp + 0x40]
push 0
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
jne 0x40463e
test dword [esp + 0x24], 0x2000
je 0x40463e
cmp dword [esp + 0x28], 0x1d
je 0x40463e
mov eax, 1
jmp 0x404640
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esi + 0x28], eax
xor eax, eax
push ebx
push edi
mov dword [esp + 0x38], 0x1c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x4046a9
mov edx, dword [esp + 0x40]
push 0
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
jne 0x4046a9
test dword [esp + 0x18], 0x400
je 0x4046a9
cmp dword [esp + 0x20], 0x16
jne 0x4046a9
mov eax, 1
jmp 0x4046ab
xor eax, eax
mov edx, dword [esp + 0x14]
mov dword [esi + 0x2c], eax
mov dword [edx + 0x30], esi
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x48]
inc eax
push ecx
push eax
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x4043b3
jmp 0x40438e
push str.list_T__too_long
call fcn.004188b3
int3