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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f2f7
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x102ac760]
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.10018700
mov dword [ebp - 0x65c], eax
push 0x10288e0c
mov ecx, dword [ebp - 0x65c]
push ecx
call fcn.10018830
add esp, 8
mov byte [ebp - 0x495], al
lea ecx, [ebp - 0x49c]
call fcn.10003610
movzx edx, byte [ebp - 0x495]
test edx, edx
je 0x100ff016
push 0x10288e10
lea ecx, [ebp + 0xc]
call fcn.100089a0
push 0xfde9
lea ecx, [ebp + 8]
call fcn.10008dd0
push eax
lea ecx, [ebp - 0x520]
call fcn.10018ae0
mov dword [ebp - 0x660], eax
mov ecx, dword [ebp - 0x660]
call fcn.10008dd0
push eax
call sub.zlib1.dll_Ordinal_61
mov dword [ebp - 0x470], eax
lea ecx, [ebp - 0x520]
call fcn.10008db0
cmp dword [ebp - 0x470], 0
jne 0x100ff08d
mov byte [ebp - 0x521], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10003610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10003610
mov al, byte [ebp - 0x521]
jmp 0x100ff2fa
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 0x100ff2c6
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 0x100ff2b2
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x47c]
call fcn.10002f20
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x474], edx
mov eax, dword [ebp - 0x474]
push eax
call fcn.100b3223
add esp, 4
mov dword [ebp - 0x478], eax
cmp dword [ebp - 0x478], 0
je 0x100ff2a3
mov ecx, dword [ebp - 0x470]
push ecx
call sub.zlib1.dll_Ordinal_67
mov dword [ebp - 0x480], eax
cmp dword [ebp - 0x480], 0
jne 0x100ff294
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 0x100ff288
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x488]
call fcn.100035f0
mov byte [ebp - 4], 3
push 0xfde9
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x628]
call fcn.10018b10
mov dword [ebp - 0x664], eax
mov ecx, dword [ebp - 0x664]
mov dword [ebp - 0x668], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x668]
call fcn.10015b40
push eax
lea ecx, [ebp - 0x488]
call fcn.100089a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x628]
call fcn.10018b40
push 0x10288e14
push 0x10288e18
lea ecx, [ebp - 0x488]
call fcn.10018390
cmp dword [ebp - 0x484], 0
jne 0x100ff213
push 0
lea ecx, [ebp - 0x488]
call fcn.10008dd0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x100ff279
push 1
lea ecx, [ebp - 0x488]
call fcn.10008dd0
push eax
call fcn.100fd1d0
add esp, 8
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x48c], 0xffffffff
je 0x100ff279
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.10003610
mov ecx, dword [ebp - 0x470]
push ecx
call sub.zlib1.dll_Ordinal_72
mov edx, dword [ebp - 0x478]
push edx
call fcn.100b2b5c
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.10003610
mov eax, dword [ebp - 0x470]
push eax
call sub.zlib1.dll_Ordinal_66
mov dword [ebp - 0x10], eax
jmp 0x100ff0b0
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.10003610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10003610
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.100b2738
mov esp, ebp
pop ebp
ret