Function at 0x405c45
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.0041c520
sub esp, 4
call fcn.0041c5a0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.0041c600
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.0041a300
sub esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x405d41
call fcn.0041c650
call fcn.0041c650
call fcn.0041c6a0
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.DeviceLanmanRedirector
mov dword [esp], edx
call fcn.0041ab20
sub esp, 0xc
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0041c880
sub esp, 8
call fcn.0041c650
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
call fcn.0041c7a0
mov dword [ebp - 0xc], eax
jmp 0x405f8e
nop
mov dword [esp], 0x208
call fcn.0041c0e0
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 0x405e1e
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.0041c2e0
sub esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x405e14
call fcn.0041c650
call fcn.0041c650
call fcn.0041c6a0
mov edx, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0041a8b0
sub esp, 8
call fcn.0041c650
call fcn.0041c650
call fcn.0041c6a0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0041ab40
sub esp, 8
call fcn.0041c6a0
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.0041c880
sub esp, 8
jmp 0x405e15
nop
add dword [ebp - 0x10], 1
jmp 0x405d61
nop
call fcn.0041c650
call fcn.0041c650
call fcn.0041c6a0
mov dword [esp + 4], eax
mov dword [esp], 0x208
call fcn.0041ab60
sub esp, 8
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.0041c880
sub esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], 0x4593d0
mov dword [esp], eax
call fcn.0041a3e0
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 0x405f71
call fcn.0041c650
call fcn.0041c650
call fcn.0041c6a0
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x4593d0
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0041a470
sub esp, 0x10
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0041c880
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.0041a300
sub esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x405f67
call fcn.0041c650
call fcn.0041c650
call fcn.0041c6a0
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.0041aef0
sub esp, 0x10
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0041c880
sub esp, 8
jmp 0x405f72
nop
add dword [ebp - 0x14], 1
jmp 0x405e7e
nop
call fcn.0041c650
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
call fcn.0041c7a0
mov dword [ebp - 0xc], eax
nop
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
leave
ret 8