Function at 0x1002731b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10027349
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
push dword [ebp - 0x84]
push 1
call fcn.100275b8
pop ecx
pop ecx
jmp 0x100275b4
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x100273ad
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x100273a8
push 0xe1f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x100275b4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], 0x1b51
cmp dword [ebp - 0x44], 0xf1e
jge 0x100274c7
mov dword [ebp - 0x88], 0x2c
and dword [ebp - 4], 0
jmp 0x10027402
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
lea eax, [ebp + eax*4 - 0x138]
push eax
mov ecx, 0x1065c290
call fcn.1002df19
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 4]
call fcn.1000fc71
movzx eax, al
test eax, eax
je 0x100274c7
mov eax, dword [ebp - 4]
lea edx, [ebp + eax*4 - 0x134]
lea ecx, [ebp - 0x138]
call fcn.1002f7e4
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x10027459
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x10027484
push fcn.1000f2d8
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
push dword [ebp + eax*4 - 0x138]
mov ecx, 0x1065c1d8
call fcn.1002e16e
mov ecx, eax
call fcn.1000bb2f
jmp 0x100274c2
push fcn.1000f2d8
mov eax, dword [ebp - 4]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + ecx*4 - 0x138]
add ecx, dword [ebp + eax*4 - 0x134]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
mov ecx, 0x1065c1d8
call fcn.1002e16e
mov ecx, eax
call fcn.1000bb2f
jmp 0x100273fb
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x100275a6
mov dword [ebp - 0x74], 0xed3c15d
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]
mov eax, dword [eax]
add eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx]
je 0x10027525
mov dword [ebp - 0xc], 1
jmp 0x10027529
and dword [ebp - 0xc], 0
mov eax, 0x13e1
test eax, eax
je 0x10027546
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xe008
jg 0x10027546
mov dword [ebp - 0x28], 1
jmp 0x1002754a
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
imul eax, dword [ebp - 0x28]
cmp dword [ebp - 0xc], eax
jl 0x10027561
mov dword [ebp - 0x10], 1
jmp 0x10027565
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jl 0x10027581
mov eax, 0x92eda8ed
test eax, eax
je 0x10027581
mov dword [ebp - 0x1c], 1
jmp 0x10027585
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
je 0x10027598
mov dword [ebp - 0x2c], 1
jmp 0x1002759c
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x100275b4
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov esp, ebp
pop ebp
ret