Function at 0x11ee3e00
Capabilities:
Check if file exists
Delete file
Get file attributes
Get file size
Read file on windows
Set file attributes
Timestomp file
Write file on windows

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push esi
push edi
xor edi, edi
mov dword [0x12134da8], edi
call ebx
mov dword [0x12134db0], eax
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x11ee3e26
mov dword [eax], edi
mov esi, dword [esp + 0x48]
cmp esi, edi
je 0x11ee4185
cmp word [esi], di
je 0x11ee4185
mov ebp, dword [esp + 0x4c]
cmp ebp, edi
je 0x11ee4185
cmp word [ebp], di
je 0x11ee4185
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call ebx
test al, 0x10
mov dword [esp + 0x28], eax
je 0x11ee3e8b
mov dword [0x12134da8], 0x1d
mov dword [0x12134dac], 0xdd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov dword [0x12134db0], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret
push ebp
call ebx
cmp eax, 0xffffffff
mov dword [esp + 0x48], eax
je 0x11ee3ec4
test al, 0x10
je 0x11ee3ec4
mov dword [0x12134da8], 0x1e
mov dword [0x12134dac], 0xddf
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov dword [0x12134db0], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret
push edi
push 0x80
push 3
push edi
push 7
push bind
push esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
call fcn.11f30b10
mov ebx, eax
add esp, 0x1c
cmp ebx, 0xffffffff
je 0x11ee40e7
mov eax, dword [esp + 0x48]
cmp eax, 0xffffffff
je 0x11ee3f07
test al, 1
je 0x11ee3f07
and al, 0xfe
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push 0x80
push 4
push edi
push edi
push 0xc0000000
push ebp
call fcn.11f30b10
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x11ee4112
mov ecx, dword [esp + 0x48]
xor eax, eax
cmp ecx, 0xffffffff
lea ecx, [esp + 0x2c]
sete al
mov dword [esp + 0x10], eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
push ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x18]
push edx
push eax
push ebp
call fcn.11f30ad0
add esp, 0xc
test eax, eax
je 0x11ee4136
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push edi
push edi
push ebx
mov dword [esp + 0x20], 1
call esi
push edi
push edi
push edi
push ebp
call esi
push 0x1000
call fcn.11e679bc
add esp, 4
mov esi, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x48], edi
mov ecx, 0x400
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
push 0x1000
push esi
push ebx
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x11ee4009
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x11ee401f
lea ecx, [esp + 0x24]
push edi
push ecx
push eax
push esi
push ebp
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x11ee4029
jmp 0x11ee3fc0
mov dword [0x12134da8], 0xd
mov dword [0x12134dac], 0xe33
jmp 0x11ee403d
mov dword [esp + 0x20], 1
jmp 0x11ee4050
mov dword [0x12134da8], 0xe
mov dword [0x12134dac], 0xe41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12134db0], eax
mov dword [esp + 0x48], 1
push esi
call fcn.11e679b1
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [esp + 0x20], edi
je 0x11ee40a3
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x11ee40a3
mov al, byte [esp + 0x54]
mov dword [esp + 0x14], 1
test al, 1
je 0x11ee4094
lea edx, [esp + 0x2c]
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x11ee40a3
push ebp
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
cmp ebp, 0xffffffff
je 0x11ee40b6
push ebp
call esi
cmp dword [esp + 0x14], edi
je 0x11ee415a
test byte [esp + 0x54], 2
je 0x11ee4179
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov dword [0x12134da8], 3
mov dword [0x12134dac], 0xdf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov dword [0x12134db0], eax
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
add esp, 0x34
ret
mov dword [0x12134da8], 4
mov dword [0x12134dac], 0xe0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12134db0], eax
jmp 0x11ee40a5
mov dword [0x12134da8], 0x25
mov dword [0x12134dac], 0xe1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12134db0], eax
jmp 0x11ee40a5
cmp dword [esp + 0x10], edi
je 0x11ee4179
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x11ee416e
mov dword [eax], 1
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov dword [0x12134da8], 1
mov dword [0x12134dac], 0xdcd
call ebx
pop edi
pop esi
mov dword [0x12134db0], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret