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

Disassembly:
sub esp, 0x428
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
mov edi, dword [0x4377ec]
push 0x42bcc8
mov ebx, ecx
mov dword [esp + 0x18], edi
call esi
push eax
push 0x42bcc8
push ebx
call fcn.00411372
add esp, 0xc
test eax, eax
mov eax, ebx
jne 0x4087d3
lea edx, [esp + 0x24]
sub edx, ebx
xor ebp, ebp
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x408732
lea eax, [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0x24]
push 0x5c
push ecx
lea esi, [esp + eax*2 + 0x2a]
call fcn.00412984
add esp, 8
cmp eax, esi
je 0x40877e
lea edi, [esp + 0x24]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x408766
mov edx, dword [0x42bd8c]
mov dword [edi], edx
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.00411350
add esp, 8
cmp eax, ebp
je 0x4088dd
add eax, 2
push 0x5c
push eax
call fcn.00411350
add esp, 8
cmp eax, ebp
je 0x4088dd
lea ecx, [esp + 0x24]
sub eax, ecx
sar eax, 1
mov esi, eax
lea edx, [esi + 1]
push edx
mov eax, ecx
push eax
lea ecx, [esp + 0x234]
push ecx
call fcn.00410502
mov word [esp + esi*2 + 0x23a], bp
jmp 0x40883e
lea edx, [eax + 2]
xor ebp, ebp
jmp 0x4087e0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4087e0
sub eax, edx
sar eax, 1
cmp eax, 2
jb 0x408800
cmp word [ebx + 2], 0x3a
jne 0x408800
push 2
push ebx
jmp 0x40881f
lea eax, [esp + 0x24]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4088dd
push 2
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x234]
push edx
call fcn.00410502
mov word [esp + 0x23c], 0x5c
mov word [esp + 0x23e], bp
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x4088e4
push 0x40
push str.GetDiskFreeSpace
push 0x4372f0
mov dword [0x4372ec], 0xcb
call fcn.00410502
add esp, 0xc
mov word [0x437370], bp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, ebp
mov dword [0x437370], eax
je 0x4088ae
push 0x104
push ebx
push 0x437378
call fcn.00410502
add esp, 0xc
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x437580
mov word [0x43757e], bp
call fcn.00410502
add esp, 0xc
mov word [0x437786], bp
mov dword [0x437374], 0x5ee
xor eax, eax
jmp 0x408975
xor ecx, ecx
xor esi, esi
cmp dword [edi], ebp
je 0x408970
mov ebx, dword [esp + 0x1c]
mov eax, edi
mov edx, dword [eax]
mov eax, dword [edx + 4]
xor edx, edx
div ebx
cmp edx, ebp
je 0x408906
add eax, 1
xor edx, edx
div dword [esp + 0x18]
cmp edx, ebp
je 0x408913
add eax, 1
add ecx, 1
add esi, eax
cmp dword [edi + ecx*4], ebp
lea eax, [edi + ecx*4]
jne 0x4088f6
cmp dword [esp + 0x10], esi
jae 0x408970
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x437580
mov dword [0x4372ec], 0xffffef30
mov word [0x437370], bp
mov dword [0x437370], ebp
mov word [0x43757e], bp
call fcn.00410502
add esp, 0xc
mov word [0x437786], bp
mov dword [0x437374], 0x609
xor eax, eax
jmp 0x408975
mov eax, 1
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004104f3
add esp, 0x428
ret