Function at 0x4ce684
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 0x4ce91b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
mov edx, 0x104
call fcn.00405404
lea eax, [ebp - 0xc]
call fcn.004052d0
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00405404
mov eax, dword [ebp - 0xc]
call fcn.00405080
test eax, eax
jle 0x4ce8f0
mov eax, dword [ebp - 0xc]
call fcn.00405080
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x4ce71f
lea eax, [ebp - 0xc]
mov edx, 0x4ce934
call fcn.00405088
xor esi, esi
inc esi
lea edx, [ebp - 0x124]
mov eax, esi
call fcn.00403760
lea edx, [ebp - 0x124]
lea eax, [ebp - 0x14]
call fcn.00405008
push dword [ebp - 0xc]
push 0x4ce940
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405140
mov eax, dword [ebp - 0x10]
call fcn.004ce65c
test al, al
jne 0x4ce721
push 0
mov eax, dword [ebp - 0x10]
call fcn.00405278
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
je 0x4ce8f0
xor eax, eax
push ebp
push 0x4ce8e9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 0x4ce934
call fcn.00405088
lea eax, [ebp - 0x18]
mov ecx, 0x4ce950
mov edx, dword [ebp - 0x10]
call fcn.004050cc
lea eax, [ebp - 0x1c]
mov ecx, 0x4ce964
mov edx, dword [ebp - 0x10]
call fcn.004050cc
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004cdfb0
test al, al
je 0x4ce8cd
xor eax, eax
push ebp
push 0x4ce8c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, edi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.004ce4ec
test al, al
je 0x4ce878
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 0x1c]
call fcn.00405278
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x4ce878
xor eax, eax
push ebp
push 0x4ce871
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x10000
call fcn.0040356c
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 0x4ce851
cmp dword [ebp - 0x24], 0x10000
je 0x4ce855
xor eax, eax
jmp 0x4ce857
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce878
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 0x4ce8cd
mov eax, dword [ebp - 0x1c]
call fcn.00405278
mov edx, eax
lea eax, [ebp - 0x128]
call fcn.00404f9c
mov eax, dword [ebp - 0x128]
call fcn.0040b5b0
mov eax, dword [ebp - 0x18]
call fcn.00405278
mov edx, eax
lea eax, [ebp - 0x12c]
call fcn.00404f9c
mov eax, dword [ebp - 0x12c]
call fcn.0040b5b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce8f0
mov eax, dword [ebp - 0x10]
call fcn.00405278
push eax
call sub.kernel32.dll_RemoveDirectoryA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce922
lea eax, [ebp - 0x12c]
mov edx, 2
call fcn.00404dd0
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404dd0
ret