Function at 0x10014861
Capabilities:
Get disk size

Disassembly:
push 0x104
mov eax, 0x10091ba3
call fcn.1006d42d
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x108], ebx
call fcn.10011ec9
test eax, eax
jne 0x100148d4
push ecx
push ecx
mov edx, str.STR_PATH_INVALID
lea ecx, [ebp - 0x68]
call fcn.10015862
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x68]
mov ecx, dword [esi + 0x32c]
cmp dword [ebp - 0x54], 8
cmovae edx, dword [ebp - 0x68]
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x32c]
push str.ff448000
push str.textcolor
mov eax, dword [ecx]
call dword [eax + 0x128]
jmp 0x10014b38
mov ecx, edi
call fcn.10011f81
test al, al
jne 0x10014928
push ecx
push ecx
mov edx, str.STR_PATH_NO_ENGLISH
lea ecx, [ebp - 0x68]
call fcn.10015862
pop ecx
pop ecx
mov byte [ebp - 4], 4
lea edx, [ebp - 0x68]
mov ecx, dword [esi + 0x32c]
cmp dword [ebp - 0x54], 8
cmovae edx, dword [ebp - 0x68]
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x32c]
push str.ff448000
push str.textcolor
mov eax, dword [ecx]
call dword [eax + 0x128]
jmp 0x10014b38
push 0x40
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.1006fd90
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x20
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.1007c003
add esp, 0x30
lea eax, [ebp - 0x110]
xorps xmm0, xmm0
movlpd qword [ebp - 0x110], xmm0
push eax
push ebx
push ebx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10014af4
mov ebx, dword [ebp - 0x110]
mov edi, dword [ebp - 0x10c]
test ebx, ebx
jne 0x10014987
test edi, edi
je 0x10014af2
test edi, edi
ja 0x100149e0
jb 0x10014995
cmp ebx, 0x1f400000
jae 0x100149e0
push ecx
push ecx
mov edx, str.STR_PATH_SPACE_NOTENOUGH
lea ecx, [ebp - 0x68]
call fcn.10015862
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x68]
mov ecx, dword [esi + 0x32c]
cmp dword [ebp - 0x54], 8
cmovae edx, dword [ebp - 0x68]
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x32c]
push str.ff448000
push str.textcolor
mov eax, dword [ecx]
call dword [eax + 0x128]
xor ebx, ebx
jmp 0x10014b38
lea eax, [ebp - 0x100]
mov dword [ebp - 0x104], eax
xor eax, eax
mov word [ebp - 0x100], ax
mov byte [ebp - 4], 0xd
mov edx, str.STR_PATH_SPACE_NEED
push ecx
push ecx
lea ecx, [ebp - 0x80]
call fcn.10015862
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x108]
push edi
push ebx
call fcn.100120ec
add esp, 0x10
mov edi, eax
mov byte [ebp - 4], 0xf
xor ecx, ecx
mov eax, dword [edi]
inc ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x10014a3a
push 0
mov ecx, edi
call fcn.1001236b
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
push dword [edi]
cmovae eax, dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x104]
push str._s___s
push eax
call fcn.100260f0
add esp, 0x10
mov byte [ebp - 4], 0xe
or eax, 0xffffffff
mov edx, dword [ebp - 0x108]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014a7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x32c]
push dword [ebp - 0x104]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x32c]
push str.ffe1e1e1
push str.textcolor
mov eax, dword [ecx]
call dword [eax + 0x128]
mov dword [ebp - 0x108], 1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x80]
push 0
push 1
call fcn.1000cfbe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x104]
call fcn.10025720
mov ecx, dword [esi + 0x558]
push 1
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, dword [esi + 0x55c]
push 1
mov eax, dword [ecx]
call dword [eax + 0xf0]
jmp 0x10014b64
xor ebx, ebx
push ecx
push ecx
mov edx, str.STR_PATH_ILLEGAL
lea ecx, [ebp - 0x68]
call fcn.10015862
pop ecx
pop ecx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x68]
mov ecx, dword [esi + 0x32c]
cmp dword [ebp - 0x54], 8
cmovae edx, dword [ebp - 0x68]
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x32c]
push str.ff448000
push str.textcolor
mov eax, dword [ecx]
call dword [eax + 0x128]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x68]
push ebx
push 1
call fcn.1000cfbe
mov ecx, dword [esi + 0x558]
push ebx
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, dword [esi + 0x55c]
push ebx
mov edx, dword [ecx]
call dword [edx + 0xf0]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10025720
mov eax, dword [ebp - 0x108]
call fcn.1006d3e8
ret 0x84