Function at 0x4eee90
Capabilities:
Create directory
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x568cbe
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5b3680]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov ecx, dword [0x5ba51c]
lea eax, [esp + 0x1c]
mov ebx, dword [ebp + 8]
push 1
push eax
call fcn.0045c1a0
mov dword [esp + 0x288], 0
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
push dword [esp + 0x20]
push 0
call esi
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.004022c0
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x288], 2
lea ecx, [esp + 0x14]
push 1
push 0x58af04
call fcn.00443ec0
call fcn.00402a00
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4eef47
push 0x80004005
call fcn.004027b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x288], 4
mov edx, 0x581a44
push 1
push 1
lea ecx, [esp + 0x28]
call fcn.004820b0
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
add esp, 8
push dword [edi - 0xc]
push edi
call fcn.00443ec0
push 0
push dword [esp + 0x18]
push 0
call esi
push 1
push 0x58af04
lea ecx, [esp + 0x1c]
call fcn.00443ec0
lea eax, [esp + 0x18]
push eax
lea ecx, [ebx + 4]
call fcn.00436c90
mov byte [esp + 0x288], 5
lea ecx, [esp + 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00443ec0
mov byte [esp + 0x288], 4
or eax, 0xffffffff
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4eefe7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx + 0x14], 0
mov esi, dword [esp + 0x14]
je 0x4ef024
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x4ef024
cmp dword [ebx + 0x14], 1
je 0x4ef01d
cmp dword [ebx + 0x18], 1
je 0x4ef01d
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebx + 0x28], 0
je 0x4ef05a
push 0x58c254
push esi
call fcn.0052e5ea
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x4ef05a
push eax
push dword [ebx + 0x2c]
push 1
push dword [ebx + 0x28]
call fcn.0052b6e4
push dword [esp + 0x28]
call fcn.0052c324
add esp, 0x14
mov byte [esp + 0x288], 2
add edi, 0xfffffff0
or ebx, 0xffffffff
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ef07e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x288], 0
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4ef09f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x288], 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4ef0c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 4