Function at 0x140014d90
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 0x140014de1
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.140015470
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 0x140014e39
lock inc dword [rbx]
mov dword [rbp + 0x70], 0
mov esi, 0xffffffff
cmp qword [rsp + 0x50], 0
jle 0x14001509f
xor r15d, r15d
lea r14, [0x14025ad40]
nop dword [rax + rax]
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x40]
call fcn.14003f170
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 0x140014f15
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.14003ec90
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 0x140014ec3
mov rbx, qword [rsp + 0x68]
jmp 0x140014f18
mov rbx, rdi
lea rcx, [rsp + 0x58]
call fcn.140042b10
lea r14, [0x14025ad40]
test al, al
je 0x140014f31
xor ecx, ecx
jmp 0x140014f40
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.140040370
and dword [rsp + 0x20], 0xfffffffd
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140014f8e
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014f8e
mov rcx, qword [rsp + 0x58]
call fcn.1402275a0
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140014fab
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140014fab
mov rcx, qword [rbp - 0x48]
call fcn.1402275a0
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x40]
call fcn.14003f170
nop
mov r9, rax
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.140015d90
nop
mov rdx, rax
mov rdi, qword [rbp + 0x68]
mov rcx, rdi
call fcn.14003de70
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140015004
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140015004
mov rcx, qword [rbp - 0x30]
call fcn.1402275a0
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140015021
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140015021
mov rcx, qword [rbp - 0x18]
call fcn.1402275a0
movsxd r9, dword [r12 + 4]
mov r8, r15
lea rdx, [rbp]
mov rcx, rdi
call fcn.14003f170
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 0x140015086
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140015086
mov rcx, qword [rbp]
call fcn.1402275a0
mov eax, dword [rbp + 0x70]
add eax, dword [r12 + 4]
mov dword [rbp + 0x70], eax
movsxd r15, eax
cmp r15, qword [rsp + 0x50]
jl 0x140014e60
test rbx, rbx
je 0x1400150b8
mov eax, esi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1400150b8
mov rcx, rbx
call fcn.1402275a0
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400150d6
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400150d6
mov rcx, qword [rbp - 0x60]
call fcn.1402275a0
nop
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400150f3
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1400150f3
mov rcx, qword [rsp + 0x40]
call fcn.1402275a0
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