Function at 0x49e0e0
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x42c4
call fcn.0058f400
mov eax, dword [0x66a9c4]
xor eax, esp
mov dword [esp + 0x42c0], eax
push ebx
push esi
push edi
push 0x401c
lea eax, [esp + 0xa4]
mov dword [esp + 0x48], edx
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
push 0
push eax
mov esi, ecx
movq qword [esp + 0x48], xmm0
call fcn.005a7320
add esp, 0xc
lea eax, [esp + 0x50]
push 0x50
push 0
push eax
call fcn.005a7320
add esp, 0xc
mov dword [esp + 0x10], 0
xor edi, edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push esi
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x44], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x28], 0x4a0e10
mov dword [esp + 0x2c], 0x4a0e30
mov dword [esp + 0x4c], 0x4a0e10
mov dword [esp + 0x50], 0x4a0e30
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x40], eax
cmp eax, 0xffffffff
jne 0x49e1bc
call esi
mov ebx, eax
test ebx, ebx
jne 0x49e4b4
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x4a0f50
mov dword [esp + 0x3c], 0x4a0f70
mov dword [esp + 0xa0], 0x4a1010
mov dword [esp + 0xa4], 0x4a1070
mov dword [esp + 0xa8], 0x4a1080
mov dword [esp + 0xac], 0x4a10d0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], edi
call fcn.004a10f0
lea ecx, [esp + 0x50]
call fcn.0049e8b0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0xa8]
call fcn.004a0830
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x49e253
lea edx, [esp + 0xc]
lea ecx, [esp + 0x50]
call fcn.0049e920
test ebx, ebx
jne 0x49e4b4
xor esi, esi
mov dword [esp + 0x14], esi
cmp dword [esp + 0x6c], esi
jbe 0x49e49e
mov eax, dword [esp + 0x60]
add eax, 0x19
mov dword [esp + 0x1c], eax
nop
push 0x208
lea eax, [esp + 0x40c4]
push 0
push eax
call fcn.005a7320
add esp, 0xc
lea eax, [esp + 0x40c0]
push dword [esp + 0x44]
push 0x104
push eax
call fcn.005b758d
mov edx, dword [esp + 0x9c]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
mov esi, dword [edx + esi*4 + 4]
sub esi, dword [edx + eax*4]
cmp esi, dword [esp + 0x2c]
jbe 0x49e2fb
push edi
call fcn.005afcb5
add esp, 4
mov dword [esp + 0x2c], esi
add esi, esi
je 0x49e491
push esi
call fcn.005b72c3
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
je 0x49e493
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x14]
mov ecx, dword [edx + esi*4]
mov edx, dword [edx + esi*4 + 4]
sub edx, ecx
test edi, edi
je 0x49e334
mov eax, dword [esp + 0x94]
lea esi, [eax + ecx*2]
test edx, edx
je 0x49e330
mov ecx, edi
sub esi, edi
nop
mov ax, word [esi + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
sub edx, 1
jne 0x49e320
mov esi, dword [esp + 0x14]
push edi
lea eax, [esp + 0x40c4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
jne 0x49e38d
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x64]
push eax
push esi
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x70]
call fcn.004a0bc0
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x49e49e
xor edi, edi
cmp word [esp + 0x40c0], di
je 0x49e3ef
xor ecx, ecx
lea esi, [esp + 0x40c0]
movzx eax, word [esi]
cmp eax, 0x2f
je 0x49e3b4
mov edx, 0x2f2f
cmp ax, dx
jne 0x49e3dc
cmp ecx, 0x208
jae 0x49e57c
xor eax, eax
push eax
mov word [esi], ax
lea eax, [esp + 0x40c4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, 0x5c
mov word [esi], ax
inc edi
lea esi, [esp + 0x40c0]
lea ecx, [edi + edi]
add esi, ecx
cmp word [esi], 0
jne 0x49e3a2
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x40c0]
push 0
cmp byte [edi], 0
je 0x49e40a
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x49e46e
mov edi, dword [esp + 0x1c]
xor ebx, ebx
add edi, dword [esp + 0x2c]
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49e437
mov ebx, 1
jmp 0x49e46a
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
push dword [esp + 0x2c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x18], eax
mov eax, 1
cmovne ebx, eax
cmp esi, 0xffffffff
je 0x49e46a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x1c]
test ebx, ebx
jne 0x49e49a
mov esi, dword [esp + 0x14]
add edi, 0x20
inc esi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x6c]
jae 0x49e49e
jmp 0x49e270
xor edi, edi
mov ebx, 1
jmp 0x49e49e
mov edi, dword [esp + 0x20]
push dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
call dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
push dword [esp + 0x80]
lea eax, [esp + 0x10]
push eax
call dword [esp + 0x18]
push dword [esp + 0x8c]
lea eax, [esp + 0x18]
push eax
call dword [esp + 0x20]
push dword [esp + 0x98]
lea eax, [esp + 0x20]
push eax
call dword [esp + 0x28]
push dword [esp + 0xa4]
lea eax, [esp + 0x28]
push eax
call dword [esp + 0x30]
push dword [esp + 0xb0]
lea eax, [esp + 0x30]
push eax
call dword [esp + 0x38]
push dword [esp + 0xbc]
lea eax, [esp + 0x38]
push eax
call dword [esp + 0x40]
lea edx, [esp + 0x3c]
mov dword [esp + 0xc4], 0
lea ecx, [esp + 0x80]
mov dword [esp + 0xc8], 0
call fcn.0049e800
lea ecx, [esp + 0x80]
call fcn.0049e8b0
push edi
call fcn.005afcb5
mov eax, dword [esp + 0x74]
add esp, 0x34
cmp eax, 0xffffffff
je 0x49e565
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x49e565
call esi
mov ecx, dword [esp + 0x42cc]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058e2fa
mov esp, ebp
pop ebp
ret
call fcn.0058eb16
int3