Function at 0x140003290
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
cmp byte [0x1400f1050], 0
mov rsi, rcx
mov rbx, rdx
je 0x140003328
mov rax, qword [rdx]
lea rdx, [rdx + 0x10]
mov dword [rsp + 0x3c], 0
mov rdi, qword [rdx - 8]
cmp rax, rdx
lea rbp, [rdi + 1]
je 0x140003510
mov rdx, qword [rbx + 0x10]
cmp rbp, rdx
ja 0x140003520
mov byte [rax + rdi], 0xa
mov rax, qword [rbx]
lea r9, [rsp + 0x3c]
mov qword [rbx + 8], rbp
mov byte [rax + rdi + 1], 0
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x20], 0
mov r8d, dword [rbx + 8]
mov rdx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400033f0
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rax, qword [0x1400c93d0]
mov ecx, 0x24
movabs rsi, 0x74276e646c756f43
movabs rdi, 0x7420657469727720
lea rbx, [rsp + 0x70]
mov qword [rsp + 0x60], rbx
lea r13, [rsp + 0x60]
mov r12, qword [rax]
call fcn.1400bf690
mov edx, 0x6570
mov r8d, 2
mov qword [rsp + 0x70], 0x23
mov qword [rax], rsi
movabs rsi, 0x43203a444d43206f
mov qword [rax + 8], rdi
movabs rdi, 0x6f20746f6e20444d
mov word [rax + 0x20], dx
mov rcx, r12
mov rdx, r13
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov byte [rax + 0x22], 0x6e
mov byte [rax + 0x23], 0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x23
call fcn.14000f2d0
mov rcx, qword [rsp + 0x60]
cmp rcx, rbx
je 0x140003312
mov rax, qword [rsp + 0x70]
lea rdx, [rax + 1]
call fcn.1400bf650
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rax, qword [0x1400c93d0]
lea r13, [rsp + 0x40]
mov r8, rbx
lea rdx, str.Couldnt_write_command_
mov rcx, r13
mov r12, qword [rax]
call fcn.1400bd630
mov rbx, qword [rsp + 0x48]
movabs rax, 0x7fffffffffffffff
sub rax, rbx
cmp rax, 0xa
jbe 0x140003580
mov rdx, qword [rsp + 0x40]
lea rsi, [rsp + 0x50]
mov eax, 0xf
lea rdi, [rbx + 0xb]
cmp rdx, rsi
cmovne rax, qword [rsp + 0x50]
cmp rdi, rax
ja 0x140003548
add rdx, rbx
mov ecx, 0x6e49
movabs rax, 0x647473206f742027
mov qword [rdx], rax
mov word [rdx + 8], cx
mov byte [rdx + 0xa], 0x2e
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rdi
mov byte [rax + rbx + 0xb], 0
mov rax, qword [rsp + 0x40]
lea rbx, [rsp + 0x70]
mov qword [rsp + 0x60], rbx
cmp rax, rsi
je 0x140003570
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
mov rcx, r12
mov qword [rsp + 0x40], rsi
mov r8d, 2
mov byte [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x68], rax
call fcn.14000f2d0
mov rcx, qword [rsp + 0x60]
cmp rcx, rbx
je 0x1400034ed
mov rax, qword [rsp + 0x70]
lea rdx, [rax + 1]
call fcn.1400bf650
mov rcx, qword [rsp + 0x40]
cmp rcx, rsi
je 0x140003312
mov rax, qword [rsp + 0x50]
lea rdx, [rax + 1]
call fcn.1400bf650
jmp 0x140003312
mov edx, 0xf
jmp 0x1400032d2
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1400acba0
mov rax, qword [rbx]
jmp 0x1400032db
mov qword [rsp + 0x20], 0xb
lea r9, str._to_stdIn.
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call fcn.1400acba0
jmp 0x14000346f
movdqa xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm0
jmp 0x1400034a5
lea rcx, [0x1400c4122]
lea rsi, [rsp + 0x50]
call fcn.1400c0760
mov rcx, qword [rsp + 0x60]
mov r12, rax
cmp rcx, rbx
je 0x1400035c9
mov rax, qword [rsp + 0x70]
lea rdx, [rax + 1]
call fcn.1400bf650
jmp 0x1400035c9
mov rcx, qword [rsp + 0x40]
cmp rcx, rsi
je 0x1400035c9
mov rax, qword [rsp + 0x50]
lea rdx, [rax + 1]
call fcn.1400bf650
mov rcx, r12
call fcn.14001b780
mov rcx, qword [rsp + 0x60]
mov r12, rax
cmp rcx, rbx
je 0x1400035b1
mov rax, qword [rsp + 0x70]
lea rdx, [rax + 1]
call fcn.1400bf650
jmp 0x1400035b1