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

Disassembly:
sub esp, 0x428
mov eax, dword [0x42d278]
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 [0x4357e4]
push 0x429cc0
mov ebx, ecx
mov dword [esp + 0x18], edi
call esi
push eax
push 0x429cc0
push ebx
call fcn.0040f9dd
add esp, 0xc
test eax, eax
mov eax, ebx
jne 0x4072c3
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 0x407222
lea eax, [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0x24]
push 0x5c
push ecx
lea esi, [esp + eax*2 + 0x2a]
call fcn.00410f54
add esp, 8
cmp eax, esi
je 0x40726e
lea edi, [esp + 0x24]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x407256
mov edx, dword [0x429d84]
mov dword [edi], edx
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.0040f9bb
add esp, 8
cmp eax, ebp
je 0x4073cd
add eax, 2
push 0x5c
push eax
call fcn.0040f9bb
add esp, 8
cmp eax, ebp
je 0x4073cd
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.0040ead2
mov word [esp + esi*2 + 0x23a], bp
jmp 0x40732e
lea edx, [eax + 2]
xor ebp, ebp
jmp 0x4072d0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4072d0
sub eax, edx
sar eax, 1
cmp eax, 2
jb 0x4072f0
cmp word [ebx + 2], 0x3a
jne 0x4072f0
push 2
push ebx
jmp 0x40730f
lea eax, [esp + 0x24]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4073cd
push 2
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x234]
push edx
call fcn.0040ead2
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 0x4073d4
push 0x40
push str.GetDiskFreeSpace
push 0x4352f0
mov dword [0x4352e8], 0xcb
call fcn.0040ead2
add esp, 0xc
mov word [0x435370], bp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, ebp
mov dword [0x4352ec], eax
je 0x40739e
push 0x104
push ebx
push 0x435370
call fcn.0040ead2
add esp, 0xc
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x435578
mov word [0x435576], bp
call fcn.0040ead2
add esp, 0xc
mov word [0x43577e], bp
mov dword [0x435780], 0x574
xor eax, eax
jmp 0x407465
xor ecx, ecx
xor esi, esi
cmp dword [edi], ebp
je 0x407460
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 0x4073f6
add eax, 1
xor edx, edx
div dword [esp + 0x18]
cmp edx, ebp
je 0x407403
add eax, 1
add ecx, 1
add esi, eax
cmp dword [edi + ecx*4], ebp
lea eax, [edi + ecx*4]
jne 0x4073e6
cmp dword [esp + 0x10], esi
jae 0x407460
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x435578
mov dword [0x4352e8], 0xffffef30
mov word [0x435370], bp
mov dword [0x4352ec], ebp
mov word [0x435576], bp
call fcn.0040ead2
add esp, 0xc
mov word [0x43577e], bp
mov dword [0x435780], 0x58f
xor eax, eax
jmp 0x407465
mov eax, 1
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040eac3
add esp, 0x428
ret