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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0c1d
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push 1
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040a320
mov dword [ebp - 0x630], eax
push 0x4d9094
mov ecx, dword [ebp - 0x630]
push ecx
call fcn.0040a540
add esp, 8
mov byte [ebp - 0x495], al
lea ecx, [ebp - 0x49c]
call fcn.00409f10
movzx edx, byte [ebp - 0x495]
test edx, edx
je 0x4b8cd6
push 0x4d9098
lea ecx, [ebp + 0xc]
call fcn.00409f90
push 0xfde9
lea ecx, [ebp + 8]
call fcn.0040e660
push eax
lea ecx, [ebp - 0x520]
call fcn.0040a8a0
mov dword [ebp - 0x634], eax
mov ecx, dword [ebp - 0x634]
call fcn.0040e660
push eax
call sub.zlib1.dll_Ordinal_61
mov dword [ebp - 0x470], eax
lea ecx, [ebp - 0x520]
call fcn.0040a900
cmp dword [ebp - 0x470], 0
jne 0x4b8d4d
mov byte [ebp - 0x521], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00409f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00409f10
mov al, byte [ebp - 0x521]
jmp 0x4b8fba
mov dword [ebp - 0x418], 0
mov eax, dword [ebp - 0x470]
push eax
call sub.zlib1.dll_Ordinal_65
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x41c], 0
cmp dword [ebp - 0x10], 0
jne 0x4b8f86
push 0
push 0
push 0
push 0
push 0x400
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x46c]
push edx
mov eax, dword [ebp - 0x470]
push eax
call sub.zlib1.dll_Ordinal_64
test eax, eax
jne 0x4b8f72
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x47c]
call fcn.00409e90
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x474], edx
mov eax, dword [ebp - 0x474]
push eax
call fcn.0046e83b
add esp, 4
mov dword [ebp - 0x478], eax
cmp dword [ebp - 0x478], 0
je 0x4b8f63
mov ecx, dword [ebp - 0x470]
push ecx
call sub.zlib1.dll_Ordinal_67
mov dword [ebp - 0x480], eax
cmp dword [ebp - 0x480], 0
jne 0x4b8f54
mov edx, dword [ebp - 0x474]
push edx
mov eax, dword [ebp - 0x478]
push eax
mov ecx, dword [ebp - 0x470]
push ecx
call sub.zlib1.dll_Ordinal_68
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x484], 0
jl 0x4b8f48
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x488]
call fcn.00409df0
mov byte [ebp - 4], 3
push 0xfde9
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x628]
call fcn.0040a8d0
mov dword [ebp - 0x638], eax
mov ecx, dword [ebp - 0x638]
mov dword [ebp - 0x63c], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x63c]
call fcn.0040e660
push eax
lea ecx, [ebp - 0x488]
call fcn.00409f90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x628]
call fcn.0040a900
push 0x4d909c
push 0x4d90a0
lea ecx, [ebp - 0x488]
call fcn.00409fb0
cmp dword [ebp - 0x484], 0
jne 0x4b8ed3
push 0
lea ecx, [ebp - 0x488]
call fcn.0040e660
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4b8f39
push 1
lea ecx, [ebp - 0x488]
call fcn.0040e660
push eax
call fcn.004b6ff0
add esp, 8
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x48c], 0xffffffff
je 0x4b8f39
mov dword [ebp - 0x490], 0
push 0
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x474]
push eax
mov ecx, dword [ebp - 0x478]
push ecx
mov edx, dword [ebp - 0x48c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x488]
call fcn.00409f10
mov ecx, dword [ebp - 0x470]
push ecx
call sub.zlib1.dll_Ordinal_72
mov edx, dword [ebp - 0x478]
push edx
call fcn.0046db16
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.00409f10
mov eax, dword [ebp - 0x470]
push eax
call sub.zlib1.dll_Ordinal_66
mov dword [ebp - 0x10], eax
jmp 0x4b8d70
mov ecx, dword [ebp - 0x470]
push ecx
call sub.zlib1.dll_Ordinal_62
mov byte [ebp - 0x629], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00409f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00409f10
mov al, byte [ebp - 0x629]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret