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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c546f
mov eax, dword fs:[0]
push eax
sub esp, 0xcc8
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0xcc0], eax
push ebx
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0xcd8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [esp + 0x74]
xor ebx, ebx
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
call fcn.00448d50
push 6
push ebx
push ebx
push ebx
mov dword [esp + 0xcf0], ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
jne 0x44849a
push edi
lea ecx, [esp + 0x78]
call fcn.00448db0
lea ecx, [esp + 0x74]
call fcn.0043c450
jmp 0x448acb
lea ecx, [esp + 0x18]
xor esi, esi
call fcn.00409dd0
push 0x3ff
lea ecx, [esp + 0xd1]
push ebx
mov byte [esp + 0xce8], 1
push ecx
mov byte [esp + 0xd8], bl
call fcn.0046dea0
xor eax, eax
add esp, 0xc
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x24]
push ebx
push eax
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xbc], 0x1c
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
cmp eax, 1
jne 0x448a46
inc esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], esi
call fcn.00409dd0
lea ecx, [esp + 0x4c]
call fcn.00409dd0
lea ecx, [esp + 0x50]
call fcn.00409dd0
lea ecx, [esp + 0x54]
call fcn.00409dd0
lea ecx, [esp + 0x58]
call fcn.00409dd0
lea ecx, [esp + 0x5c]
call fcn.00409dd0
lea ecx, [esp + 0x60]
call fcn.00409dd0
lea ecx, [esp + 0x64]
call fcn.00409dd0
lea ecx, [esp + 0x68]
call fcn.00409dd0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x24]
push edx
lea edx, [esp + 0xb8]
mov byte [esp + 0xce8], 2
call fcn.00448060
add esp, 8
test al, al
je 0x4489d0
mov edi, dword [esp + 0x20]
push ebx
push 0x400
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xb4]
push ecx
push 9
lea edx, [esp + 0xc4]
push edx
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
cmp eax, ebx
mov eax, dword [esp + 0xc4]
push ebx
push eax
lea ecx, [esp + 0xac]
push ecx
setne byte [esp + 0x23]
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
test eax, eax
jne 0x4486ae
mov eax, dword [esp + 0xa4]
push ebx
push 0x400
lea edx, [esp + 0x4d4]
push edx
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDW]
lea ecx, [esp + 0x4cc]
push ecx
lea ecx, [esp + 0x28]
call fcn.00409e10
lea ecx, [esp + 0x24]
mov byte [esp + 0xce0], 3
call fcn.0040e660
push 0x5c
push eax
call fcn.0046e3d4
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x44869d
lea ecx, [esp + 0x24]
call fcn.0040e660
sub esi, eax
sar esi, 1
js 0x44869d
inc esi
push esi
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x2c]
call fcn.0040a200
mov ecx, eax
mov byte [esp + 0xce0], 4
call fcn.00448fb0
mov ecx, eax
call fcn.00449010
push eax
lea ecx, [esp + 0x68]
call fcn.00409f30
lea ecx, [esp + 0xac]
call fcn.00409f10
lea ecx, [esp + 0x24]
mov byte [esp + 0xce0], 2
call fcn.00409f10
lea ebx, [esp + 0xb0]
lea esi, [esp + 0x90]
call fcn.00447fa0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xce4], 5
call fcn.00409f30
mov ecx, esi
mov byte [esp + 0xce0], 2
call fcn.00409f10
lea eax, [esp + 0x68]
call fcn.0044bff0
mov dword [esp + 0x6c], eax
cmp eax, 4
jne 0x448703
cmp byte [esp + 0x17], 0
jne 0x448703
mov dword [esp + 0x6c], 1
lea ecx, [esp + 0x48]
call fcn.0040e660
push eax
lea ecx, [esp + 0x1c]
call fcn.0040b610
lea ecx, [esp + 0x18]
call fcn.00409d60
mov esi, eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00409c60
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004af360
add esp, 8
push esi
lea ecx, [esp + 0x1c]
call fcn.0040b1e0
push 4
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x20]
call fcn.0040a200
mov ecx, eax
mov byte [esp + 0xce0], 6
call fcn.0040e660
lea ecx, [esp + 0x28]
push ecx
mov ebx, eax
call fcn.00447de0
add esp, 4
mov bl, 8
lea ecx, [esp + 0x98]
mov byte [esp + 0xce0], bl
call fcn.00409f10
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
xor edi, edi
sar eax, 2
xor esi, esi
cmp eax, edi
jbe 0x448968
cmp esi, eax
jb 0x4487a8
call fcn.0046d2c9
mov edx, dword [esp + 0x34]
push 3
lea eax, [esp + 0x20]
lea ecx, [edx + esi*4]
push eax
call fcn.0040a3b0
push 0x4de4bc
lea ecx, [esp + 0x20]
mov byte [esp + 0xce4], 9
call fcn.0040b6d0
test eax, eax
jne 0x448824
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
sar ecx, 2
cmp esi, ecx
jb 0x4487e9
call fcn.0046d2c9
mov edx, dword [esp + 0x34]
push 4
lea eax, [esp + 0x90]
lea ecx, [edx + esi*4]
push eax
call fcn.0040a200
mov ecx, eax
mov byte [esp + 0xce0], 0xa
call fcn.0040e660
push eax
lea ecx, [esp + 0x50]
call fcn.0040b3d0
lea ecx, [esp + 0x8c]
jmp 0x44893f
push 0x4de4c4
lea ecx, [esp + 0x20]
call fcn.0040b6d0
test eax, eax
jne 0x448885
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
sar ecx, 2
cmp esi, ecx
jb 0x44884a
call fcn.0046d2c9
mov edx, dword [esp + 0x34]
push 4
lea eax, [esp + 0x98]
lea ecx, [edx + esi*4]
push eax
call fcn.0040a200
mov ecx, eax
mov byte [esp + 0xce0], 0xb
call fcn.0040e660
push eax
lea ecx, [esp + 0x54]
call fcn.0040b3d0
lea ecx, [esp + 0x94]
jmp 0x44893f
push 0x4de4cc
lea ecx, [esp + 0x20]
call fcn.0040b6d0
test eax, eax
jne 0x4488e3
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
sar ecx, 2
cmp esi, ecx
jb 0x4488ab
call fcn.0046d2c9
mov edx, dword [esp + 0x34]
push 4
lea eax, [esp + 0xa4]
lea ecx, [edx + esi*4]
push eax
call fcn.0040a200
mov ecx, eax
mov byte [esp + 0xce0], 0xc
call fcn.0040e660
push eax
lea ecx, [esp + 0x58]
call fcn.0040b3d0
lea ecx, [esp + 0xa0]
jmp 0x44893f
push 0x4de4d4
lea ecx, [esp + 0x20]
call fcn.0040b6d0
test eax, eax
jne 0x448944
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
sar ecx, 2
cmp esi, ecx
jb 0x448909
call fcn.0046d2c9
mov edx, dword [esp + 0x34]
push 3
lea eax, [esp + 0xa0]
lea ecx, [edx + esi*4]
push eax
call fcn.0040a200
mov ecx, eax
mov byte [esp + 0xce0], 0xd
call fcn.0040e660
push eax
lea ecx, [esp + 0x60]
call fcn.0040b3d0
lea ecx, [esp + 0x9c]
call fcn.00409f10
lea ecx, [esp + 0x1c]
mov byte [esp + 0xce0], bl
call fcn.00409f10
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
inc esi
sar eax, 2
cmp esi, eax
jb 0x4487a8
lea ecx, [esp + 0x48]
push ecx
lea eax, [esp + 0x78]
call fcn.00448ec0
mov esi, dword [esp + 0x34]
cmp esi, edi
je 0x4489a1
mov ebx, dword [esp + 0x38]
cmp esi, ebx
je 0x448998
mov ecx, esi
call fcn.00409f10
add esi, 4
cmp esi, ebx
jne 0x448986
mov esi, dword [esp + 0x34]
push esi
call fcn.0046d0e6
add esp, 4
mov edx, dword [esp + 0x28]
push 1
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call fcn.0040c350
lea ecx, [esp + 0x28]
call fcn.00404160
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
xor ebx, ebx
lea ecx, [esp + 0x68]
mov byte [esp + 0xce0], 1
call fcn.00409f10
lea ecx, [esp + 0x64]
call fcn.00409f10
lea ecx, [esp + 0x60]
call fcn.00409f10
lea ecx, [esp + 0x5c]
call fcn.00409f10
lea ecx, [esp + 0x58]
call fcn.00409f10
lea ecx, [esp + 0x54]
call fcn.00409f10
lea ecx, [esp + 0x50]
call fcn.00409f10
lea ecx, [esp + 0x4c]
call fcn.00409f10
lea ecx, [esp + 0x48]
call fcn.00409f10
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xb0]
push eax
push esi
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
cmp eax, 1
je 0x448525
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
push edi
lea ecx, [esp + 0x78]
call fcn.00448db0
lea ecx, [esp + 0x18]
call fcn.00409f10
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x448a9a
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x80]
push edx
push ecx
push eax
call fcn.0043d360
mov edx, dword [esp + 0x90]
push edx
call fcn.0046d0e6
add esp, 0x14
mov eax, dword [esp + 0x74]
push 1
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call fcn.0040c350
lea ecx, [esp + 0x74]
call fcn.00404160
mov eax, edi
mov ecx, dword [esp + 0xcd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xcc0]
xor ecx, esp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret