Function at 0x1002b0fe
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063931
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x170
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x1002b1e7
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x11c], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
movzx eax, byte [eax]
test eax, eax
je 0x1002b182
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
jmp 0x1002b1e2
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1002b1c5
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x1002b1e2
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x120]
call fcn.10011607
or dword [eax], 0xffffffff
jmp 0x1002b1ba
jmp 0x1002b79b
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x60], 0x4ae1
mov dword [ebp - 0xec], 0x10009798
cmp dword [ebp - 0x60], 0x4ce2
jle 0x1002b2b8
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
and dword [ebp - 0x2c], 0
jmp 0x1002b246
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x27b
jge 0x1002b2b8
and dword [ebp - 0x24], 0
jmp 0x1002b25c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7cc6
jge 0x1002b2b6
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], edx
push dword [ebp - 0x124]
push dword [ebp - 0x128]
lea ecx, [ebp - 0x168]
call fcn.1000d05e
pop ecx
pop ecx
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.1001131e
push eax
call fcn.1004d84f
pop ecx
lea ecx, [ebp - 0x168]
call fcn.10011314
jmp 0x1002b255
jmp 0x1002b23f
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xbc], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0x4876
jge 0x1002b2da
push dword [ebp - 0xec]
call fcn.1004d84f
pop ecx
jmp 0x1002b2f6
or dword [ebp - 4], 0xffffffff
jmp 0x1002b300
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x50], 0x2131
mov dword [ebp - 0x78], 0x10009830
cmp dword [ebp - 0x50], 0x236f
jle 0x1002b3f2
and dword [ebp - 0x34], 0
jmp 0x1002b35e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x4d5c
jge 0x1002b3f2
and dword [ebp - 0x1c], 0
jmp 0x1002b378
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4cbc
jge 0x1002b3ed
and dword [ebp - 0x3c], 0
jmp 0x1002b38e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x3cf4
jge 0x1002b3eb
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x3c]
cdq
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], edx
push dword [ebp - 0x130]
push dword [ebp - 0x134]
lea ecx, [ebp - 0x150]
call fcn.1000d05e
pop ecx
pop ecx
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
call fcn.1001131e
push eax
call fcn.1004d84f
pop ecx
lea ecx, [ebp - 0x150]
call fcn.10011314
jmp 0x1002b387
jmp 0x1002b371
jmp 0x1002b357
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x50], 0x1ede
jge 0x1002b414
push dword [ebp - 0x78]
call fcn.1004d84f
pop ecx
jmp 0x1002b430
or dword [ebp - 4], 0xffffffff
jmp 0x1002b43a
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x1002b693
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x6c], 0x4323
mov dword [ebp - 0xb0], 0x10009898
cmp dword [ebp - 0x6c], 0x4608
jle 0x1002b59d
and dword [ebp - 0x30], 0
jmp 0x1002b506
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x4f99
jge 0x1002b59d
and dword [ebp - 0x20], 0
jmp 0x1002b520
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7df2
jge 0x1002b598
and dword [ebp - 0x28], 0
jmp 0x1002b536
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x635a
jge 0x1002b596
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x28]
and edx, dword [ebp - 0x30]
mov eax, edx
cdq
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edx
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
lea ecx, [ebp - 0x180]
call fcn.1000d05e
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.1001131e
push eax
call fcn.1004d84f
pop ecx
lea ecx, [ebp - 0x180]
call fcn.10011314
jmp 0x1002b52f
jmp 0x1002b519
jmp 0x1002b4ff
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x58]
mov dword [eax], 0xfffffffd
push 1
mov ecx, dword [ebp - 0x4c]
call fcn.10011607
mov eax, dword [eax]
add eax, 3
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0
jne 0x1002b617
mov eax, dword [ebp - 0xa0]
cmp dword [eax], 1
jl 0x1002b5e4
mov dword [ebp - 0x68], 1
jmp 0x1002b5e8
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp dword [ebp - 0x68], eax
jne 0x1002b603
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0
je 0x1002b603
mov dword [ebp - 0x48], 1
jmp 0x1002b607
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
sub eax, 0x8045
jne 0x1002b617
and dword [ebp - 0x54], 0
jmp 0x1002b61e
mov dword [ebp - 0x54], 1
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.10011607
mov ecx, dword [ebp - 0x54]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x5c]
cmp ecx, dword [eax]
jge 0x1002b63d
mov dword [ebp - 0x64], 1
jmp 0x1002b641
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
mov dword [ebp - 4], 4
cmp dword [ebp - 0x6c], 0x42e4
jge 0x1002b668
push dword [ebp - 0xb0]
call fcn.1004d84f
pop ecx
jmp 0x1002b684
or dword [ebp - 4], 0xffffffff
jmp 0x1002b68e
jmp 0x1002b79b
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002b703
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jg 0x1002b79b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
push eax
mov ecx, dword [ebp - 0x38]
call fcn.10011607
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
push eax
mov ecx, dword [ebp - 0x38]
call fcn.10011607
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
push eax
mov ecx, dword [ebp - 0x38]
call fcn.10011607
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
push eax
mov ecx, dword [ebp - 0x38]
call fcn.10011607
cmp dword [eax], 0xcfc4
jl 0x1002b75c
mov dword [ebp - 0x40], 1
jmp 0x1002b760
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0xf8]
call fcn.10011607
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
cmp dword [ebp - 0x40], 0
jae 0x1002b784
mov dword [ebp - 0x74], 1
jmp 0x1002b788
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
add eax, 7
mov ecx, dword [ebp - 0x100]
mov dword [ecx], eax
jmp 0x1002b6f8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret