Function at 0x100e3b83
Capabilities:
Get common file path
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
push 0x1002a0f4
mov esi, 0x1002da68
mov dword [ebp - 0x20], ebx
push 1
mov edx, esi
mov dword [ebp - 0x10], ebx
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
call fcn.100ae0e0
cmp eax, 0x80070003
je 0x100e3bdb
cmp eax, 0x80070002
jne 0x100e3bde
xor edi, edi
inc edi
lea eax, [ebp - 0x14]
mov edx, esi
push eax
push 0x1002a0b0
push 1
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.100ae0e0
push ebx
push ebx
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemWindowsDirectoryW]
lea ecx, [ebp - 0x10]
lea ebx, [eax + 2]
mov edx, ebx
call fcn.100a70d5
mov esi, eax
test esi, esi
jns 0x100e3c2e
push 0x1002db10
push 1
push esi
mov ebx, 0x4000000
push ebx
call fcn.100ab973
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
jmp 0x100e3ce0
push ebx
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x100e3c62
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100e3c54
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x100e3c5b
mov esi, 0x80004005
push 0x1002db38
jmp 0x100e3c15
xor eax, eax
push eax
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x100e3c3d
xor eax, eax
push eax
push 4
push 0x100b8230
mov dword [0x101dc9b4], eax
call dword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_EnumUILanguagesW]
mov ebx, 0x4000000
test eax, eax
jne 0x100e3cb6
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
push 0x1002db60
xor eax, eax
push eax
push eax
push ebx
call fcn.100ab973
add esp, 0x14
mov dword [0x101dc9b4], 1
mov ecx, dword [0x101dc9b4]
imul ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
shrd edx, eax, 0x14
add ecx, dword [ebp - 0x18]
shr eax, 0x14
cmp dword [ebp - 0x20], eax
jb 0x100e3ce0
ja 0x100e3cdb
cmp ecx, edx
jbe 0x100e3ce0
mov esi, 0x800f0828
test esi, esi
jns 0x100e3d03
cmp esi, 0x800f0828
je 0x100e3d0b
push 0x1002dbc8
push 1
push esi
push ebx
call fcn.100ab973
add esp, 0x10
xor eax, eax
mov esi, eax
jmp 0x100e3d62
cmp esi, 0x800f0828
jne 0x100e3d31
mov eax, dword [ebp - 8]
push ecx
push dword [0x101dc9b4]
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x14]
shrd ecx, eax, 0x14
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push ecx
movzx eax, word [eax]
push eax
push 0x1002dc10
jmp 0x100e3d55
mov eax, dword [ebp - 8]
push ecx
push dword [0x101dc9b4]
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x14]
shrd ecx, eax, 0x14
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push ecx
movzx eax, word [eax]
push eax
push 0x1002dcc8
xor eax, eax
push eax
push eax
push ebx
call fcn.100ab973
add esp, 0x28
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100e3d73
add eax, 0xfffffffc
push eax
call fcn.100b84f9
pop ecx
mov ecx, dword [ebp - 4]
neg edi
sbb edi, edi
xor ecx, ebp
not edi
and edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.100b88c0
leave
ret