Function at 0x4627af
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x462909
lea eax, [ebp + 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xd4], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x4628b3
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x46288f
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x46284f
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]
cmp dword [eax], 0
jl 0x46288d
mov dword [ebp - 0x14], 0x56a9ef72
mov dword [ebp - 0x14], 0
jmp 0x46286e
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x46288b
push 1
push 1
push 1
push 1
push 0x2a99
call fcn.00458196
add esp, 0x14
jmp 0x462867
jmp 0x462844
jmp 0x4628b1
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x4628b1
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
jmp 0x462904
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x4628e9
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax], 0x13
jmp 0x462904
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x462904
push 0x22c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x462b98
lea eax, [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x94], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x462986
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xdc]
push 0x4f29
push 0x5688
push 1
call fcn.00458b19
add esp, 0x10
jmp 0x462b98
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x462a09
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x462a04
push 0x6fa0
push 0x54cb
push 1
push 0x6736
push 0x12e0
push 0x2d29
push 0x5e3
push 0x13bc
push 0
call fcn.00455289
add esp, 0x24
jmp 0x462b98
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffff
jne 0x462aae
mov dword [ebp - 0x2c], 1
jmp 0x462ab2
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [eax]
cmp ecx, 0xfffffff7
je 0x462ac8
mov dword [ebp - 0x24], 1
jmp 0x462acc
and dword [ebp - 0x24], 0
imul eax, dword [ebp - 0x24], 0x6e3e
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jg 0x462ae3
mov dword [ebp - 0x1c], 1
jmp 0x462ae7
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jg 0x462b02
mov dword [ebp - 0x34], 1
jmp 0x462b06
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x34]
sub edx, dword [ecx]
cmp dword [eax], edx
jne 0x462b1e
mov dword [ebp - 0x18], 1
jmp 0x462b22
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
je 0x462b44
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x462b44
mov dword [ebp - 0x28], 1
jmp 0x462b48
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax]
jne 0x462b60
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jne 0x462b60
and dword [ebp - 0x20], 0
jmp 0x462b67
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
imul eax, dword [ebp - 0x20]
cmp eax, 5
jge 0x462b89
mov dword [ebp - 0x38], 1
jmp 0x462b8d
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret