Function at 0x1000ded4
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1000df8d
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1000df2b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1000df29
push 0
push 0xd99
push 0x6797
push 0
call fcn.1000ccb4
add esp, 0x10
jmp 0x1000df88
mov dword [ebp - 0x70], 0
mov byte [ebp - 1], 0
push 0
push 0x35ae
push 0x3de8
push 0x4371
push 0x7b42
push 0x1775
push 0
push 0x4fb8
push 1
lea eax, [ebp - 1]
push eax
push 0x4dcc
call fcn.1000aecc
add esp, 0x2c
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1000df88
push 0
push 0
push 0x347c
call fcn.1000dd45
add esp, 0xc
jmp 0x1000e0ce
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1000dfec
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1000dfe7
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1000e0ce
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x64f1
jg 0x1000e09d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x9695
mov eax, dword [ebp - 8]
imul eax, dword [eax], 0x9695
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
sub eax, dword [ecx]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
push 3
mov ecx, dword [ebp - 0xc]
call fcn.100203e6
mov eax, dword [ebp - 8]
mov esi, dword [eax]
push 3
mov ecx, dword [ebp - 0xc]
call fcn.100203e6
cmp esi, dword [eax]
jge 0x1000e08a
mov dword [ebp - 0x18], 1
jmp 0x1000e08e
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xfffd
jae 0x1000e09d
and dword [ebp - 0x68], 0
jmp 0x1000e0a4
mov dword [ebp - 0x68], 1
push 3
mov ecx, dword [ebp - 0xc]
call fcn.100203e6
mov eax, dword [ebp - 8]
cmp dword [eax], 0x8a01
jge 0x1000e0c2
mov dword [ebp - 0x1c], 1
jmp 0x1000e0c6
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret