Function at 0x140014c30
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 0x140014c81
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.140015310
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 0x140014cd9
lock inc dword [rbx]
mov dword [rbp + 0x70], 0
mov esi, 0xffffffff
cmp qword [rsp + 0x50], 0
jle 0x140014f3f
xor r15d, r15d
lea r14, [0x14024eca0]
nop dword [rax + rax]
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x40]
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 + 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 0x140014db5
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.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 0x140014d63
mov rbx, qword [rsp + 0x68]
jmp 0x140014db8
mov rbx, rdi
lea rcx, [rsp + 0x58]
call fcn.140042c70
lea r14, [0x14024eca0]
test al, al
je 0x140014dd1
xor ecx, ecx
jmp 0x140014de0
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.140040430
and dword [rsp + 0x20], 0xfffffffd
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140014e2e
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014e2e
mov rcx, qword [rsp + 0x58]
call fcn.14021b810
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140014e4b
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014e4b
mov rcx, qword [rbp - 0x48]
call fcn.14021b810
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x40]
call fcn.14003f200
nop
mov r9, rax
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.140015c30
nop
mov rdx, rax
mov rdi, qword [rbp + 0x68]
mov rcx, rdi
call fcn.14003de10
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140014ea4
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014ea4
mov rcx, qword [rbp - 0x30]
call fcn.14021b810
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140014ec1
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014ec1
mov rcx, qword [rbp - 0x18]
call fcn.14021b810
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp]
mov rcx, rdi
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]
test rcx, rcx
je 0x140014f26
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014f26
mov rcx, qword [rbp]
call fcn.14021b810
mov eax, dword [rbp + 0x70]
add eax, dword [r12 + 4]
mov dword [rbp + 0x70], eax
movsxd r15, eax
cmp r15, qword [rsp + 0x50]
jl 0x140014d00
test rbx, rbx
je 0x140014f58
mov eax, esi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x140014f58
mov rcx, rbx
call fcn.14021b810
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140014f76
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014f76
mov rcx, qword [rbp - 0x60]
call fcn.14021b810
nop
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140014f93
lock xadd dword [rax], esi
cmp esi, 1
jne 0x140014f93
mov rcx, qword [rsp + 0x40]
call fcn.14021b810
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