Function at 0x403381
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1078
cmp dword [0x512584], 4
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
jl 0x4033b3
lea eax, [ebx + 0xe38]
push eax
push dword [ebx + 0x10]
push str.CDevList::PutDevProperties__u_...___s
push 4
call fcn.00449e4d
add esp, 0x10
push esi
push edi
mov edi, dword [ebx + 0x10]
push 0
lea eax, [ebx + 0xe38]
push 0xc8
push eax
push edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
push 0
push dword [ebx + 0x10]
lea eax, [ebx + 0x14]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Parent]
push 0
push dword [ebx + 0x10]
lea esi, [ebx + 0x18]
push esi
call dword [sym.imp.CFGMGR32.dll_CM_Get_Child]
push 0
push dword [esi]
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Sibling]
push 0
push edi
lea esi, [ebx + 0x39e8]
push esi
lea eax, [ebx + 0x39e4]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_DevNode_Status]
mov dword [ebp - 8], eax
test eax, eax
jne 0x403424
mov dword [ebx + 8], 1
mov eax, dword [ebx + 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x4034bd
mov ecx, dword [ebp - 0xc]
push eax
call fcn.00401ae0
mov dword [ebx + 0x28], eax
test eax, eax
je 0x40347a
push str.ROOTVOLMGR_
add eax, 0xe38
push eax
call fcn.00427780
test eax, eax
je 0x40347a
mov eax, dword [ebx + 0x3a78]
test eax, eax
je 0x40347a
push dword [eax + 0x83c]
mov ecx, dword [ebp - 0xc]
push dword [eax + 0x840]
call fcn.00401d4e
mov dword [ebx + 0x28], eax
cmp dword [ebx + 0x28], 0
jne 0x4034bd
push str.PCIVEN
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x4034bd
push str.USBROOT
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x4034bd
push str.STORAGEVOLUME
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x4034bd
push dword [ebx + 0x14]
mov ecx, dword [ebp - 0xc]
push 0x44f0b8
call fcn.00404468
mov dword [ebx + 0x28], eax
cmp dword [ebp - 8], 0xd
jne 0x4034c9
mov dword [esi], 0x2d
mov esi, dword [sym.imp.CFGMGR32.dll_CM_Get_DevNode_Registry_PropertyW]
push 0
lea ecx, [ebp + 8]
push ecx
lea eax, [ebx + 0x1c38]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xa
push dword [ebp - 4]
mov dword [ebp + 8], 0x59
call esi
push 0
lea ecx, [ebp + 8]
push ecx
lea eax, [ebx + 0x1c92]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xf
push dword [ebp - 4]
mov edi, 0xff
mov dword [ebp + 8], edi
call esi
push 0
lea ecx, [ebp + 8]
push ecx
lea eax, [ebx + 0x1738]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xd
push dword [ebp - 4]
mov dword [ebp + 8], edi
call esi
push 0x44f3c0
lea eax, [ebx + 0x1738]
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
lea eax, [ebx + 0x1738]
push eax
call fcn.00426af0
push 0
lea ecx, [ebp + 8]
push ecx
lea eax, [ebx + 0x1838]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 4]
mov dword [ebp + 8], edi
call esi
push 0x44f3c0
lea eax, [ebx + 0x1838]
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
push 0
lea ecx, [ebp + 8]
push ecx
lea eax, [ebx + 0x20fc]
push eax
lea eax, [ebp - 0x14]
push eax
push 2
push dword [ebp - 4]
mov dword [ebp + 8], 0x5fe
call esi
lea ecx, [ebx + 0x20fc]
push ecx
push dword [ebp + 8]
push eax
push str.CM_DRP_HARDWAREID_cret_u_uLen_u_s_s
push 3
call fcn.00449e4d
add esp, 0x14
push 0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0x7f
lea eax, [ebx + 0x1e12]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push 8
push dword [ebp - 4]
call esi
push 0
lea ecx, [ebp + 8]
push ecx
lea eax, [ebx + 0x1f70]
push eax
lea eax, [ebp - 0x14]
push eax
push 5
push dword [ebp - 4]
mov dword [ebp + 8], 0x7f
call esi
push 0
lea eax, [ebp + 8]
push eax
lea eax, [ebx + 0x1ff4]
push eax
lea eax, [ebp - 0x14]
push eax
push 5
push dword [ebx + 0x14]
mov dword [ebp + 8], 0x7f
call esi
push 0
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], edi
lea edi, [ebx + 0x1b38]
push edi
lea eax, [ebp - 0x14]
push eax
push 0xe
push dword [ebp - 4]
call esi
cmp dword [0x505610], 5
jne 0x403641
xor eax, eax
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push edi
call fcn.0040fa16
push 0
lea ecx, [ebp + 8]
push ecx
lea eax, [ebx + 0x2afc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x24
push dword [ebp - 4]
mov dword [ebp + 8], 0x7fe
call esi
push 0
lea ecx, [ebp + 8]
push ecx
lea eax, [ebx + 0x1d92]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x17
push dword [ebp - 4]
mov dword [ebp + 8], 0x7f
call esi
push 0
lea ecx, [ebp + 8]
push ecx
lea eax, [ebx + 0x1e92]
push eax
lea eax, [ebp - 0x14]
push eax
push 9
push dword [ebp - 4]
mov dword [ebp + 8], 0x53
call esi
test eax, eax
jne 0x4036d5
cmp word [ebx + 0x1e92], ax
je 0x4036d5
lea eax, [ebp - 0x38]
push eax
lea eax, [ebx + 0x1e92]
push eax
call fcn.0042d0b6
test eax, eax
je 0x4036d5
lea eax, [ebp - 0x38]
push eax
call fcn.00447457
push eax
lea eax, [ebx + 0x1eec]
push eax
call fcn.0042c82a
mov ecx, dword [0x50806c]
call fcn.00441d00
and dword [ebp - 0x868], 0
push 0x1fc
lea eax, [ebp - 0x864]
push 0
push eax
call fcn.00444396
and dword [ebp - 0x260], 0
push 0x1fc
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.00444396
mov ecx, dword [0x50806c]
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x868]
push eax
lea eax, [ebx + 0x1c92]
push eax
call fcn.00441bf3
mov dword [ebp - 8], eax
test eax, eax
jne 0x40376c
mov ecx, dword [0x50806c]
call fcn.00441e46
mov ecx, dword [0x50806c]
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x868]
push eax
lea eax, [ebx + 0x1c92]
push eax
call fcn.00441bf3
mov dword [ebp - 8], eax
and dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jle 0x4037c0
lea eax, [ebx + 0xa30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x868]
call fcn.0042962e
mov ecx, dword [ebp - 0x10]
mov dword [ecx - 0x200], eax
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x868]
call fcn.00412043
push eax
call fcn.0042962e
mov ecx, dword [ebp - 0x10]
inc dword [ebp - 4]
add dword [ebp - 0x10], 4
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x40377f
lea ecx, [ebx + 0x1c92]
lea eax, [ebx + 0x10a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [0x50806c]
call fcn.00441d08
push str.USBSTOR
lea eax, [ebx + 0x1f70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40380b
push str.UASPStor
lea eax, [ebx + 0x1f70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x403815
mov dword [ebx + 0x3a34], 1
cmp dword [0x512584], 4
jl 0x40386c
lea eax, [ebx + 0x1d92]
push eax
lea eax, [ebx + 0x2afc]
push eax
push edi
lea eax, [ebx + 0x1f70]
push eax
lea eax, [ebx + 0x1e92]
push eax
lea eax, [ebx + 0x1e12]
push eax
lea eax, [ebx + 0x1838]
push eax
lea eax, [ebx + 0x1738]
push eax
lea eax, [ebx + 0x1c38]
push eax
push dword [ebp - 0x18]
push dword [ebx + 4]
push str.Dev__02i__id_s_dkn_s_fn_s_desc_s_cls_s_clsguid_s_svc_s_loc_s_locp_s_enum_s
push 4
call fcn.00449e4d
add esp, 0x34
xor eax, eax
lea edi, [ebx + 0x1938]
mov word [edi], ax
lea eax, [ebx + 0x1638]
cmp word [eax], 0
jne 0x40388f
lea eax, [ebx + 0x1738]
cmp word [eax], 0
je 0x403897
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebx + 0x1838]
cmp word [eax], 0
je 0x4038e3
cmp word [edi], 0
push eax
push edi
je 0x4038dd
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x4038e3
push 0x44fda8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebx + 0x1838]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x44fda4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x4038e3
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebx + 0x39e8], 0
jne 0x4039a4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push str.FloppyDisk
lea eax, [ebx + 0x1e12]
push eax
call edi
test eax, eax
je 0x40392c
push 0x44fd80
lea eax, [ebx + 0x1e12]
push eax
call edi
test eax, eax
je 0x40392c
push 0x44fd70
lea eax, [ebx + 0x1e12]
push eax
call edi
test eax, eax
jne 0x403972
and dword [ebp - 0x60], 0
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebx + 0x1e92]
push eax
call fcn.0044893f
xor edi, edi
mov dword [ebp - 8], eax
test eax, eax
jle 0x403972
lea eax, [ebx + 0xc30]
push eax
push 2
push dword [ebp + edi*4 - 0x60]
push dword [ebx + 0x10]
call fcn.00448874
test eax, eax
jne 0x403972
inc edi
cmp edi, dword [ebp - 8]
jl 0x403953
push 0x44fd68
lea eax, [ebx + 0x1e12]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4039a4
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebx + 0x39ec]
push eax
push 0
push 0x1f
push dword [ebx + 0x10]
mov dword [ebp + 8], 0x38
call esi
push dword [ebx + 0x14]
mov ecx, dword [ebp - 0xc]
call fcn.00401ae0
mov dword [ebx + 0x28], eax
test eax, eax
je 0x4039eb
push str.ROOTVOLMGR_
add eax, 0xe38
push eax
call fcn.00427780
test eax, eax
je 0x4039eb
mov eax, dword [ebx + 0x3a78]
test eax, eax
je 0x4039eb
push dword [eax + 0x83c]
mov ecx, dword [ebp - 0xc]
push dword [eax + 0x840]
call fcn.00401d4e
mov dword [ebx + 0x28], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x668], ax
lea eax, [ebp - 0x666]
push eax
call fcn.00444396
push 0x14
pop ecx
push 0x3b0
lea eax, [ebp - 0xc18]
push 0
mov esi, str.SYSTEMCurrentControlSetControlClass_
lea edi, [ebp - 0xc68]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00444396
add esp, 0x18
lea eax, [ebx + 0x1c38]
push eax
lea eax, [ebp - 0xc68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x104
lea eax, [ebp - 0x668]
push eax
push str.InfPath
lea eax, [ebp - 0xc68]
push eax
push 0x80000002
call fcn.0042706e
test eax, eax
je 0x403aa3
push 0x5c
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebx + 0x3600]
je 0x403a8f
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x403aa3
push 0x505738
push str._sinf_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0xf
lea esi, [ebx + 0x32fc]
push esi
lea eax, [ebx + 0x20fc]
push eax
call fcn.00426d62
push 7
lea eax, [ebx + 0x33bc]
push eax
lea eax, [ebx + 0x2afc]
push eax
call fcn.00426d62
push 0x1c
lea eax, [ebx + 0x33dc]
push 0
push eax
call fcn.00444396
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrW]
add esp, 0xc
push str.VID_0000PID_
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x403b85
cmp dword [esi], eax
je 0x403b85
mov dword [ebp - 8], esi
push 0x44fce8
push dword [esi]
call edi
push 0x44fcdc
push dword [esi]
mov dword [ebp - 0x10], eax
call edi
push str.REV_
push dword [esi]
mov dword [ebp - 4], eax
call edi
cmp dword [ebp - 0x10], 0
mov esi, eax
je 0x403b36
cmp dword [ebp - 4], 0
je 0x403b36
test esi, esi
jne 0x403b46
mov esi, dword [ebp - 8]
add esi, 4
cmp dword [esi], 0
mov dword [ebp - 8], esi
jne 0x403b03
jmp 0x403b85
mov eax, dword [ebp - 0x10]
add eax, 0xa
push 8
push eax
lea eax, [ebx + 0x33dc]
push eax
call fcn.00444400
mov eax, dword [ebp - 4]
add eax, 0xa
push 8
push eax
lea eax, [ebx + 0x33e4]
push eax
call fcn.00444400
push 8
add esi, 0xa
lea eax, [ebx + 0x33ec]
push esi
push eax
call fcn.00444400
add esp, 0x24
and dword [ebp - 0x28], 0
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebx + 0x1e92]
push eax
call fcn.0042d1ca
push 0x10
lea eax, [ebp - 0x28]
push 0x44e560
push eax
call fcn.00444353
add esp, 0xc
mov esi, 0x44f40c
test eax, eax
je 0x403bd8
push 0x10
lea eax, [ebp - 0x28]
push 0x44e490
push eax
call fcn.00444353
add esp, 0xc
test eax, eax
jne 0x403c6a
push str.Device_Parameters
push dword [ebp - 0x18]
lea eax, [ebp - 0x460]
push str.SystemCurrentControlSetEnum
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x40
lea eax, [ebx + 0xfc8]
push eax
push str.PortName
lea eax, [ebp - 0x460]
push eax
mov edi, 0x80000002
push edi
call fcn.0042706e
test eax, eax
je 0x403c6f
push 0x208
lea eax, [ebp - 0x1078]
push eax
lea eax, [ebx + 0xfc8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x403c6f
lea ecx, [ebp - 0x1078]
lea eax, [ebx + 0x13b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebx + 0x13b0]
push eax
lea eax, [ebx + 0xfc8]
push eax
push str.PortName_s_KernelName_s
push 3
call fcn.00449e4d
add esp, 0x10
jmp 0x403c6f
mov edi, 0x80000002
cmp word [ebx + 0xc30], 0
jne 0x403ced
push str.Device_Parameters
push dword [ebp - 0x18]
lea eax, [ebp - 0xc68]
push str.SystemCurrentControlSetEnum
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x104
lea eax, [ebx + 0xc30]
push eax
push str.SymbolicName
lea eax, [ebp - 0xc68]
push eax
push edi
call fcn.0042706e
test eax, eax
jne 0x403cdb
push 0x104
lea eax, [ebx + 0xc30]
push eax
push str.SymbolicLinkName
lea eax, [ebp - 0xc68]
push eax
push edi
call fcn.0042706e
test eax, eax
je 0x403ce5
push 0x5c
pop eax
mov word [ebx + 0xc32], ax
cmp word [ebx + 0xc30], 0
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
jne 0x403dcb
push str.USBVID_
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x403dcb
mov esi, 0x44fc54
lea edi, [ebp - 0x460]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x3f6
lea eax, [ebp - 0x456]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.00444396
add esp, 0xc
push dword [ebp - 0x18]
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x23
push 0x5c
lea eax, [ebp - 0x460]
push eax
call fcn.0042833e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x44fc50
lea eax, [ebp - 0x460]
push eax
call edi
mov esi, str.a5dcbf10_6530_11d2_901f_00c04fb951ed
push esi
lea eax, [ebp - 0x460]
push eax
call edi
lea eax, [ebp - 0x460]
push eax
push esi
push str.SystemCurrentControlSetControlDeviceClasses
lea eax, [ebp - 0xc68]
push str._s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x104
lea eax, [ebx + 0xc30]
push eax
push str.SymbolicLink
lea eax, [ebp - 0xc68]
push eax
push 0x80000002
call fcn.0042706e
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x403dcb
push 0x5c
pop eax
mov word [ebx + 0xc32], ax
push 0x44fd68
lea eax, [ebx + 0x1e12]
push eax
call edi
lea esi, [ebx + 0xc30]
cmp word [esi], 0
jne 0x403e0b
mov eax, dword [ebx + 0x39e8]
test eax, eax
je 0x403df9
cmp eax, 0x15
je 0x403df9
cmp eax, 0x2f
jne 0x403e0b
mov eax, dword [ebx + 0x830]
test eax, eax
je 0x403e0b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jbe 0x403e9f
push 0x104
lea eax, [ebx + 0x10a8]
push eax
lea eax, [ebx + 0xc38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x403e9f
push esi
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.global
lea eax, [ebp - 0x268]
push eax
call edi
test eax, eax
je 0x403e5d
xor ecx, ecx
mov word [eax], cx
push 0x104
lea eax, [ebx + 0x10a8]
push eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x403e91
push esi
push str.devpath_invalid:__s
push 3
call fcn.00449e4d
add esp, 0xc
xor eax, eax
mov word [esi], ax
jmp 0x403e9f
lea eax, [ebp - 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.USER32.dll_CharLowerW]
push str.6AC27878_A6FA_4155_BA85_F98F491D4F33
push esi
call edi
test eax, eax
jne 0x403f7e
push str.eec5ad98_8080_425f_922a_dabf3de3f69a
lea eax, [ebx + 0x1e92]
push eax
call edi
test eax, eax
jne 0x403f7e
push str.53f56307_b6bf_11d0_94f2_00a0c91efb8b
push esi
call edi
test eax, eax
jne 0x403f5d
push str.7fccc86c_228a_40ad_8a58_f590af7bfdce
push esi
call edi
test eax, eax
jne 0x403f5d
push str.4d36e967_e325_11ce_bfc1_08002be10318
lea eax, [ebx + 0x1e92]
push eax
call edi
test eax, eax
jne 0x403f5d
push str.53f56308_b6bf_11d0_94f2_00a0c91efb8b
push esi
call edi
test eax, eax
jne 0x403f42
push str.4d36e965_e325_11ce_bfc1_08002be10318
lea eax, [ebx + 0x1e92]
push eax
call edi
test eax, eax
jne 0x403f42
push str.53f56311_b6bf_11d0_94f2_00a0c91efb8b
push esi
call edi
test eax, eax
jne 0x403f36
push str.4d36e980_e325_11ce_bfc1_08002be10318
lea eax, [ebx + 0x1e92]
push eax
call edi
test eax, eax
je 0x403f85
mov dword [ebx + 0x3a28], 3
jmp 0x403f4c
mov dword [ebx + 0x3a28], 2
xor esi, esi
inc esi
mov dword [ebx + 0x3a30], esi
mov dword [ebx + 0x3a2c], esi
jmp 0x403f88
xor esi, esi
lea eax, [ebx + 0xc30]
inc esi
push eax
mov dword [ebx + 0x3a28], esi
call fcn.00448ec4
test eax, eax
jne 0x403f88
mov dword [ebx + 0x3a30], esi
jmp 0x403f88
and dword [ebx + 0x3a28], 0
xor esi, esi
inc esi
cmp dword [ebx + 0x3a2c], 0
jne 0x403fb9
push str.53f5630d_b6bf_11d0_94f2_00a0c91efb8b
lea eax, [ebx + 0xc30]
push eax
call edi
test eax, eax
jne 0x403fb9
push str.7f108a28_9833_4b3b_b780_2c6b5fa5c062
lea eax, [ebx + 0xc30]
push eax
call edi
test eax, eax
je 0x40405d
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x3a2c], esi
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x404005
push dword [ebx + 0x10]
call fcn.00405f6d
mov dword [ebx + 0x3a78], eax
test eax, eax
jne 0x404005
push dword [ebx + 0x10]
lea eax, [ebx + 0xc30]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
call fcn.00406af8
cmp eax, 0xffffffff
je 0x404005
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + eax*4 + 4]
mov dword [ebx + 0x3a78], eax
cmp word [ebx + 0x10a8], 0
je 0x40405d
push str.disk
lea eax, [ebx + 0x10a8]
push eax
call edi
test eax, eax
je 0x404029
mov dword [ebx + 0x3a28], esi
jmp 0x40405d
push 0x44f7bc
lea esi, [ebx + 0x10a8]
push esi
call edi
test eax, eax
je 0x404047
mov dword [ebx + 0x3a28], 2
jmp 0x40405d
push 0x44f7ac
push esi
call edi
test eax, eax
je 0x40405d
mov dword [ebx + 0x3a28], 3
cmp dword [ebx + 0x3a28], 0
je 0x404203
cmp word [ebx + 0xc30], 0
je 0x4042c3
cmp dword [ebx + 0x3a30], 0
je 0x40413c
mov eax, dword [ebp - 0xc]
xor esi, esi
cmp dword [eax + 4], esi
jne 0x4040ec
push str.USBSTORDiskVen_
lea eax, [ebx + 0xc30]
push eax
call fcn.00427780
test eax, eax
je 0x4040ec
push 0x1fc
lea eax, [ebp - 0x25c]
push esi
push eax
mov dword [ebp - 0x260], esi
call fcn.00444396
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
mov eax, dword [0x508068]
push dword [ebx + 0x10]
mov ecx, dword [eax + 8]
call fcn.00406113
test eax, eax
je 0x4040ec
mov eax, dword [ebp - 0x260]
mov eax, dword [eax + 0x840]
mov dword [ebx + 0x3a24], eax
lea esi, [ebx + 0x3a24]
cmp dword [esi], 0xffffffff
jne 0x404105
lea eax, [ebx + 0xc30]
push eax
call fcn.0042c423
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x40413c
push eax
mov eax, dword [ebx + 0x3a28]
push dword [eax*4 + 0x49d018]
lea esi, [ebx + 0x1088]
push str._S_i
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
push str.drive_s
push 1
call fcn.00449e4d
add esp, 0x1c
cmp dword [ebx + 0x3a2c], 0
je 0x404203
mov eax, dword [ebx + 0x3a78]
test eax, eax
je 0x404203
lea ecx, [eax + 0x844]
push ecx
lea esi, [ebx + 0x3a24]
push esi
add eax, 0x428
push eax
call fcn.0042c229
test eax, eax
jne 0x4041a1
mov eax, dword [ebx + 0x3a78]
lea ecx, [eax + 0x844]
push ecx
add eax, 0x840
push eax
lea eax, [ebx + 0xc30]
push eax
call fcn.00426b54
mov eax, dword [ebx + 0x3a78]
mov eax, dword [eax + 0x840]
mov dword [esi], eax
cmp dword [ebx + 0x3a28], 1
jne 0x404203
mov edx, dword [ebp - 0xc]
and dword [ebp - 0x10], 0
cmp dword [edx + 0x400c], 0
jle 0x404203
lea eax, [edx + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
test eax, eax
je 0x4041f1
cmp dword [eax], 1
jne 0x4041f1
cmp dword [eax + 0x3a28], 0
je 0x4041f1
cmp dword [eax + 0x3a2c], 0
jne 0x4041f1
mov ecx, dword [eax + 0x3a24]
test ecx, ecx
jl 0x4041f1
cmp ecx, dword [esi]
jne 0x4041f1
mov dword [ebx + 0x28], eax
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], 4
cmp eax, dword [edx + 0x400c]
jl 0x4041c0
cmp word [ebx + 0xc30], 0
je 0x4042c3
cmp dword [ebx + 0x3a84], 0
jne 0x4042bb
mov esi, 0x44fd68
push esi
lea eax, [ebx + 0x1e12]
push eax
call edi
test eax, eax
je 0x404243
push str.pci
lea eax, [ebx + 0xc30]
push eax
call edi
test eax, eax
jne 0x40429f
push str.root
lea eax, [ebx + 0xc30]
push eax
call edi
test eax, eax
je 0x404267
push 0x44f750
lea eax, [ebx + 0x1f70]
push eax
call edi
test eax, eax
jne 0x40429f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x44fd80
lea eax, [ebx + 0x1e12]
push eax
call edi
test eax, eax
je 0x40429f
push 0x44fd70
lea eax, [ebx + 0x1e12]
push eax
call edi
test eax, eax
je 0x40429f
push esi
lea eax, [ebx + 0x1d92]
push eax
call edi
test eax, eax
jne 0x4042bb
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4020]
neg eax
sbb eax, eax
push 0x2710
and eax, 0x64
push eax
push ebx
call fcn.00403318
cmp word [ebx + 0xc30], 0
pop edi
pop esi
jne 0x4042dc
add ebx, 0x3a88
cmp dword [ebx], 0
jne 0x4042dc
push dword [ebp - 0x18]
call fcn.00449346
mov dword [ebx], eax
pop ebx
leave
ret 4