Function at 0x14008d7f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x140e22df8]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r12, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rdx
mov qword [rbp - 0x40], r8
mov dword [rsp + 0x38], r9d
add rcx, 0x70
mov qword [rsp + 0x58], rcx
call fcn.140124cb0
test eax, eax
je 0x14008d850
mov ecx, eax
call fcn.140125314
nop
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.140055a10
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rsi
call fcn.14008d090
mov rdi, rax
mov qword [rbp - 0x80], rax
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rsi
call fcn.14008e6b0
mov rbx, rax
lea r8, [rsp + 0x38]
mov rdx, rdi
mov rcx, rsi
call fcn.14008e870
mov r13, rax
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x38]
mov rdx, rdi
mov rcx, rsi
call fcn.14008e870
mov rdx, rax
xor r8d, r8d
mov eax, r8d
cmp dword [rsp + 0x38], 6
sete al
lea rcx, [rax + 7]
shr rdx, cl
mov qword [rsp + 0x78], rdx
mov r15, rbx
shr r15, 6
test bl, 0x3f
je 0x14008d963
mov qword [r14], r13
mov dword [r14 + 8], edx
mov qword [r14 + 0x10], rdi
shl r15d, 6
mov eax, r15d
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], r8
mov qword [r14 + 0x28], r8
mov rcx, qword [rsp + 0x58]
call fcn.140124d10
test eax, eax
je 0x14008d90f
mov ecx, eax
call fcn.140125314
nop
mov rcx, qword [r12]
test rcx, rcx
je 0x14008df75
mov rdx, qword [r12 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14008d949
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14008dfa4
mov rcx, r8
call fcn.140143924
xor edi, edi
mov qword [r12], rdi
mov qword [r12 + 8], rdi
mov qword [r12 + 0x10], rdi
jmp 0x14008df75
mov rax, qword [rsi + 0x20]
mov r13d, 0xffffffff
test rax, rax
je 0x14008db04
mov r13, qword [rsi + 0x18]
add rax, r13
mov qword [rsp + 0x50], rax
cmp r13, rax
je 0x14008dafe
mov rcx, qword [rsi + 0x10]
dec rcx
and rcx, r13
mov rax, qword [rsi + 8]
mov rdi, qword [rax + rcx*8]
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.140055a10
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14008d9ba
lock inc dword [rbx + 8]
mov rbx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rbx
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x40], eax
mov dword [rbp - 0x50], eax
mov rdx, qword [r12]
mov r8, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
sub r8, rdi
mov rax, qword [r12 + 8]
sub rax, rdx
cmp r8, rax
jne 0x14008da11
mov rcx, rdi
call fcn.1401624d0
test eax, eax
jne 0x14008da11
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14008da11
mov eax, dword [rsp + 0x40]
cmp eax, dword [rsp + 0x38]
je 0x14008da8e
test rbx, rbx
je 0x14008da48
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14008da44
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14008da44
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x14008da81
mov rdx, qword [rbp - 0x68]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14008da79
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008df98
mov rcx, rdi
call fcn.140143924
inc r13
cmp r13, qword [rsp + 0x50]
jmp 0x14008d985
mov rax, qword [rsp + 0x70]
mov qword [r14], rax
mov rax, qword [rsp + 0x78]
mov dword [r14 + 8], eax
mov rax, qword [rbp - 0x80]
mov qword [r14 + 0x10], rax
shl r15d, 6
mov eax, r15d
mov qword [r14 + 0x18], rax
xor edi, edi
mov qword [r14 + 0x20], rdi
mov qword [r14 + 0x28], rdi
test rbx, rbx
je 0x14008dac9
lock inc dword [rbx + 8]
mov rcx, qword [rbp - 0x60]
mov qword [r14 + 0x20], rcx
mov qword [r14 + 0x28], rbx
lea rcx, [rbp - 0x78]
call fcn.14008cb70
nop
mov rcx, qword [rsp + 0x58]
call fcn.140124d10
test eax, eax
je 0x14008daf1
mov ecx, eax
call fcn.140125314
nop
mov rcx, r12
call fcn.140055b10
jmp 0x14008df75
mov r13d, 0xffffffff
mov ecx, 0x18
call fcn.1401438e8
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14008db2f
mov edx, r15d
shl edx, 6
lea r8, [rsp + 0x30]
mov rcx, rax
call fcn.1400705f0
xor edi, edi
jmp 0x14008db33
xor edi, edi
mov eax, edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movzx r8d, byte [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14008c600
nop
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.140055a10
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x14008db79
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
mov eax, dword [rsp + 0x38]
mov dword [rbp - 0x10], eax
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.14008eca0
nop
lea rcx, [rbp - 0x38]
call fcn.14008cb70
mov rdx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
mov rcx, qword [rsi]
mov rax, rdi
test rcx, rcx
je 0x14008dbc1
mov rcx, qword [rcx]
test rcx, rcx
je 0x14008dbc1
mov rax, qword [rcx]
lea r9, [r8 - 1]
add r9, rdx
test rax, rax
je 0x14008dbe2
mov rcx, qword [rax]
test rcx, rcx
je 0x14008dbe2
mov rax, qword [rcx]
test rax, rax
je 0x14008dbe2
mov rax, qword [rax]
jmp 0x14008dbe5
mov rax, rdi
mov rcx, qword [rax + 0x10]
dec rcx
and rcx, r9
mov rax, qword [rax + 8]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + 0x18]
mov rbx, qword [rax]
call fcn.140080b70
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x20
mov r8, qword [r12]
lea edx, [r9 + 0x20]
mov rcx, rbx
call fcn.14008ed90
mov edi, 1
cmp r15d, edi
je 0x14008dc61
nop dword [rax]
mov eax, edi
shl eax, 6
mov ecx, eax
lea r8d, [rax - 0x40]
add r8, rbx
add rcx, rbx
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov edx, 0x40
mov r9d, edx
call fcn.14008ed90
inc edi
cmp edi, r15d
jne 0x14008dc30
mov eax, 3
mov qword [rsp + 0x40], rax
xor r9d, r9d
nop
mov edi, r9d
test r15d, r15d
je 0x14008ddf6
nop dword [rax]
mov r10d, edi
shl r10d, 6
add r10, rbx
xor edx, edx
mov eax, dword [r10]
div r15d
mov r8d, edx
lea eax, [r15 - 1]
add eax, edi
xor edx, edx
div r15d
shl edx, 6
movups xmm0, xmmword [rdx + rbx]
movaps xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rdx + rbx + 0x10]
movaps xmmword [rbp + 0x20], xmm1
movups xmm2, xmmword [rdx + rbx + 0x20]
movaps xmmword [rbp + 0x30], xmm2
movups xmm3, xmmword [rdx + rbx + 0x30]
movaps xmmword [rbp + 0x40], xmm3
shl r8d, 4
lea edx, [r8*4]
movd eax, xmm0
mov dword [rbp + 0x10], eax
xor eax, dword [rdx + rbx]
mov dword [rbp + 0x10], eax
lea eax, [rdx + 4]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x14], eax
lea eax, [r8*4 + 8]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x18], eax
lea eax, [r8*4 + 0xc]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x1c], eax
lea ecx, [r8*4 + 0x10]
movd eax, xmm1
mov dword [rbp + 0x20], eax
xor eax, dword [rcx + rbx]
mov dword [rbp + 0x20], eax
lea eax, [r8*4 + 0x14]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x24], eax
lea eax, [r8*4 + 0x18]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x28], eax
lea eax, [r8*4 + 0x1c]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x2c], eax
lea ecx, [r8*4 + 0x20]
movd eax, xmm2
mov dword [rbp + 0x30], eax
xor eax, dword [rcx + rbx]
mov dword [rbp + 0x30], eax
lea eax, [r8*4 + 0x24]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x34], eax
lea eax, [r8*4 + 0x28]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x38], eax
lea eax, [r8*4 + 0x2c]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x3c], eax
lea ecx, [r8*4 + 0x30]
movd eax, xmm3
mov dword [rbp + 0x40], eax
xor eax, dword [rcx + rbx]
mov dword [rbp + 0x40], eax
lea eax, [r8*4 + 0x34]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x44], eax
lea eax, [r8*4 + 0x38]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x48], eax
lea eax, [r8*4 + 0x3c]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x4c], eax
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
mov r9d, 0x40
lea r8, [rbp + 0x10]
mov edx, r9d
mov rcx, r10
call fcn.14008ed90
inc edi
cmp edi, r15d
mov r9d, 0
jne 0x14008dc80
mov rax, qword [rsp + 0x40]
sub rax, 1
mov qword [rsp + 0x40], rax
jne 0x14008dc70
movzx eax, byte [rsi + 0x28]
cmp qword [rsi + 0x20], rax
jbe 0x14008de3a
mov rcx, qword [rsi + 0x10]
dec rcx
and rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 8]
mov rcx, qword [rax + rcx*8]
call fcn.14008cb70
sub qword [rsi + 0x20], 1
jne 0x14008de36
xor edi, edi
mov qword [rsi + 0x18], rdi
jmp 0x14008de3a
inc qword [rsi + 0x18]
mov rax, qword [rsp + 0x70]
mov qword [r14], rax
mov rax, qword [rsp + 0x78]
mov dword [r14 + 8], eax
mov rax, qword [rbp - 0x80]
mov qword [r14 + 0x10], rax
shl r15d, 6
mov eax, r15d
mov qword [r14 + 0x18], rax
mov rdx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
mov rcx, qword [rsi]
xor esi, esi
mov eax, esi
test rcx, rcx
je 0x14008de7d
mov rcx, qword [rcx]
test rcx, rcx
je 0x14008de7d
mov rax, qword [rcx]
dec rdx
add rdx, r8
test rax, rax
je 0x14008de9d
mov rcx, qword [rax]
test rcx, rcx
je 0x14008de9d
mov rax, qword [rcx]
test rax, rax
je 0x14008de9d
mov rax, qword [rax]
jmp 0x14008dea0
mov rax, rsi
mov rcx, qword [rax + 0x10]
dec rcx
and rcx, rdx
mov rax, qword [rax + 8]
mov rdx, qword [rax + rcx*8]
mov qword [r14 + 0x20], rsi
mov qword [r14 + 0x28], rsi
mov rax, qword [rdx + 0x20]
test rax, rax
je 0x14008dece
lock inc dword [rax + 8]
mov rcx, qword [rsp + 0x68]
jmp 0x14008ded3
mov rcx, qword [rsp + 0x48]
mov rax, qword [rdx + 0x18]
mov qword [r14 + 0x20], rax
mov rax, qword [rdx + 0x20]
mov qword [r14 + 0x28], rax
test rcx, rcx
je 0x14008df1a
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008df1a
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x14008df1a
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x58]
call fcn.140124d10
test eax, eax
je 0x14008df30
mov ecx, eax
call fcn.140125314
nop
mov rcx, qword [r12]
test rcx, rcx
je 0x14008df75
mov rdx, qword [r12 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14008df62
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14008df9e
mov rcx, r8
call fcn.140143924
mov qword [r12], rsi
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], rsi
mov rax, r14
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140143d80
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140165594
nop
call fcn.140165594
int3
call fcn.140165594
int3