Function at 0x140015160
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x90]
movabs rax, 0x736775622f67726f
movabs r15, 0x756f6e6520746f6e
movabs r14, 0x6563617073206867
movabs r13, 0x726f6620726f6620
movabs r12, 0x617078652074616d
movabs rdi, 0x5028206e6f69736e
movabs r11, 0x757320657361656c
movabs r10, 0x6c75662074696d62
movabs r9, 0x657220677562206c
movabs r8, 0x2074612074726f70
movabs rbx, 0x202020200a3a292f
mov qword [rbp + 0x50], rcx
mov rsi, rdx
sub rsi, qword [rbp + 0x50]
movabs rcx, 0x2f2f3a7370747468
movabs rdx, 0x2e756e672e636367
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r14
lea rax, [rsi + 0x78]
mov qword [rbp - 0x60], r13
and rax, 0xfffffffffffffff0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], r11
mov qword [rbp - 0x40], r10
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], 0
call fcn.14000d330
sub rsp, rax
movabs rax, 0x736775622f67726f
mov qword [rsp + 0x70], rdx
mov rdx, qword [rbp + 0x50]
lea rbx, [rsp + 0x20]
mov qword [rsp + 0x60], r8
mov r8, rsi
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x78], rax
movabs rax, 0x202020200a3a292f
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x80], rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rcx, rbx
mov byte [rsp + rsi + 0x88], 0
call fcn.1400270b0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x140028240], 0
jne 0x140015266
mov byte [0x140028240], 1
call fcn.140026840
test rax, rax
je 0x14001523c
mov rbx, qword [rax + 8]
lea r9, [rsp + 0x2c]
xor eax, eax
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call fcn.14000c120
mov ecx, 2
mov rsi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
mov r8d, 0x30
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x14001522d
call rsi
mov rcx, rbx
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x140029271]
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140015228
mov rcx, rdi
call fcn.14000e100
call fcn.140026a00
call rsi
mov rcx, rdi
mov rdx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
jmp 0x1400151f7
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
sub rdx, 1
mov rcx, rax
jne 0x1400152fb
call fcn.140026690
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
call fcn.140026870
jmp 0x140015261
call fcn.140026690
call fcn.140026870
jmp 0x140015261