Function at 0x1002f3ce
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100866e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push esi
mov dword [ebp - 0x14], 0xfffd
push 2
lea ecx, [ebp - 0xb8]
call fcn.100189bc
and dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0xcc], 0xfff7
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0xb8]
push eax
call fcn.1002ed54
add esp, 0xc
mov dword [ebp - 0x28], 0
jmp 0x1002f442
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1002f458
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x148], 0x7bde5156
jmp 0x1002f43b
push 0x6cce
push 1
lea eax, [ebp - 0x14]
push eax
push 0x2d9a
call fcn.1002edc7
add esp, 0x10
mov dword [ebp - 0x14], 0
jmp 0x1002f480
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1002f694
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x34], 0xa2ff3e14
mov dword [ebp - 0x8c], 0x5661c443
cmp dword [ebp - 0x24], 0
jl 0x1002f4b1
mov dword [ebp - 0x78], 1
jmp 0x1002f4b5
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x78]
jg 0x1002f4c9
mov dword [ebp - 0xa8], 1
jmp 0x1002f4d0
and dword [ebp - 0xa8], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb8]
call fcn.10018a43
mov ecx, dword [ebp - 0xa8]
cmp ecx, dword [eax]
jl 0x1002f4f1
mov dword [ebp - 0x54], 1
jmp 0x1002f4f5
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x34]
neg eax
cmp eax, 1
jne 0x1002f518
mov dword [ebp - 0xe0], 1
jmp 0x1002f51f
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
jge 0x1002f542
mov dword [ebp - 0x84], 1
jmp 0x1002f549
and dword [ebp - 0x84], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb8]
call fcn.10018a43
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [eax]
jge 0x1002f56a
mov dword [ebp - 0x5c], 1
jmp 0x1002f56e
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x5c], eax
je 0x1002f582
mov dword [ebp - 0x9c], 1
jmp 0x1002f589
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x9c], eax
jle 0x1002f59d
mov dword [ebp - 0x64], 1
jmp 0x1002f5a1
and dword [ebp - 0x64], 0
push 1
lea ecx, [ebp - 0xb8]
call fcn.10018a43
mov eax, dword [eax]
add eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x8c]
je 0x1002f5c4
mov dword [ebp - 0x6c], 1
jmp 0x1002f5c8
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x6c]
je 0x1002f5e5
cmp dword [ebp - 0xcc], 0
je 0x1002f5e5
mov dword [ebp - 0xa4], 1
jmp 0x1002f5ec
and dword [ebp - 0xa4], 0
mov esi, dword [ebp - 0xa4]
sub esi, dword [ebp - 0x34]
push 1
lea ecx, [ebp - 0xb8]
call fcn.10018a43
sub esi, dword [eax]
jne 0x1002f60c
cmp dword [ebp - 0x74], 0
je 0x1002f610
cmp dword [ebp - 0x74], 0
cmp dword [ebp - 0x14], 0
jne 0x1002f625
cmp dword [ebp - 0x44], 0
jne 0x1002f625
and dword [ebp - 0x94], 0
jmp 0x1002f62f
mov dword [ebp - 0x94], 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb8]
call fcn.10018a43
mov eax, dword [eax]
cmp eax, dword [ebp - 0x94]
jge 0x1002f650
mov dword [ebp - 0x7c], 1
jmp 0x1002f654
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x7c], eax
jg 0x1002f665
mov dword [ebp - 0x4c], 1
jmp 0x1002f669
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0x40cc74bf
jl 0x1002f67b
mov dword [ebp - 0x50], 1
jmp 0x1002f67f
and dword [ebp - 0x50], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp + eax - 0x148], ecx
jmp 0x1002f479
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10018a3e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x100], 0xa6318529
mov dword [ebp - 0x104], 0xbeb0647d
mov dword [ebp - 0x10c], 0x65ab3e90
mov dword [ebp - 0x130], 0xfffffff6
mov dword [ebp - 0xfc], 0x9ae77ab3
mov dword [ebp - 0x13c], 0xfffffff6
push 1
lea ecx, [ebp - 0x11c]
call fcn.100189bc
mov dword [ebp - 4], 1
mov dword [ebp - 0x110], 0xfffffff6
mov dword [ebp - 0xbc], 8
push 0x69fa
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0x5d02
push 1
call fcn.1002ee3d
add esp, 0x14
mov dword [ebp - 0x2c], 0
jmp 0x1002f757
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1002f76d
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x160], 0xfffffffb
jmp 0x1002f750
push 0x721b
push 0x2efa
push 0x986
push 0x66d8
lea eax, [ebp - 0xbc]
push eax
push 0
push 0x2596
call fcn.100327c3
add esp, 0x1c
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x1a]
push eax
push 0x2032
push 0
push 0x4369
call fcn.10032953
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.10018a3e
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x1002fb27
mov dword [ebp - 0x10], 0x3f4f46db
mov dword [ebp - 0x38], 0xa9a9
mov dword [ebp - 0x90], 2
mov dword [ebp - 0xc8], 0x2249687
mov dword [ebp - 0x40], 0
jmp 0x1002f800
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1002f816
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0xec], 1
jmp 0x1002f7f9
mov dword [ebp - 0x10], 0
jmp 0x1002f826
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x1002f848
mov dword [ebp - 0xc4], 0xbac04ee7
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0xec]
mov dword [ebp - 0xc4], eax
jmp 0x1002f81f
cmp dword [ebp - 0x10], 0
jne 0x1002f92e
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0xec]
cmp dword [ebp + eax - 0xec], ecx
jl 0x1002f876
mov dword [ebp - 0x58], 1
jmp 0x1002f87a
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x58], eax
jge 0x1002f88b
mov dword [ebp - 0x60], 1
jmp 0x1002f88f
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x60], eax
jle 0x1002f8a0
mov dword [ebp - 0x68], 1
jmp 0x1002f8a4
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x38]
jne 0x1002f8be
cmp dword [ebp - 0x90], 0
jne 0x1002f8be
and dword [ebp - 0x70], 0
jmp 0x1002f8c5
mov dword [ebp - 0x70], 1
cmp dword [ebp - 0x70], 0xfffffffd
jne 0x1002f8d4
mov dword [ebp - 0x48], 1
jmp 0x1002f8d8
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x48]
test eax, eax
jne 0x1002f8f9
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xec], 0
jne 0x1002f8f9
and dword [ebp - 0x80], 0
jmp 0x1002f900
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x80], eax
je 0x1002f914
mov dword [ebp - 0x88], 1
jmp 0x1002f91b
and dword [ebp - 0x88], 0
imul eax, dword [ebp - 0x88], 0xee9
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x38], eax
jne 0x1002f94e
mov dword [ebp - 0x98], 1
jmp 0x1002f955
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 1
jl 0x1002f96a
mov dword [ebp - 0xa0], 1
jmp 0x1002f971
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x18]
push eax
push 1
lea eax, [ebp + 0x10]
push eax
push 0x795c
push 0x2aca
lea eax, [ebp + 0x14]
push eax
call fcn.1002eee7
add esp, 0x18
mov dword [ebp - 0x30], 0xd4081c29
mov dword [ebp - 0xac], 9
mov dword [ebp - 0xd8], 0xffffffff
mov dword [ebp - 0xd4], 0xfffffffa
mov dword [ebp - 0x18], 0
jmp 0x1002f9d2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002f9e8
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x154], 7
jmp 0x1002f9cb
mov dword [ebp - 0x18], 0
jmp 0x1002f9f8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002fa0e
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x16c], 0xffffffff
jmp 0x1002f9f1
mov dword [ebp - 0x30], 2
jmp 0x1002fa1e
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x1002fb14
mov dword [ebp - 0x20], 0xfffffff9
mov dword [ebp - 0xd0], 0xfffffff8
mov dword [ebp - 0xc0], 1
push 3
lea ecx, [ebp - 0xf8]
call fcn.100189bc
mov dword [ebp - 4], 2
lea eax, [ebp - 0xf8]
push eax
push 1
lea eax, [ebp - 0x120]
push eax
call fcn.1002ef7d
add esp, 0xc
mov dword [ebp - 0x20], 2
jmp 0x1002fa7f
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1002fb00
mov dword [ebp - 0xdc], 0xed562b99
lea eax, [ebp - 0xac]
push eax
push 0x3b4b
push 0x25b9
push 1
push 0x484
push 0x3042
lea eax, [ebp - 0x20]
push eax
call fcn.1002eff4
add esp, 0x1c
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xf8]
push eax
push 1
call fcn.1002f07b
add esp, 0x28
jmp 0x1002fa78
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.10018a3e
jmp 0x1002fa17
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
jmp 0x1002fbff
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x18]
push eax
push 1
lea eax, [ebp + 0x14]
push eax
call fcn.1002f231
add esp, 0x10
push 2
lea ecx, [ebp - 0x12c]
call fcn.100189bc
mov dword [ebp - 4], 3
mov dword [ebp - 0x3c], 0x9beb0647
push 0x8c6
push 0x6c29
lea eax, [ebp - 0x134]
push eax
push 1
lea eax, [ebp - 0x12c]
push eax
call fcn.1002f296
add esp, 0x14
mov dword [ebp - 0x3c], 0
jmp 0x1002fb8a
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jg 0x1002fbc6
push 0x3126
push 0x1bed
push 0
push 0x7eb8
call fcn.100326c9
add esp, 0x10
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x1002fbc4
push 0x384
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x1002fb83
mov byte [ebp - 0x19], 0
push 0x5192
push 0x3d5a
lea eax, [ebp - 0x19]
push eax
push 1
call fcn.1002f33d
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10018a3e
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret