Function at 0x402fe6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.0042b920
sub esp, 4
call fcn.0042b640
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.0042b6d0
sub esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [esp + 8], 1
mov dword [esp + 4], str.DeviceLanmanRedirector
mov dword [esp], eax
call fcn.0042a580
sub esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4030e2
call fcn.0042b830
call fcn.0042b830
call fcn.0042b850
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.DeviceLanmanRedirector
mov dword [esp], edx
call fcn.0042a960
sub esp, 0xc
call fcn.0042b850
mov dword [esp + 4], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0042b5a0
sub esp, 8
call fcn.0042b830
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.0042b680
sub esp, 4
call fcn.0042b8f0
mov dword [ebp - 0xc], eax
jmp 0x40332f
nop
mov dword [esp], 0x208
call fcn.0042b1b0
sub esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], 0x208
call sub.KERNEL32.dll_GetLogicalDriveStringsW
sub esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x10]
jl 0x4031bf
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.0042b240
sub esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4031b5
call fcn.0042b830
call fcn.0042b830
call fcn.0042b850
mov edx, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0042b140
sub esp, 8
call fcn.0042b830
call fcn.0042b830
call fcn.0042b850
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0042a4b0
sub esp, 8
call fcn.0042b850
call fcn.0042b850
mov dword [esp + 4], eax
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.0042b5a0
sub esp, 8
jmp 0x4031b6
nop
add dword [ebp - 0x10], 1
jmp 0x403102
nop
call fcn.0042b830
call fcn.0042b830
call fcn.0042b850
mov dword [esp + 4], eax
mov dword [esp], 0x208
call fcn.0042ad80
sub esp, 8
call fcn.0042b850
mov dword [esp + 4], eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.0042b5a0
sub esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], 0x4e4b60
mov dword [esp], eax
call fcn.0042a4d0
sub esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jl 0x403312
call fcn.0042b830
call fcn.0042b830
call fcn.0042b850
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x4e4b60
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0042af40
sub esp, 0x10
call fcn.0042b850
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0042b5a0
sub esp, 8
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x58]
mov edx, eax
mov dword [esp + 8], 0x208
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_QueryDosDeviceW
sub esp, 0xc
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp + 8]
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0042a580
sub esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x403308
call fcn.0042b830
call fcn.0042b830
call fcn.0042b850
mov ebx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0042ace0
sub esp, 0x10
call fcn.0042b850
mov dword [esp + 4], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0042b5a0
sub esp, 8
jmp 0x403313
nop
add dword [ebp - 0x14], 1
jmp 0x40321f
nop
call fcn.0042b830
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.0042b680
sub esp, 4
call fcn.0042b8f0
mov dword [ebp - 0xc], eax
nop
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.0042b7b0
sub esp, 4
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.0042b7b0
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0042b7b0
sub esp, 4
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.0042b7b0
sub esp, 4
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.0042b7b0
sub esp, 4
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
leave
ret 8