Function at 0x1400195b4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400a1df8]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rdi, r9
mov r14, rdx
mov r15, rcx
mov qword [rbp - 0x10], r9
mov rsi, qword [rbp + 0x80]
mov qword [rbp - 8], rsi
or r12d, 0xffffffff
test rdx, rdx
je 0x140019a3f
mov rax, qword [r9]
cmp dword [rax - 0x10], 0
jle 0x140019a3f
and qword [rbp + 0x10], 0
lea r8, [0x14007ce60]
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.1400133b8
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140018fc8
nop
lea r8, [0x1400a5778]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140018fc8
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140019677
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400196a1
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
and qword [rbp], 0
lea r8, [0x14007cbd0]
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp]
call fcn.140053cf0
mov r9, qword [rbp]
test r9, r9
je 0x1400199f2
mov word [rbp + 8], 0xfeff
mov edx, 1
lea r8d, [rdx + 1]
lea rcx, [rbp + 8]
call fcn.140054b78
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rdx, [0x14007bb24]
lea rcx, [rbp - 0x40]
call fcn.1400067dc
mov rbx, rax
mov rcx, qword [0x1400a5740]
add rcx, 0xffffffffffffffe8
call fcn.1400135d4
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rcx, qword [0x1400a5738]
add rcx, 0xffffffffffffffe8
call fcn.1400135d4
add rax, 0x18
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
mov r8, r14
lea rdx, [rbp - 0x38]
mov rcx, r15
call fcn.14001bbc4
mov r8, qword [rax]
lea rdx, str._s_r_n
mov rcx, qword [rbp]
call fcn.14001db68
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400197a0
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rdx, [0x14007bb24]
lea rcx, [rbp - 0x30]
call fcn.1400067dc
mov rbx, rax
mov rcx, qword [0x1400a5748]
add rcx, 0xffffffffffffffe8
call fcn.1400135d4
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rcx, qword [0x1400a5738]
add rcx, 0xffffffffffffffe8
call fcn.1400135d4
add rax, 0x18
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
mov r8, r14
lea rdx, [rbp - 0x28]
mov rcx, r15
call fcn.14001bbc4
mov r8, qword [rax]
lea rbx, str._s_r_n
mov rdx, rbx
mov rcx, qword [rbp]
call fcn.14001db68
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140019864
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
mov rcx, qword [0x1400a5758]
add rcx, 0xffffffffffffffe8
call fcn.1400135d4
add rax, 0x18
mov qword [rsp + 0x78], rax
mov rcx, qword [0x1400a5750]
add rcx, 0xffffffffffffffe8
call fcn.1400135d4
add rax, 0x18
mov qword [rbp - 0x80], rax
mov rcx, qword [0x1400a5738]
add rcx, 0xffffffffffffffe8
call fcn.1400135d4
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
mov r8, r14
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.14001bbc4
mov r8, qword [rax]
mov rdx, rbx
mov rcx, qword [rbp]
call fcn.14001db68
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140019928
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
mov rcx, qword [0x1400a5768]
add rcx, 0xffffffffffffffe8
call fcn.1400135d4
add rax, 0x18
mov qword [rbp - 0x70], rax
mov rcx, qword [0x1400a5750]
add rcx, 0xffffffffffffffe8
call fcn.1400135d4
add rax, 0x18
mov qword [rbp - 0x68], rax
mov rcx, qword [0x1400a5738]
add rcx, 0xffffffffffffffe8
call fcn.1400135d4
add rax, 0x18
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
mov r8, r14
lea rdx, [rbp - 0x18]
mov rcx, r15
call fcn.14001bbc4
mov r8, qword [rax]
mov rdx, rbx
mov rcx, qword [rbp]
call fcn.14001db68
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400199e9
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
mov rcx, qword [rbp]
call fcn.140054154
mov rcx, qword [rbp + 0x10]
add rcx, 0xffffffffffffffe8
call fcn.1400135d4
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x58]
mov rcx, r15
call fcn.14001b578
nop
mov rdx, qword [rbp + 0x10]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140019a3f
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140019a69
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140019a92
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
xor eax, eax
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140037490
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret