Function at 0x1011e730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158673
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 4], 0
push str.Yj8EbvtiIXgeQ7o9
lea ecx, [ebp - 0x28]
call fcn.1000ccc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10002460
xor edx, edx
mov ecx, 0x10
div ecx
mov eax, 0x10
sub eax, edx
mov byte [ebp - 0x75], al
mov dword [ebp - 0x98], 0
jmp 0x1011e7af
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
movsx edx, byte [ebp - 0x75]
cmp dword [ebp - 0x98], edx
jae 0x1011e7ca
movzx eax, byte [ebp - 0x75]
push eax
lea ecx, [ebp - 0x28]
call fcn.100ff210
jmp 0x1011e7a0
lea ecx, [ebp - 0x28]
call fcn.1000c9b0
mov dword [ebp - 0xa4], eax
lea ecx, [ebp + 8]
call fcn.1000c9b0
mov dword [ebp - 0xd0], eax
call dword [sym.imp.LIBEAY32.dll_Ordinal_3782]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x1011e81c
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000cd00
mov al, byte [ebp - 0x80]
jmp 0x1011ec34
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
lea ecx, [ebp + 8]
call fcn.10002460
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
add eax, 0x10
cdq
and edx, 0xf
add eax, edx
sar eax, 4
shl eax, 4
add eax, 1
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.10141f46
add esp, 4
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0xa0]
push eax
push 0
mov ecx, dword [ebp - 0x74]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0
mov edx, dword [ebp - 0xa4]
push edx
push 0
call dword [sym.imp.LIBEAY32.dll_Ordinal_2720]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.LIBEAY32.dll_Ordinal_2894]
add esp, 0x14
cmp eax, 1
je 0x1011e913
cmp dword [ebp - 0x74], 0
je 0x1011e8d9
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.LIBEAY32.dll_Ordinal_3783]
add esp, 4
mov byte [ebp - 0x82], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000cd00
mov al, byte [ebp - 0x82]
jmp 0x1011ec34
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.LIBEAY32.dll_Ordinal_276]
add esp, 0x14
cmp eax, 1
je 0x1011e998
cmp dword [ebp - 0x74], 0
je 0x1011e964
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.LIBEAY32.dll_Ordinal_3783]
add esp, 4
mov byte [ebp - 0x7f], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000cd00
mov al, byte [ebp - 0x7f]
jmp 0x1011ec34
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.LIBEAY32.dll_Ordinal_2660]
add esp, 0xc
cmp eax, 1
je 0x1011ea27
cmp dword [ebp - 0x74], 0
je 0x1011e9ed
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.LIBEAY32.dll_Ordinal_3783]
add esp, 4
mov byte [ebp - 0x81], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000cd00
mov al, byte [ebp - 0x81]
jmp 0x1011ec34
mov ecx, dword [ebp - 0x8c]
add ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.LIBEAY32.dll_Ordinal_3783]
add esp, 4
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x58]
call fcn.10009e80
mov byte [ebp - 4], 2
cmp dword [ebp - 0x74], 0
je 0x1011ea83
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x40]
call fcn.1000cbb0
mov byte [ebp - 4], 3
mov dword [ebp - 0x90], 0
jmp 0x1011eaaa
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x58]
call fcn.10002460
cmp dword [ebp - 0x90], eax
jae 0x1011eb16
mov edx, dword [ebp - 0x90]
push edx
lea ecx, [ebp - 0x58]
call fcn.1007bee0
movsx eax, byte [eax]
and eax, 0xff
push eax
push 0x1017d48c
lea ecx, [ebp - 0x70]
push ecx
call fcn.1007b6f0
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x40]
call fcn.10036500
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.1000cd00
jmp 0x1011ea9b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 0x1017d484
call fcn.10002c60
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xa8]
call fcn.10001960
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xdc], esp
push eax
call fcn.10002c60
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 3
call fcn.100f7ea0
add esp, 0x30
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 0
jne 0x1011ebc6
mov byte [ebp - 0x7e], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1000cd00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.1000cd00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000cd00
mov al, byte [ebp - 0x7e]
jmp 0x1011ec34
mov eax, dword [ebp - 0x94]
push eax
push 1
lea ecx, [ebp - 0x40]
call fcn.10002460
push eax
lea ecx, [ebp - 0x40]
call fcn.1000c9b0
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov byte [ebp - 0x7d], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1000cd00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.1000cd00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000cd00
mov al, byte [ebp - 0x7d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret 0x18