Function at 0x4825ec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push 4
lea ecx, [ebp - 0x48]
call fcn.004308a8
mov dword [ebp - 8], 0
jmp 0x48260d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x482620
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xc], 1
jmp 0x482606
mov dword [ebp - 8], 0
jmp 0x482630
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x482643
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x3c], 0xffffffff
jmp 0x482629
mov dword [ebp - 8], 0
jmp 0x482653
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x48266c
push dword [ebp - 8]
lea ecx, [ebp - 0x48]
call fcn.00430996
mov dword [eax], 0x3afc
jmp 0x48264c
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x3c], 0
jmp 0x48268e
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x3c]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x3c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x3c], 1
jge 0x4826ad
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp + eax*4 - 0xc], 0x7730f94f
jmp 0x48267b
push 2
lea ecx, [ebp - 0x48]
call fcn.00430996
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x3c]
neg ecx
sub ecx, 0xa
cmp dword [eax], ecx
jg 0x4826d2
mov dword [ebp - 0x28], 1
jmp 0x4826d6
and dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
mov dword [ebp - 0x30], eax
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0xc]
push 0
lea ecx, [ebp - 0x48]
call fcn.00430996
cmp esi, dword [eax]
jne 0x482704
mov dword [ebp - 0x14], 1
jmp 0x482708
and dword [ebp - 0x14], 0
push 2
lea ecx, [ebp - 0x48]
call fcn.00430996
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
je 0x482722
mov dword [ebp - 0x18], 1
jmp 0x482726
and dword [ebp - 0x18], 0
push 2
lea ecx, [ebp - 0x48]
call fcn.00430996
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jle 0x482740
mov dword [ebp - 0x1c], 1
jmp 0x482744
and dword [ebp - 0x1c], 0
push 2
lea ecx, [ebp - 0x48]
call fcn.00430996
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jg 0x48275e
mov dword [ebp - 0x20], 1
jmp 0x482762
and dword [ebp - 0x20], 0
push 2
lea ecx, [ebp - 0x48]
call fcn.00430996
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax]
push 4
pop eax
imul eax, eax, 0
imul ecx, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x24], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax - 0x3c], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax - 0xc], ecx
lea ecx, [ebp - 0x48]
call fcn.0043097a
call section..mFS
mov dword [ebp - 0x10], 0xfffffffa
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4827bf
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x10], 0
jmp 0x4827cf
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffff2
jge 0x4827fe
mov dword [ebp - 0x2c], 0xe17ca002
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x4827f4
push 0
push 5
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
cmp dword [ebp - 0x2c], 0
je 0x4827fc
jmp 0x4827fe
jmp 0x4827c8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10