Function at 0x48866c
Capabilities:
Create directory
Delete directory
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x488903
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
mov edx, 0x104
call fcn.004050f0
lea eax, [ebp - 0xc]
call fcn.00404fbc
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.004050f0
mov eax, dword [ebp - 0xc]
call fcn.00404d64
test eax, eax
jle 0x4888d8
mov eax, dword [ebp - 0xc]
call fcn.00404d64
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x488707
lea eax, [ebp - 0xc]
mov edx, 0x48891c
call fcn.00404d6c
xor esi, esi
inc esi
lea edx, [ebp - 0x124]
mov eax, esi
call fcn.004034f0
lea edx, [ebp - 0x124]
lea eax, [ebp - 0x14]
call fcn.00404cec
push dword [ebp - 0xc]
push 0x488928
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404e24
mov eax, dword [ebp - 0x10]
call fcn.00488644
test al, al
jne 0x488709
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404f64
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
je 0x4888d8
xor eax, eax
push ebp
push 0x4888d1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 0x48891c
call fcn.00404d6c
lea eax, [ebp - 0x18]
mov ecx, 0x488938
mov edx, dword [ebp - 0x10]
call fcn.00404db0
lea eax, [ebp - 0x1c]
mov ecx, 0x48894c
mov edx, dword [ebp - 0x10]
call fcn.00404db0
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.0048839c
test al, al
je 0x4888b5
xor eax, eax
push ebp
push 0x4888ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, edi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.004884d4
test al, al
je 0x488860
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 0x1c]
call fcn.00404f64
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x488860
xor eax, eax
push ebp
push 0x488859
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x20000
call fcn.00403470
push 0
lea eax, [ebp - 0x24]
push eax
push 0x10000
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x488839
cmp dword [ebp - 0x24], 0x10000
je 0x48883d
xor eax, eax
jmp 0x48883f
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488860
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4888b5
mov eax, dword [ebp - 0x1c]
call fcn.00404f64
mov edx, eax
lea eax, [ebp - 0x128]
call fcn.00404c80
mov eax, dword [ebp - 0x128]
call fcn.00409aa4
mov eax, dword [ebp - 0x18]
call fcn.00404f64
mov edx, eax
lea eax, [ebp - 0x12c]
call fcn.00404c80
mov eax, dword [ebp - 0x12c]
call fcn.00409aa4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4888d8
mov eax, dword [ebp - 0x10]
call fcn.00404f64
push eax
call sub.kernel32.dll_RemoveDirectoryA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48890a
lea eax, [ebp - 0x12c]
mov edx, 2
call fcn.00404aac
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404aac
ret