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

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x102ac760]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x1ec
mov eax, 0x10109be9
call fcn.100b2747
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x410]
call fcn.10018700
mov esi, 0x10115758
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10005850
mov ecx, dword [ebp - 0x14]
test eax, eax
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10005330
test bl, bl
je 0x10077400
push esi
lea ecx, [ebp + 0x410]
call fcn.100030e0
push 0xfde9
push dword [ebp + 0x40c]
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], eax
call fcn.10008fc0
push dword [ebp - 0xa4]
call sub.zlib1.dll_Ordinal_61
mov esi, eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0xa4], eax
je 0x1007744c
push dword [ebp - 0xa4]
call fcn.100b2b5c
pop ecx
xor ebx, ebx
cmp esi, ebx
jne 0x10077495
xor bl, bl
mov ecx, dword [ebp + 0x40c]
add ecx, 0xfffffff0
call fcn.10005330
mov ecx, dword [ebp + 0x410]
add ecx, 0xfffffff0
call fcn.10005330
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.100b2738
add ebp, 0x404
leave
ret
push esi
call sub.zlib1.dll_Ordinal_65
cmp eax, ebx
jne 0x10077613
push ebx
push ebx
push ebx
push ebx
push 0x400
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1f8]
push eax
push esi
call sub.zlib1.dll_Ordinal_64
test eax, eax
jne 0x10077605
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002f20
mov edi, dword [ebp - 0x1dc]
push edi
mov byte [ebp - 4], 3
call fcn.100b3223
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x100775f6
cmp byte [ebp + 0x414], 0
je 0x10077503
push str.cdf283818fda91abb904873e7125055e
push esi
call sub.zlib1.dll_Ordinal_79
jmp 0x10077509
push esi
call sub.zlib1.dll_Ordinal_67
cmp eax, ebx
jne 0x100775ed
push edi
push dword [ebp - 0x18]
push esi
call sub.zlib1.dll_Ordinal_68
mov esi, eax
cmp esi, ebx
jl 0x100775e2
lea eax, [ebp + 0x410]
push eax
lea ecx, [ebp - 0x10]
call fcn.100035f0
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1a8], eax
push 0xfde9
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 4
call fcn.1001a120
push dword [ebp - 0x1a8]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.100030e0
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1a8], eax
je 0x10077588
push dword [ebp - 0x1a8]
call fcn.100b2b5c
pop ecx
push 0x10115758
push 0x10115730
lea ecx, [ebp - 0x10]
call fcn.10018390
cmp esi, ebx
jne 0x100775aa
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x100775d7
push 1
push dword [ebp - 0x10]
call fcn.100fd1d0
mov esi, eax
pop ecx
pop ecx
cmp esi, 0xffffffff
je 0x100775d7
push ebx
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10005330
push dword [ebp - 0x14]
call sub.zlib1.dll_Ordinal_72
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.100b2b5c
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10005330
push esi
call sub.zlib1.dll_Ordinal_66
test eax, eax
je 0x100774a3
push esi
call sub.zlib1.dll_Ordinal_62
mov bl, 1
jmp 0x10077454