Function at 0x100294bf
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074f4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100294fc
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100294f7
call dword [sym.imp.USER32.dll_WaitMessage]
jmp 0x10029847
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 0
push 0x1554
push 0x2c5b
push 0x60bd
call fcn.1002bca0
add esp, 0x10
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x94], 0xdada439b
mov dword [ebp - 0x74], 0xdc4b4e12
mov dword [ebp - 0x8c], 0x90a624cd
mov dword [ebp - 0x68], 0xeb9ae77a
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0x84], 0x707dfe4
mov dword [ebp - 0x6c], 1
push 2
lea ecx, [ebp - 0xa0]
call fcn.10014568
and dword [ebp - 4], 0
mov dword [ebp - 0x70], 0xfffffff8
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x78]
push eax
push 0x412a
push 0x355d
push 0
push 0x5ff9
lea eax, [ebp - 0xa0]
push eax
push 0x4f94
push 0x2d18
call fcn.10025c31
add esp, 0x20
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x100295e1
push 0
push 0x1398
call fcn.10023a25
pop ecx
pop ecx
lea eax, [ebp - 0x60]
push eax
push 0
push 0x62d5
push 0x2b61
push 0x5cd4
call fcn.100241eb
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.100145ef
cmp dword [ebp - 0x2c], 0
jle 0x10029847
mov dword [ebp - 0x20], 0xfffffffc
mov dword [ebp - 0x5c], 0xfffffffe
mov dword [ebp - 0x28], 0
jmp 0x10029635
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1002964b
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0xb0], 0x5e17
jmp 0x1002962e
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.10025e34
pop ecx
pop ecx
mov dword [ebp - 0x20], 2
jmp 0x10029668
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x100297f7
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x18], 2
jmp 0x10029689
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x100297f2
mov dword [ebp - 0x24], 0xfffffff8
mov dword [ebp - 0x54], 0x3cf68729
mov dword [ebp - 0x24], 2
jmp 0x100296b1
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x100297ed
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x10], 0
jmp 0x100296d2
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x100297de
mov dword [ebp - 0x38], 0xfffffffb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x18], 0
jne 0x100296fb
cmp dword [ebp - 0x10], 0
jne 0x100296fb
and dword [ebp - 0x4c], 0
jmp 0x10029702
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x18], 0xfff9
jae 0x1002971d
mov dword [ebp - 0x3c], 1
jmp 0x10029721
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x3c]
jne 0x10029732
mov dword [ebp - 0x34], 1
jmp 0x10029736
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0xb0]
cmp eax, dword [ebp - 0x34]
jle 0x1002974e
mov dword [ebp - 0x44], 1
jmp 0x10029752
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
imul eax, dword [ebp - 0x38], 0
push 4
pop ecx
shl ecx, 1
imul eax, dword [ebp + ecx - 0xb0]
cmp eax, 0xfb1a
jne 0x10029779
mov dword [ebp - 0x50], 1
jmp 0x1002977d
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x90], eax
mov eax, 0x3388
test eax, eax
je 0x1002979e
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.1002b505
pop ecx
pop ecx
jmp 0x100297ba
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100297ba
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
cmp dword [ebp - 0x24], 0
jne 0x100297cc
cmp dword [ebp - 0x18], 0
jne 0x100297cc
and dword [ebp - 0x40], 0
jmp 0x100297d3
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], eax
jmp 0x100296cb
imul eax, dword [ebp - 0x10], 0x3e32
mov dword [ebp - 0x10], eax
jmp 0x100296aa
jmp 0x10029682
jmp 0x10029661
push 4
push 0x1000
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x64]
add ecx, dword [eax + 0xc]
push ecx
push 0x238
push 0x2c9
call fcn.10022419
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
lea eax, [ebp - 0x48]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.1002419c
add esp, 0xc
push dword [ebp - 0x2c]
push 0
mov eax, dword [ebp - 0x30]
push dword [eax]
call fcn.100225ec
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret