Function at 0x100fabe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015a663
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x101ac034]
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.100029e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10002000
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 0x100fac5f
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
movsx edx, byte [ebp - 0x75]
cmp dword [ebp - 0x98], edx
jae 0x100fac7a
movzx eax, byte [ebp - 0x75]
push eax
lea ecx, [ebp - 0x28]
call fcn.100fb240
jmp 0x100fac50
lea ecx, [ebp - 0x28]
call fcn.10001f00
mov dword [ebp - 0xa4], eax
lea ecx, [ebp + 8]
call fcn.10001f00
mov dword [ebp - 0xd0], eax
call dword [sym.imp.LIBEAY32.dll_Ordinal_3782]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x100faccc
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10001f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001f50
mov al, byte [ebp - 0x80]
jmp 0x100fb0e4
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
lea ecx, [ebp + 8]
call fcn.10002000
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.1014578c
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 0x100fadc3
cmp dword [ebp - 0x74], 0
je 0x100fad89
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.10001f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001f50
mov al, byte [ebp - 0x82]
jmp 0x100fb0e4
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 0x100fae48
cmp dword [ebp - 0x74], 0
je 0x100fae14
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.10001f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001f50
mov al, byte [ebp - 0x7f]
jmp 0x100fb0e4
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 0x100faed7
cmp dword [ebp - 0x74], 0
je 0x100fae9d
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.10001f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001f50
mov al, byte [ebp - 0x81]
jmp 0x100fb0e4
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.1000ac60
mov byte [ebp - 4], 2
cmp dword [ebp - 0x74], 0
je 0x100faf33
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.1000d8b0
mov byte [ebp - 4], 3
mov dword [ebp - 0x90], 0
jmp 0x100faf5a
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x58]
call fcn.10002000
cmp dword [ebp - 0x90], eax
jae 0x100fafc6
mov edx, dword [ebp - 0x90]
push edx
lea ecx, [ebp - 0x58]
call fcn.1007d6a0
movsx eax, byte [eax]
and eax, 0xff
push eax
push 0x1017d48c
lea ecx, [ebp - 0x70]
push ecx
call fcn.1007ceb0
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.10035620
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.10001f50
jmp 0x100faf4b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 0x1017d484
call fcn.10003d50
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.10002bf0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xdc], esp
push eax
call fcn.10003d50
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 3
call fcn.100f9680
add esp, 0x30
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 0
jne 0x100fb076
mov byte [ebp - 0x7e], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.10001f50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10001f50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10001f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001f50
mov al, byte [ebp - 0x7e]
jmp 0x100fb0e4
mov eax, dword [ebp - 0x94]
push eax
push 1
lea ecx, [ebp - 0x40]
call fcn.10002000
push eax
lea ecx, [ebp - 0x40]
call fcn.10001f00
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.10001f50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10001f50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10001f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001f50
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.101506bb
mov esp, ebp
pop ebp
ret 0x18