Function at 0x140014c00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rdi, rdx
mov r12, rcx
mov dword [rsp + 0x20], 0
mov rcx, qword [r8]
mov qword [rsp + 0x40], rcx
mov rax, qword [r8 + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [r8 + 0x10]
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x140014c51
lock inc dword [rcx]
mov qword [rdx], 0
mov qword [rdx + 8], 0
mov qword [rdx + 0x10], 0
mov dword [rsp + 0x20], 1
mov r8, r9
lea rdx, [rbp - 0x60]
mov rcx, r12
call fcn.1400152e0
nop
mov rcx, qword [rbp + 0x80]
mov rbx, qword [rcx]
mov qword [rsp + 0x28], rbx
mov rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x38], rax
test rbx, rbx
je 0x140014ca9
lock inc dword [rbx]
mov dword [rbp + 0x70], 0
mov esi, 0xffffffff
cmp qword [rsp + 0x50], 0
jle 0x140014f0f
xor r15d, r15d
lea r14, [0x14024ecc0]
nop dword [rax + rax]
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x40]
call fcn.14003f1d0
mov r13, rax
mov rcx, qword [rax + 8]
mov rbx, r14
test rcx, rcx
cmovne rbx, rcx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
cmovne r14, rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor eax, eax
mov qword [rsp + 0x68], rax
or dword [rsp + 0x20], 2
xor edi, edi
mov rax, qword [r13 + 0x10]
cmp qword [rsp + 0x38], rax
cmovl rax, qword [rsp + 0x38]
test rax, rax
jle 0x140014d85
xor edx, edx
sub r14, rbx
movzx eax, byte [r14 + rbx]
xor al, byte [rbx]
mov byte [rbp + 0x80], al
mov qword [rbp - 0x80], 1
lea rax, [rbp + 0x80]
mov qword [rbp - 0x78], rax
lea r8, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14003ebd0
inc edi
lea rbx, [rbx + 1]
mov rax, qword [r13 + 0x10]
movsxd rdx, edi
cmp qword [rsp + 0x38], rax
cmovl rax, qword [rsp + 0x38]
cmp rdx, rax
jl 0x140014d33
mov rbx, qword [rsp + 0x68]
jmp 0x140014d88
mov rbx, rdi
lea rcx, [rsp + 0x58]
call fcn.140042c40
lea r14, [0x14024ecc0]
test al, al
je 0x140014da1
xor ecx, ecx
jmp 0x140014db0
mov rcx, r14
mov rax, qword [rsp + 0x60]
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rcx
movsxd r8, dword [r12 + 4]
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r9, [rsp + 0x70]
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.140040400
and dword [rsp + 0x20], 0xfffffffd
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140014dfe
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014dfe
mov rcx, qword [rsp + 0x58]
call fcn.14021b7f0
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140014e1b
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014e1b
mov rcx, qword [rbp - 0x48]
call fcn.14021b7f0
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x40]
call fcn.14003f1d0
nop
mov r9, rax
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.140015c00
nop
mov rdx, rax
mov rdi, qword [rbp + 0x68]
mov rcx, rdi
call fcn.14003dde0
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140014e74
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014e74
mov rcx, qword [rbp - 0x30]
call fcn.14021b7f0
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140014e91
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014e91
mov rcx, qword [rbp - 0x18]
call fcn.14021b7f0
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp]
mov rcx, rdi
call fcn.14003f1d0
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov qword [rax], rcx
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x30], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x38], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp]
test rcx, rcx
je 0x140014ef6
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014ef6
mov rcx, qword [rbp]
call fcn.14021b7f0
mov eax, dword [rbp + 0x70]
add eax, dword [r12 + 4]
mov dword [rbp + 0x70], eax
movsxd r15, eax
cmp r15, qword [rsp + 0x50]
jl 0x140014cd0
test rbx, rbx
je 0x140014f28
mov eax, esi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x140014f28
mov rcx, rbx
call fcn.14021b7f0
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140014f46
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014f46
mov rcx, qword [rbp - 0x60]
call fcn.14021b7f0
nop
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140014f63
lock xadd dword [rax], esi
cmp esi, 1
jne 0x140014f63
mov rcx, qword [rsp + 0x40]
call fcn.14021b7f0
mov rax, rdi
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret