Function at 0x4184d0
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.0043a880
sub esp, 4
call fcn.0043a900
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.0043a960
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.004389e0
sub esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4185cc
call fcn.0043a9b0
call fcn.0043a9b0
call fcn.0043aa00
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.DeviceLanmanRedirector
mov dword [esp], edx
call fcn.00438dd0
sub esp, 0xc
call fcn.0043aa00
mov dword [esp + 4], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0043ab80
sub esp, 8
call fcn.0043a9b0
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.0043ac10
sub esp, 4
call fcn.0043ab00
mov dword [ebp - 0xc], eax
jmp 0x418819
nop
mov dword [esp], 0x208
call fcn.0043a3d0
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 0x4186a9
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.0043a6f0
sub esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41869f
call fcn.0043a9b0
call fcn.0043a9b0
call fcn.0043aa00
mov edx, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004383d0
sub esp, 8
call fcn.0043a9b0
call fcn.0043a9b0
call fcn.0043aa00
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00439410
sub esp, 8
call fcn.0043aa00
call fcn.0043aa00
mov dword [esp + 4], eax
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.0043ab80
sub esp, 8
jmp 0x4186a0
nop
add dword [ebp - 0x10], 1
jmp 0x4185ec
nop
call fcn.0043a9b0
call fcn.0043a9b0
call fcn.0043aa00
mov dword [esp + 4], eax
mov dword [esp], 0x208
call fcn.00438990
sub esp, 8
call fcn.0043aa00
mov dword [esp + 4], eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.0043ab80
sub esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], 0x8d6a30
mov dword [esp], eax
call fcn.004385a0
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 0x4187fc
call fcn.0043a9b0
call fcn.0043a9b0
call fcn.0043aa00
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x8d6a30
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00438630
sub esp, 0x10
call fcn.0043aa00
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0043ab80
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.004389e0
sub esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4187f2
call fcn.0043a9b0
call fcn.0043a9b0
call fcn.0043aa00
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.00439130
sub esp, 0x10
call fcn.0043aa00
mov dword [esp + 4], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0043ab80
sub esp, 8
jmp 0x4187fd
nop
add dword [ebp - 0x14], 1
jmp 0x418709
nop
call fcn.0043a9b0
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.0043ac10
sub esp, 4
call fcn.0043ab00
mov dword [ebp - 0xc], eax
nop
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.0043ac70
sub esp, 4
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.0043ac70
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0043ac70
sub esp, 4
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.0043ac70
sub esp, 4
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.0043ac70
sub esp, 4
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
leave
ret 8