Function at 0x462884
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4628c4
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x8c], eax
push 0x672d
push dword [ebp - 0x8c]
push 1
push 0x79d4
push 0x41c8
push 1
call fcn.00462ba6
add esp, 0x18
jmp 0x462ba2
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x46299e
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x462977
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x462975
push 0x23b8
push 0x10c7
push 0x241c
push 0
push 0
push 0
call fcn.00460da7
add esp, 0x18
jmp 0x462999
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x462999
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x462ba2
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x462b3f
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x462a23
mov dword [ebp - 0x2c], 1
jmp 0x462a27
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0x9ae4f78d
ja 0x462a39
mov dword [ebp - 0xc], 1
jmp 0x462a3d
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
imul eax, dword [ebp - 0xc], 0x72c0
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jg 0x462a5f
mov dword [ebp - 0x1c], 1
jmp 0x462a63
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0x31615e82
je 0x462a75
mov dword [ebp - 0x14], 1
jmp 0x462a79
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, dword [ebp - 0x14]
cmp eax, 0xfaf07207
jb 0x462a91
mov dword [ebp - 0x24], 1
jmp 0x462a95
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
neg eax
mov ecx, dword [ebp - 4]
sub eax, dword [ecx]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
je 0x462aaf
mov dword [ebp - 0x34], 1
jmp 0x462ab3
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jne 0x462ac6
mov dword [ebp - 0x18], 1
jmp 0x462aca
and dword [ebp - 0x18], 0
imul eax, dword [ebp - 0x18], 5
test eax, eax
je 0x462ae3
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x462ae3
mov dword [ebp - 0x20], 1
jmp 0x462ae7
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 3
jbe 0x462af6
mov dword [ebp - 0x28], 1
jmp 0x462afa
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0
jne 0x462b09
mov dword [ebp - 0x30], 1
jmp 0x462b0d
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x30]
dec eax
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jle 0x462b31
mov dword [ebp - 0x38], 1
jmp 0x462b35
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x462ba2
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x462b82
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x462ba2
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xb0]
call fcn.00406814
mov dword [eax], 1
jmp 0x462b77
mov esp, ebp
pop ebp
ret