Function at 0x4072a7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x40744d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x407338
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x407316
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 3
jge 0x407333
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.00416f95
mov dword [eax], 1
jmp 0x40730b
jmp 0x40744b
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
push 2
mov ecx, dword [ebp - 8]
call fcn.00416f95
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 8]
call fcn.00416f95
mov esi, eax
push 2
mov ecx, dword [ebp - 8]
call fcn.00416f95
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x4073a0
mov dword [ebp - 0x1c], 1
jmp 0x4073a4
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jge 0x4073b7
mov dword [ebp - 0x20], 1
jmp 0x4073bb
and dword [ebp - 0x20], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.00416f95
mov eax, dword [eax]
cmp eax, dword [ebp - 0x20]
jle 0x4073db
mov eax, 0xfffa
test eax, eax
jne 0x4073db
and dword [ebp - 0x64], 0
jmp 0x4073e2
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
push 2
mov ecx, dword [ebp - 8]
call fcn.00416f95
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
imul ecx, dword [eax]
cmp esi, ecx
je 0x407406
mov dword [ebp - 0x24], 1
jmp 0x40740a
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
neg eax
je 0x407429
push 2
mov ecx, dword [ebp - 8]
call fcn.00416f95
cmp dword [eax], 0
je 0x407429
mov dword [ebp - 0x28], 1
jmp 0x40742d
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0x7fa3
jl 0x40743f
mov dword [ebp - 0x2c], 1
jmp 0x407443
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x4074b5
mov dword [ebp - 0xc], 0xfffffffd
mov dword [ebp - 0x18], 0
jmp 0x407464
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x407477
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x7c], 0x82062403
jmp 0x40745d
mov dword [ebp - 0xc], 3
jmp 0x407487
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x4074a1
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x40749f
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x407480
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
push 0
push 0x7da3
call fcn.004066b6
pop ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret