Function at 0x140014fc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov r13, r8
mov rdi, rdx
mov r12, rcx
mov dword [rsp + 0x20], 0
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 - 0x70]
call fcn.140015310
nop
mov rcx, qword [rbp + 0x70]
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 0x140015049
lock inc dword [rbx]
mov dword [rsp + 0x24], 0
mov esi, 0xffffffff
cmp qword [r13 + 0x10], 0
jle 0x1400152b1
xor r15d, r15d
lea r14, [0x14024eca0]
nop dword [rax + rax]
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp - 0x40]
mov rcx, r13
call fcn.14003f200
nop
mov r9, rax
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x58]
mov rcx, r12
call fcn.140015ee0
nop
mov rdx, rax
mov rcx, rdi
call fcn.14003de10
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400150c3
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400150c3
mov rcx, qword [rbp - 0x58]
call fcn.14021b810
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400150e0
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400150e0
mov rcx, qword [rbp - 0x40]
call fcn.14021b810
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14003f200
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 + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], 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 0x140015190
xor edx, edx
sub r14, rbx
movzx eax, byte [r14 + rbx]
xor al, byte [rbx]
mov byte [rbp + 0x70], al
mov qword [rsp + 0x70], 1
lea rax, [rbp + 0x70]
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14003ec00
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 0x140015141
mov rbx, qword [rsp + 0x50]
jmp 0x140015193
mov rbx, rdi
lea rcx, [rsp + 0x40]
call fcn.140042c70
test al, al
je 0x1400151a5
xor ecx, ecx
jmp 0x1400151b8
lea rcx, [0x14024eca0]
mov rax, qword [rsp + 0x48]
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rcx
movsxd r8, dword [r12 + 4]
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x60]
mov rdx, r15
mov rdi, qword [rbp + 0x58]
mov rcx, rdi
call fcn.140040430
and dword [rsp + 0x20], 0xfffffffd
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140015208
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140015208
mov rcx, qword [rsp + 0x40]
call fcn.14021b810
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140015225
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140015225
mov rcx, qword [rbp - 0x28]
call fcn.14021b810
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp - 0x10]
mov r13, qword [rbp + 0x60]
mov rcx, r13
call fcn.14003f200
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 - 0x10]
test rcx, rcx
je 0x14001528e
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14001528e
mov rcx, qword [rbp - 0x10]
call fcn.14021b810
mov r14d, dword [rsp + 0x24]
add r14d, dword [r12 + 4]
mov dword [rsp + 0x24], r14d
movsxd r15, r14d
cmp r15, qword [r13 + 0x10]
lea r14, [0x14024eca0]
jl 0x140015070
test rbx, rbx
je 0x1400152ca
mov eax, esi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1400152ca
mov rcx, rbx
call fcn.14021b810
nop
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x1400152e5
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1400152e5
mov rcx, qword [rbp - 0x70]
call fcn.14021b810
mov rax, rdi
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret