Function at 0x1400d1b60
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 [0x140a23bc8]
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.140157618
test eax, eax
je 0x1400d1bc0
mov ecx, eax
call fcn.140157c40
nop
mov rdx, r13
lea rcx, [rbp - 0x18]
call fcn.140060ae0
lea r8, [rsp + 0x28]
mov rdx, rax
mov rcx, rsi
call fcn.1400d0c60
mov rbx, rax
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x28]
mov rdx, rax
mov rcx, rsi
call fcn.1400d2260
mov r14, rax
lea r8, [rsp + 0x28]
mov rdx, rbx
mov rcx, rsi
call fcn.1400d2410
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x28]
mov rdx, rbx
mov rcx, rsi
call fcn.1400d2410
mov rdx, rax
xor eax, eax
cmp dword [rsp + 0x28], 0xb
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 0x1400d1de7
mov r15, qword [rsi + 0x18]
lea rax, [r15 + rcx]
mov qword [rsp + 0x40], rax
cmp r15, rax
je 0x1400d1de1
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.140060ae0
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x1400d1c92
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 0x1400d1ce9
mov rcx, rdi
call fcn.140195ad0
test eax, eax
jne 0x1400d1ce9
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400d1ce9
mov eax, dword [rsp + 0x30]
cmp eax, dword [rsp + 0x28]
je 0x1400d1d67
test rbx, rbx
je 0x1400d1d21
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400d1d1c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d1d1c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x1400d1d5a
mov rdx, qword [rbp - 0x78]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400d1d52
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d2250
mov rcx, rdi
call fcn.140177360
inc r15
cmp r15, qword [rsp + 0x40]
jmp 0x1400d1c5c
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 0x1400d1da9
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.1400d0810
nop
mov rcx, qword [rsp + 0x70]
call fcn.14015763c
test eax, eax
je 0x1400d1dd4
mov ecx, eax
call fcn.140157c40
nop
mov rcx, r13
call fcn.140039090
jmp 0x1400d222d
mov r15d, 0xffffffff
mov ecx, 0x18
call fcn.140177324
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400d1e0f
mov edx, r14d
shl edx, 6
lea r8, [rsp + 0x20]
mov rcx, rax
call fcn.14007e8f0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movzx r8d, byte [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400d02a0
nop
mov rdx, r13
lea rcx, [rbp - 0x48]
call fcn.140060ae0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x1400d1e55
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.1400d2800
nop
lea rcx, [rbp - 0x48]
call fcn.1400d0810
mov rdx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
mov rcx, qword [rsi]
xor eax, eax
test rcx, rcx
je 0x1400d1e9c
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400d1e9c
mov rax, qword [rcx]
lea r9, [r8 - 1]
add r9, rdx
test rax, rax
je 0x1400d1ebd
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d1ebd
mov rax, qword [rcx]
test rax, rax
je 0x1400d1ebd
mov rax, qword [rax]
jmp 0x1400d1ebf
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.1400c4cc0
mov r9d, 0x20
mov r8, qword [r13]
lea edx, [r9 + 0x20]
mov rcx, rbx
call fcn.1400d5d90
mov edi, 1
cmp r14d, edi
je 0x1400d1f25
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.1400d5d90
inc edi
cmp edi, r14d
jne 0x1400d1f00
mov eax, 3
mov qword [rsp + 0x30], rax
nop
xor edi, edi
test r14d, r14d
je 0x1400d20a6
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.1400d5d90
inc edi
cmp edi, r14d
jne 0x1400d1f40
mov rax, qword [rsp + 0x30]
sub rax, 1
mov qword [rsp + 0x30], rax
jne 0x1400d1f30
movzx eax, byte [rsi + 0x28]
cmp qword [rsi + 0x20], rax
jbe 0x1400d20ec
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 0x1400d20e8
mov qword [rsi + 0x18], 0
jmp 0x1400d20ec
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 0x1400d2134
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400d2134
mov rax, qword [rcx]
dec rdx
add rdx, r8
test rax, rax
je 0x1400d2154
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d2154
mov rax, qword [rcx]
test rax, rax
je 0x1400d2154
mov rax, qword [rax]
jmp 0x1400d2157
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 0x1400d2187
lock inc dword [rax + 8]
mov rcx, qword [rsp + 0x50]
jmp 0x1400d218c
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 0x1400d21d5
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d21d5
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 0x1400d21d5
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x70]
call fcn.14015763c
test eax, eax
je 0x1400d21eb
mov ecx, eax
call fcn.140157c40
nop
mov rcx, qword [r13]
test rcx, rcx
je 0x1400d222d
mov rdx, qword [r13 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400d221c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400d2256
mov rcx, r8
call fcn.140177360
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.1401777c0
add rsp, 0x158
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