Function at 0x1400d13a0
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 [0x140a23bc8]
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.140157618
test eax, eax
je 0x1400d1400
mov ecx, eax
call fcn.140157c40
nop
mov rdx, r12
lea rcx, [rbp - 8]
call fcn.140060ae0
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rsi
call fcn.1400d0c60
mov rdi, rax
mov qword [rbp - 0x80], rax
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rsi
call fcn.1400d2260
mov rbx, rax
lea r8, [rsp + 0x38]
mov rdx, rdi
mov rcx, rsi
call fcn.1400d2410
mov r13, rax
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x38]
mov rdx, rdi
mov rcx, rsi
call fcn.1400d2410
mov rdx, rax
xor r8d, r8d
mov eax, r8d
cmp dword [rsp + 0x38], 0xb
sete al
lea rcx, [rax + 7]
shr rdx, cl
mov qword [rsp + 0x78], rdx
mov r15, rbx
shr r15, 6
test bl, 0x3f
je 0x1400d1513
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.14015763c
test eax, eax
je 0x1400d14bf
mov ecx, eax
call fcn.140157c40
nop
mov rcx, qword [r12]
test rcx, rcx
je 0x1400d1b25
mov rdx, qword [r12 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400d14f9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400d1b54
mov rcx, r8
call fcn.140177360
xor edi, edi
mov qword [r12], rdi
mov qword [r12 + 8], rdi
mov qword [r12 + 0x10], rdi
jmp 0x1400d1b25
mov rax, qword [rsi + 0x20]
mov r13d, 0xffffffff
test rax, rax
je 0x1400d16b4
mov r13, qword [rsi + 0x18]
add rax, r13
mov qword [rsp + 0x50], rax
cmp r13, rax
je 0x1400d16ae
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.140060ae0
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x1400d156a
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 0x1400d15c1
mov rcx, rdi
call fcn.140195ad0
test eax, eax
jne 0x1400d15c1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400d15c1
mov eax, dword [rsp + 0x40]
cmp eax, dword [rsp + 0x38]
je 0x1400d163e
test rbx, rbx
je 0x1400d15f8
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400d15f4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d15f4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1400d1631
mov rdx, qword [rbp - 0x68]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400d1629
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d1b48
mov rcx, rdi
call fcn.140177360
inc r13
cmp r13, qword [rsp + 0x50]
jmp 0x1400d1535
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 0x1400d1679
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.1400d0810
nop
mov rcx, qword [rsp + 0x58]
call fcn.14015763c
test eax, eax
je 0x1400d16a1
mov ecx, eax
call fcn.140157c40
nop
mov rcx, r12
call fcn.140039090
jmp 0x1400d1b25
mov r13d, 0xffffffff
mov ecx, 0x18
call fcn.140177324
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400d16df
mov edx, r15d
shl edx, 6
lea r8, [rsp + 0x30]
mov rcx, rax
call fcn.14007e8f0
xor edi, edi
jmp 0x1400d16e3
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.1400d02a0
nop
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.140060ae0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x1400d1729
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.1400d2800
nop
lea rcx, [rbp - 0x38]
call fcn.1400d0810
mov rdx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
mov rcx, qword [rsi]
mov rax, rdi
test rcx, rcx
je 0x1400d1771
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400d1771
mov rax, qword [rcx]
lea r9, [r8 - 1]
add r9, rdx
test rax, rax
je 0x1400d1792
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d1792
mov rax, qword [rcx]
test rax, rax
je 0x1400d1792
mov rax, qword [rax]
jmp 0x1400d1795
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.1400c4cc0
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.1400d28f0
mov edi, 1
cmp r15d, edi
je 0x1400d1811
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.1400d28f0
inc edi
cmp edi, r15d
jne 0x1400d17e0
mov eax, 3
mov qword [rsp + 0x40], rax
xor r9d, r9d
nop
mov edi, r9d
test r15d, r15d
je 0x1400d19a6
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.1400d28f0
inc edi
cmp edi, r15d
mov r9d, 0
jne 0x1400d1830
mov rax, qword [rsp + 0x40]
sub rax, 1
mov qword [rsp + 0x40], rax
jne 0x1400d1820
movzx eax, byte [rsi + 0x28]
cmp qword [rsi + 0x20], rax
jbe 0x1400d19ea
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.1400d0810
sub qword [rsi + 0x20], 1
jne 0x1400d19e6
xor edi, edi
mov qword [rsi + 0x18], rdi
jmp 0x1400d19ea
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 0x1400d1a2d
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400d1a2d
mov rax, qword [rcx]
dec rdx
add rdx, r8
test rax, rax
je 0x1400d1a4d
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d1a4d
mov rax, qword [rcx]
test rax, rax
je 0x1400d1a4d
mov rax, qword [rax]
jmp 0x1400d1a50
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 0x1400d1a7e
lock inc dword [rax + 8]
mov rcx, qword [rsp + 0x68]
jmp 0x1400d1a83
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 0x1400d1aca
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d1aca
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 0x1400d1aca
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x58]
call fcn.14015763c
test eax, eax
je 0x1400d1ae0
mov ecx, eax
call fcn.140157c40
nop
mov rcx, qword [r12]
test rcx, rcx
je 0x1400d1b25
mov rdx, qword [r12 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400d1b12
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400d1b4e
mov rcx, r8
call fcn.140177360
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.1401777c0
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14019862c
nop
call fcn.14019862c
int3
call fcn.14019862c
int3