Function at 0x140019ab4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400a1df8]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, r8
mov rsi, rdx
mov r13, rcx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], r8
and qword [rbp - 0x30], 0
and qword [rbp - 0x20], 0
lea r8, [0x14007ce90]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x30]
call fcn.140053cf0
mov rcx, qword [rbp - 0x30]
test rcx, rcx
jne 0x140019b6c
mov rdx, qword [rsi]
sub rdx, 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140019b3b
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140019b62
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
mov eax, 2
jmp 0x140019d8d
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1400543c8
mov rcx, qword [rbp - 0x30]
call fcn.140054920
movsxd rbx, eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x30]
call fcn.1400543c8
mov rcx, rbx
call fcn.1400374f0
mov r12, rax
test rax, rax
jne 0x140019c07
mov rcx, qword [rbp - 0x30]
call fcn.140054154
nop
mov rdx, qword [rsi]
sub rdx, 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140019bd6
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140019bfd
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
mov eax, 1
jmp 0x140019d8d
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8d, 1
mov rdx, rbx
mov rcx, r12
call fcn.140054028
mov rbx, rax
or edi, 0xffffffff
test eax, eax
jle 0x140019d20
lfence
and dword [rbp - 0x28], 0
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ebx
mov rdx, r12
lea rcx, [r13 + 0x98]
call fcn.140012c00
mov ecx, dword [rbp - 0x28]
call fcn.1400374f0
mov r15, rax
test rax, rax
je 0x140019d20
lfence
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8d, ebx
mov rdx, r12
lea rcx, [r13 + 0x98]
call fcn.140012c00
test eax, eax
jne 0x140019d18
mov rcx, qword [rbp - 0x30]
call fcn.140054154
and qword [rbp - 0x30], 0
mov rax, qword [r14]
mov rcx, rsi
cmp dword [rax - 0x10], 0
cmovg rcx, r14
mov rcx, qword [rcx]
sub rcx, 0x18
call fcn.1400135d4
lea rbx, [rax + 0x18]
lea r8, [0x14007cbd0]
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140053cf0
mov r9, qword [rbp - 0x20]
test r9, r9
je 0x140019cf4
mov r8d, dword [rbp - 0x28]
lea edx, [rdi + 2]
mov rcx, r15
call fcn.140054b78
mov rcx, qword [rbp - 0x20]
call fcn.140054154
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140019d18
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
mov rcx, r15
call fcn.140036a34
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140019d33
call fcn.140054154
and qword [rbp - 0x30], 0
mov rcx, r12
call fcn.140036a34
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140019d64
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140019d8b
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140078a80]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140037490
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret