Function at 0x1002c13f
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push edi
and dword [ebp - 0x10c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 8
mov dword [ebp - 0x2c], 0
jmp 0x1002c189
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffe6
jl 0x1002c1cc
mov dword [ebp - 0x38], 0xeede0b40
mov dword [ebp - 0x38], 0xfffffffe
jmp 0x1002c1a6
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xf
jl 0x1002c1ca
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1002c1c8
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1002c19f
jmp 0x1002c182
push 0x1c
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
push 0xc228
push 0xd590
call fcn.1002491e
pop ecx
pop ecx
call eax
test eax, eax
je 0x1002c74e
mov dword [ebp - 0xb4], 0xee
mov dword [ebp - 0x10], 0xfffffffd
mov dword [ebp - 0xa4], 0xfffb
mov dword [ebp - 0x30], 0
jmp 0x1002c21e
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1002c231
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x18], 0xfff7
jmp 0x1002c217
mov dword [ebp - 0x10], 0
jmp 0x1002c241
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x1002c429
mov dword [ebp - 0xac], 0xffffffff
cmp dword [ebp - 0x10], 7
jl 0x1002c264
mov dword [ebp - 0x68], 1
jmp 0x1002c268
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0x6084
je 0x1002c283
mov eax, 0xc995f762
test eax, eax
jne 0x1002c283
and dword [ebp - 0x84], 0
jmp 0x1002c28d
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x84], eax
je 0x1002c2a1
mov dword [ebp - 0x4c], 1
jmp 0x1002c2a5
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x18]
jne 0x1002c2c1
mov dword [ebp - 0x94], 1
jmp 0x1002c2c8
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x18]
mov dword [ebp - 0xf0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
mov dword [ebp - 0xd8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x18], 0
jne 0x1002c2fb
mov dword [ebp - 0x6c], 1
jmp 0x1002c2ff
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
cmp dword [ebp - 0x6c], eax
je 0x1002c31a
mov dword [ebp - 0xb0], 1
jmp 0x1002c321
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x18]
add eax, 0x1230
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ebp + ecx*4 - 0x18]
jg 0x1002c33f
mov dword [ebp - 0x54], 1
jmp 0x1002c343
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp + eax*4 - 0x18]
jne 0x1002c35b
cmp dword [ebp - 0x10], 0
jne 0x1002c35b
and dword [ebp - 0x7c], 0
jmp 0x1002c362
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x7c], eax
jne 0x1002c373
mov dword [ebp - 0x5c], 1
jmp 0x1002c377
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x18]
cmp dword [ebp - 0x5c], eax
je 0x1002c38c
mov dword [ebp - 0x74], 1
jmp 0x1002c390
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0x6f62939
jne 0x1002c3a2
mov dword [ebp - 0x64], 1
jmp 0x1002c3a6
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x18]
cmp eax, dword [ebp - 0x64]
jle 0x1002c3bb
mov dword [ebp - 0x44], 1
jmp 0x1002c3bf
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0x4ad3
jne 0x1002c3d4
mov dword [ebp - 0x8c], 1
jmp 0x1002c3db
and dword [ebp - 0x8c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18]
cmp dword [ebp - 0x10], eax
jne 0x1002c3f3
mov dword [ebp - 0x48], 1
jmp 0x1002c3f7
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x18]
cmp dword [ebp - 0x48], eax
jne 0x1002c40c
mov dword [ebp - 0x50], 1
jmp 0x1002c410
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x18]
imul eax, dword [ebp - 0x50]
imul eax, eax, 3
mov dword [ebp - 0xac], eax
jmp 0x1002c23a
push 0x6a2f
push 1
push 0x33fc
lea eax, [ebp - 0x10]
push eax
push 0x4cff
lea eax, [ebp - 0xa4]
push eax
call fcn.1002bf6e
add esp, 0x18
mov eax, dword [ebp - 0xf8]
and eax, dword [ebp - 0xb4]
jne 0x1002c464
mov dword [ebp - 0x58], 1
jmp 0x1002c468
and dword [ebp - 0x58], 0
mov al, byte [ebp - 0x58]
mov byte [ebp - 0x1d], al
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0x25], 0
push 0x49b8
push 0
push 0x31c
push 0x67c7
lea eax, [ebp - 0x25]
push eax
call fcn.1002d2e4
add esp, 0x14
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1002c4b3
push 1
push 0x1cae
call fcn.1002c0fc
pop ecx
pop ecx
mov eax, dword [ebp - 0xf8]
and eax, 0x101
je 0x1002c4c4
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x1c], 0x99841b3c
mov dword [ebp - 0xcc], 7
mov dword [ebp - 0xd4], 0x3c5e
mov dword [ebp - 0x88], 0x1919b17c
mov dword [ebp - 0x14], 0
jmp 0x1002c4f9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1002c50f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x9c], 0xc520ea0c
jmp 0x1002c4f2
mov dword [ebp - 0x14], 0
jmp 0x1002c51f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1002c535
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xbc], 0xfffffffd
jmp 0x1002c518
mov dword [ebp - 0x14], 0
jmp 0x1002c545
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1002c55b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x114], 1
jmp 0x1002c53e
mov dword [ebp - 0x1c], 0
jmp 0x1002c56b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 7
jne 0x1002c73c
mov dword [ebp - 0x24], 0xfffffff8
imul eax, dword [ebp - 0x1c], 0x519d
cmp dword [ebp - 0x1c], eax
jne 0x1002c591
mov dword [ebp - 0x60], 1
jmp 0x1002c595
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x24]
jne 0x1002c5ac
cmp dword [ebp - 0x1c], 0
jne 0x1002c5ac
and dword [ebp - 0x90], 0
jmp 0x1002c5b6
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xec], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
inc eax
cmp eax, dword [ebp - 0x1c]
jge 0x1002c5f3
cmp dword [ebp - 0x1c], 0
je 0x1002c5f3
mov dword [ebp - 0x40], 1
jmp 0x1002c5f7
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x40], eax
jle 0x1002c60e
cmp dword [ebp - 0x1c], 0
je 0x1002c60e
mov dword [ebp - 0x70], 1
jmp 0x1002c612
and dword [ebp - 0x70], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x70], eax
jg 0x1002c6b8
push 1
lea ecx, [ebp - 0xc8]
call fcn.10016cb0
and dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
jmp 0x1002c649
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1002c665
push dword [ebp - 0x34]
lea ecx, [ebp - 0xc8]
call fcn.10016d1d
mov dword [eax], 0xd02e
jmp 0x1002c642
push 0
lea ecx, [ebp - 0xc8]
call fcn.10016d1d
push 4
pop ecx
shl ecx, 0
mov eax, dword [eax]
mov dword [ebp + ecx - 0xbc], eax
mov dword [ebp - 0x24], 0
jmp 0x1002c691
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jg 0x1002c6a7
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xb8], 0xcaad901
jmp 0x1002c68a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.10016d18
jmp 0x1002c737
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x80], 1
mov dword [ebp - 0xa8], 0x332e0c28
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xbc], 0xfffffff8
jae 0x1002c6ec
mov dword [ebp - 0xa0], 1
jmp 0x1002c6f3
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xe4], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x9c]
imul eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], eax
jge 0x1002c71b
mov dword [ebp - 0x78], 1
jmp 0x1002c71f
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xa8], eax
jmp 0x1002c564
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
mov al, byte [ebp - 0x1d]
jmp 0x1002c750
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret