Function at 0x1002bfb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002c5f3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0xa8], 6
mov dword [ebp - 0xd0], 0x6ef6f0c3
mov dword [ebp - 0xcc], 0xfffffff9
mov dword [ebp - 0x24], 0
jmp 0x1002c023
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1002c036
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x10], 0x2ffab8c3
jmp 0x1002c01c
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x10c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x10]
add eax, 7
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x10]
je 0x1002c06b
mov dword [ebp - 0x84], 1
jmp 0x1002c072
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0
je 0x1002c0a8
mov byte [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002bdd5
pop ecx
pop ecx
mov byte [ebp - 3], 0
lea eax, [ebp - 3]
push eax
push 1
push 0x9b2
call fcn.1002be47
add esp, 0xc
jmp 0x1002c26d
mov dword [ebp - 0x58], 0xb15e314a
mov dword [ebp - 8], 0xfffffff7
mov dword [ebp - 0x74], 6
mov dword [ebp - 0x1c], 0
jmp 0x1002c0cd
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1002c0e3
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x134], 0xccc09984
jmp 0x1002c0c6
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x10], 0
jne 0x1002c106
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x10], 0
jne 0x1002c106
and dword [ebp - 0xbc], 0
jmp 0x1002c110
mov dword [ebp - 0xbc], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
push 4
pop ecx
shl ecx, 0
add eax, dword [ebp + ecx - 0x10]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x10]
je 0x1002c13c
mov dword [ebp - 0x94], 1
jmp 0x1002c143
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x114], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
jg 0x1002c17c
mov dword [ebp - 0x50], 1
jmp 0x1002c180
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x98], eax
je 0x1002c1a0
mov dword [ebp - 0xa0], 1
jmp 0x1002c1a7
and dword [ebp - 0xa0], 0
mov dword [ebp - 0x58], 0xacc4
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0xa0]
jge 0x1002c1c2
mov dword [ebp - 0x60], 1
jmp 0x1002c1c6
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 1
jl 0x1002c1d5
mov dword [ebp - 0x40], 1
jmp 0x1002c1d9
and dword [ebp - 0x40], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x40]
mov dword [ebp + eax - 0x134], ecx
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x40]
add eax, dword [ebp - 8]
mov dword [ebp - 0xa8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp dword [ebp - 0xa8], eax
je 0x1002c225
mov eax, 0xcbe
test eax, eax
je 0x1002c225
cmp dword [ebp - 0xd0], 0
je 0x1002c225
mov dword [ebp - 0x68], 1
jmp 0x1002c229
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0xb0], eax
imul eax, dword [ebp - 0x68], 0xe8f7
cmp dword [ebp - 0xb0], eax
jl 0x1002c254
mov dword [ebp - 0xb8], 1
jmp 0x1002c25b
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xcc], eax
push 0x74d0
push 1
push 0x14e9
call fcn.1002be9e
add esp, 0xc
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x34], 0xffff
mov dword [ebp - 0xf0], 0xbe4438b
mov dword [ebp - 0x70], 0x76c3a0b8
mov dword [ebp - 0xe4], 5
mov dword [ebp - 0xe0], 5
mov dword [ebp - 0xdc], 5
mov dword [ebp - 0xd8], 5
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x2c], 0xfffffff7
mov dword [ebp - 0xc8], 0xbf79
mov dword [ebp - 0xa4], 0x1ac0
mov dword [ebp - 0x28], 0
jmp 0x1002c2ff
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1002c315
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x104], 0xe3e45bbb
jmp 0x1002c2f8
lea eax, [ebp - 0x34]
push eax
push 1
call fcn.1001195d
pop ecx
pop ecx
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xe4], 0x29207965
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xf8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xe4], 0
je 0x1002c35e
cmp dword [ebp - 0x2c], 0
je 0x1002c35e
mov dword [ebp - 0xb4], 1
jmp 0x1002c365
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0xb4], eax
jge 0x1002c379
mov dword [ebp - 0x7c], 1
jmp 0x1002c37d
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x7c], eax
je 0x1002c391
mov dword [ebp - 0x9c], 1
jmp 0x1002c398
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xc8]
mov ecx, 0xb1b0cadf
sub ecx, eax
cmp ecx, 8
jae 0x1002c3be
xor eax, eax
inc eax
je 0x1002c3be
mov dword [ebp - 0x44], 1
jmp 0x1002c3c2
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x44], eax
je 0x1002c3dc
cmp dword [ebp - 0xa4], 0
jne 0x1002c3dc
and dword [ebp - 0xac], 0
jmp 0x1002c3e6
mov dword [ebp - 0xac], 1
cmp dword [ebp - 0xac], 0xfffffffa
jle 0x1002c3fb
mov dword [ebp - 0x8c], 1
jmp 0x1002c402
and dword [ebp - 0x8c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x104]
dec eax
mov dword [ebp - 0x6c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x104], ecx
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0xa4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x2c]
jne 0x1002c446
mov dword [ebp - 0x78], 1
jmp 0x1002c44a
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x78]
jle 0x1002c45b
mov dword [ebp - 0x80], 1
jmp 0x1002c45f
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
push 8
pop ecx
imul ecx, ecx, 5
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x38], 0xf94f378
mov dword [ebp - 0xd4], 0xcc48b164
mov dword [ebp - 0x14], 0
jmp 0x1002c49b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1002c4b1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xec], 5
jmp 0x1002c494
cmp dword [ebp - 0x38], 0
jne 0x1002c4bc
or eax, 0xffffffff
je 0x1002c4ea
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x110], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xec]
mov dword [ebp - 0x108], eax
mov eax, 0x5223fa3a
test eax, eax
je 0x1002c4ea
mov dword [ebp - 0x30], 1
jmp 0x1002c4ee
and dword [ebp - 0x30], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax - 0xec], ecx
mov eax, dword [ebp - 0x30]
add eax, 0xffff
cmp dword [ebp - 0x38], eax
jge 0x1002c514
mov dword [ebp - 0x48], 1
jmp 0x1002c518
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002c53c
push 0x233
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 4], 0
jbe 0x1002c5f1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x18], 0xfffffff8
mov dword [ebp - 0x18], 0xfffffff9
jmp 0x1002c56b
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffeb
je 0x1002c5c5
mov dword [ebp - 0x20], 0
jmp 0x1002c581
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x1002c597
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x124], 9
jmp 0x1002c57a
mov byte [ebp - 2], 0
push 1
lea eax, [ebp - 2]
push eax
call fcn.1002beeb
pop ecx
pop ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x124]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x124], eax
jmp 0x1002c564
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0
jbe 0x1002c5f1
push 0x7874
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
push 1
push 0x7b95
push dword [ebp - 0xc0]
call fcn.1002bf34
add esp, 0x18
jmp 0x1002c5c5
jmp 0x1002c610
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret