Function at 0x14008dfb0
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 - 0x58]
sub rsp, 0x158
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov rax, qword [0x140e22df8]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r13, r8
mov r12, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rdx
mov qword [rbp - 0x50], r8
mov dword [rsp + 0x28], r9d
add rcx, 0x70
mov qword [rsp + 0x70], rcx
call fcn.140124cb0
test eax, eax
je 0x14008e010
mov ecx, eax
call fcn.140125314
nop
mov rdx, r13
lea rcx, [rbp - 0x18]
call fcn.140055a10
lea r8, [rsp + 0x28]
mov rdx, rax
mov rcx, rsi
call fcn.14008d090
mov rbx, rax
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x28]
mov rdx, rax
mov rcx, rsi
call fcn.14008e6b0
mov r14, rax
lea r8, [rsp + 0x28]
mov rdx, rbx
mov rcx, rsi
call fcn.14008e870
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x28]
mov rdx, rbx
mov rcx, rsi
call fcn.14008e870
mov rdx, rax
xor eax, eax
cmp dword [rsp + 0x28], 6
sete al
lea rcx, [rax + 7]
shr rdx, cl
mov qword [rsp + 0x60], rdx
shr r14, 6
mov rcx, qword [rsi + 0x20]
mov r15d, 0xffffffff
test rcx, rcx
je 0x14008e237
mov r15, qword [rsi + 0x18]
lea rax, [r15 + rcx]
mov qword [rsp + 0x40], rax
cmp r15, rax
je 0x14008e231
mov rcx, qword [rsi + 0x10]
dec rcx
and rcx, r15
mov rax, qword [rsi + 8]
mov rdi, qword [rax + rcx*8]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140055a10
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14008e0e2
lock inc dword [rbx + 8]
mov rbx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rbx
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x30], eax
mov dword [rbp - 0x60], eax
mov rdx, qword [r13]
mov r8, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x78]
sub r8, rdi
mov rax, qword [r13 + 8]
sub rax, rdx
cmp r8, rax
jne 0x14008e139
mov rcx, rdi
call fcn.1401624d0
test eax, eax
jne 0x14008e139
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14008e139
mov eax, dword [rsp + 0x30]
cmp eax, dword [rsp + 0x28]
je 0x14008e1b7
test rbx, rbx
je 0x14008e171
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14008e16c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14008e16c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14008e1aa
mov rdx, qword [rbp - 0x78]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14008e1a2
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008e6a0
mov rcx, rdi
call fcn.140143924
inc r15
cmp r15, qword [rsp + 0x40]
jmp 0x14008e0ac
mov rax, qword [rsp + 0x58]
mov qword [r12], rax
mov rax, qword [rsp + 0x60]
mov dword [r12 + 8], eax
mov rax, qword [rsp + 0x68]
mov qword [r12 + 0x10], rax
shl r14d, 6
mov eax, r14d
mov qword [r12 + 0x18], rax
xor eax, eax
mov qword [r12 + 0x20], rax
mov qword [r12 + 0x28], rax
test rbx, rbx
je 0x14008e1f9
lock inc dword [rbx + 8]
mov rcx, qword [rbp - 0x70]
mov qword [r12 + 0x20], rcx
mov qword [r12 + 0x28], rbx
lea rcx, [rsp + 0x78]
call fcn.14008cb70
nop
mov rcx, qword [rsp + 0x70]
call fcn.140124d10
test eax, eax
je 0x14008e224
mov ecx, eax
call fcn.140125314
nop
mov rcx, r13
call fcn.140055b10
jmp 0x14008e67d
mov r15d, 0xffffffff
mov ecx, 0x18
call fcn.1401438e8
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14008e25f
mov edx, r14d
shl edx, 6
lea r8, [rsp + 0x20]
mov rcx, rax
call fcn.1400705f0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movzx r8d, byte [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14008c600
nop
mov rdx, r13
lea rcx, [rbp - 0x48]
call fcn.140055a10
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x14008e2a5
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
mov eax, dword [rsp + 0x28]
mov dword [rbp - 0x20], eax
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.14008eca0
nop
lea rcx, [rbp - 0x48]
call fcn.14008cb70
mov rdx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
mov rcx, qword [rsi]
xor eax, eax
test rcx, rcx
je 0x14008e2ec
mov rcx, qword [rcx]
test rcx, rcx
je 0x14008e2ec
mov rax, qword [rcx]
lea r9, [r8 - 1]
add r9, rdx
test rax, rax
je 0x14008e30d
mov rcx, qword [rax]
test rcx, rcx
je 0x14008e30d
mov rax, qword [rcx]
test rax, rax
je 0x14008e30d
mov rax, qword [rax]
jmp 0x14008e30f
xor eax, eax
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 r9d, 0x20
mov r8, qword [r13]
lea edx, [r9 + 0x20]
mov rcx, rbx
call fcn.140092230
mov edi, 1
cmp r14d, edi
je 0x14008e375
nop dword [rax]
mov eax, edi
shl eax, 6
mov ecx, eax
lea r8d, [rax - 0x40]
add r8, rbx
add rcx, rbx
mov edx, 0x40
mov r9d, edx
call fcn.140092230
inc edi
cmp edi, r14d
jne 0x14008e350
mov eax, 3
mov qword [rsp + 0x30], rax
nop
xor edi, edi
test r14d, r14d
je 0x14008e4f6
nop dword [rax + rax]
mov r10d, edi
shl r10d, 6
add r10, rbx
xor edx, edx
mov eax, dword [r10]
div r14d
mov r8d, edx
lea eax, [r14 - 1]
add eax, edi
xor edx, edx
div r14d
shl edx, 6
movups xmm0, xmmword [rdx + rbx]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [rdx + rbx + 0x10]
movaps xmmword [rbp + 0x10], xmm1
movups xmm2, xmmword [rdx + rbx + 0x20]
movaps xmmword [rbp + 0x20], xmm2
movups xmm3, xmmword [rdx + rbx + 0x30]
movaps xmmword [rbp + 0x30], xmm3
shl r8d, 4
lea edx, [r8*4]
movd eax, xmm0
mov dword [rbp], eax
xor eax, dword [rdx + rbx]
mov dword [rbp], eax
lea eax, [rdx + 4]
mov eax, dword [rax + rbx]
xor dword [rbp + 4], eax
lea eax, [r8*4 + 8]
mov eax, dword [rax + rbx]
xor dword [rbp + 8], eax
lea eax, [r8*4 + 0xc]
mov eax, dword [rax + rbx]
xor dword [rbp + 0xc], eax
lea ecx, [r8*4 + 0x10]
movd eax, xmm1
mov dword [rbp + 0x10], eax
xor eax, dword [rcx + rbx]
mov dword [rbp + 0x10], eax
lea eax, [r8*4 + 0x14]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x14], eax
lea eax, [r8*4 + 0x18]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x18], eax
lea eax, [r8*4 + 0x1c]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x1c], eax
lea ecx, [r8*4 + 0x20]
movd eax, xmm2
mov dword [rbp + 0x20], eax
xor eax, dword [rcx + rbx]
mov dword [rbp + 0x20], eax
lea eax, [r8*4 + 0x24]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x24], eax
lea eax, [r8*4 + 0x28]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x28], eax
lea eax, [r8*4 + 0x2c]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x2c], eax
lea ecx, [r8*4 + 0x30]
movd eax, xmm3
mov dword [rbp + 0x30], eax
xor eax, dword [rcx + rbx]
mov dword [rbp + 0x30], eax
lea eax, [r8*4 + 0x34]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x34], eax
lea eax, [r8*4 + 0x38]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x38], eax
lea eax, [r8*4 + 0x3c]
mov eax, dword [rax + rbx]
xor dword [rbp + 0x3c], eax
mov r9d, 0x40
lea r8, [rbp]
mov edx, r9d
mov rcx, r10
call fcn.140092230
inc edi
cmp edi, r14d
jne 0x14008e390
mov rax, qword [rsp + 0x30]
sub rax, 1
mov qword [rsp + 0x30], rax
jne 0x14008e380
movzx eax, byte [rsi + 0x28]
cmp qword [rsi + 0x20], rax
jbe 0x14008e53c
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 0x14008e538
mov qword [rsi + 0x18], 0
jmp 0x14008e53c
inc qword [rsi + 0x18]
mov rax, qword [rsp + 0x58]
mov qword [r12], rax
mov rax, qword [rsp + 0x60]
mov dword [r12 + 8], eax
mov rax, qword [rsp + 0x68]
mov qword [r12 + 0x10], rax
shl r14d, 6
mov eax, r14d
mov qword [r12 + 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 0x14008e584
mov rcx, qword [rcx]
test rcx, rcx
je 0x14008e584
mov rax, qword [rcx]
dec rdx
add rdx, r8
test rax, rax
je 0x14008e5a4
mov rcx, qword [rax]
test rcx, rcx
je 0x14008e5a4
mov rax, qword [rcx]
test rax, rax
je 0x14008e5a4
mov rax, qword [rax]
jmp 0x14008e5a7
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 [r12 + 0x20], rsi
mov qword [r12 + 0x28], rsi
mov rax, qword [rdx + 0x20]
test rax, rax
je 0x14008e5d7
lock inc dword [rax + 8]
mov rcx, qword [rsp + 0x50]
jmp 0x14008e5dc
mov rcx, qword [rsp + 0x38]
mov rax, qword [rdx + 0x18]
mov qword [r12 + 0x20], rax
mov rax, qword [rdx + 0x20]
mov qword [r12 + 0x28], rax
test rcx, rcx
je 0x14008e625
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008e625
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x14008e625
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x70]
call fcn.140124d10
test eax, eax
je 0x14008e63b
mov ecx, eax
call fcn.140125314
nop
mov rcx, qword [r13]
test rcx, rcx
je 0x14008e67d
mov rdx, qword [r13 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14008e66c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14008e6a6
mov rcx, r8
call fcn.140143924
mov qword [r13], rsi
mov qword [r13 + 8], rsi
mov qword [r13 + 0x10], rsi
mov rax, r12
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140143d80
add rsp, 0x158
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