Function at 0x1800a8b90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push r12
push r14
mov rbp, rsp
sub rsp, 0x68
xor r12d, r12d
mov rbx, rdx
mov edx, dword [r8 + 8]
mov eax, r12d
cmp edx, dword [0x1800efbc0]
mov r14, rcx
cmove rax, r8
test rax, rax
je 0x1800a8bdb
mov r8, qword [rax + 0x20]
mov rdx, rbx
call fcn.1800a8b90
mov rax, rbx
add rsp, 0x68
pop r14
pop r12
pop rbx
pop rbp
ret
cmp edx, dword [0x1800efbc4]
je 0x1800a91ef
cmp edx, dword [0x1800efbc8]
je 0x1800a91ef
cmp edx, dword [0x1800efbcc]
je 0x1800a91ef
cmp edx, dword [0x1800efbd0]
je 0x1800a91ef
cmp edx, dword [0x1800efbd4]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800a8c6a
lea rdx, [rax + 0x20]
add rcx, 0x10
call fcn.18009bb60
test rax, rax
lea rcx, [rax + 8]
cmove rcx, r12
test rcx, rcx
je 0x1800a8c52
mov rax, qword [rcx]
mov qword [rbx + 8], rax
mov rax, rbx
mov qword [rbx], r12
add rsp, 0x68
pop r14
pop r12
pop rbx
pop rbp
ret
mov rax, r12
mov qword [rbx], r12
mov qword [rbx + 8], rax
mov rax, rbx
add rsp, 0x68
pop r14
pop r12
pop rbx
pop rbp
ret
cmp edx, dword [0x1800efbd8]
jne 0x1800a8c8b
mov qword [rbx], 1
mov rax, rbx
mov qword [rbx + 8], r12
add rsp, 0x68
pop r14
pop r12
pop rbx
pop rbp
ret
cmp edx, dword [0x1800efbdc]
mov qword [rsp + 0x60], rdi
jne 0x1800a8ca9
mov edi, 3
mov qword [rbx + 8], r12
mov qword [rbx], rdi
jmp 0x1800a8f1b
cmp edx, dword [0x1800efbe0]
mov qword [rsp + 0x90], rsi
mov rsi, r12
cmove rsi, r8
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r15
test rsi, rsi
je 0x1800a8e4d
mov rcx, qword [rcx + 8]
movabs r15, 0x8080808080808080
cmp qword [rcx + 0x10], r12
je 0x1800a8d3c
mov r10, qword [rcx + 0x18]
mov rdx, r12
cmp rsi, r10
je 0x1800a8d3f
mov r9, qword [rcx + 8]
mov rax, rsi
mov r11, qword [rcx]
dec r9
shr rax, 5
xor rax, rsi
shr rax, 4
and rax, r9
nop dword [rax]
mov rcx, rax
shl rcx, 4
add rcx, r11
mov r8, qword [rcx]
cmp r8, rsi
je 0x1800a8e18
cmp r8, r10
je 0x1800a8d3c
inc rax
add rax, rdx
inc rdx
and rax, r9
cmp rdx, r9
jbe 0x1800a8d10
mov rdx, r12
lea r13, [rsi + 0x30]
mov rax, rdx
mov qword [rbp - 0x40], r12
neg rax
mov byte [rbp + 0x38], r12b
sbb rdi, rdi
add rdi, 3
mov qword [rbp - 0x48], rdi
test rdx, rdx
jne 0x1800a8d98
mov r8, qword [rsi + 0x20]
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.1800a8b90
mov byte [rbp + 0x38], r12b
mov rdx, qword [rax]
add rdx, rdi
mov rcx, rdx
and rcx, r15
mov rax, rcx
mov rdi, rcx
shr rax, 7
xor rdx, rcx
sub rdi, rax
or rdi, rdx
mov qword [rbp - 0x48], rdi
cmp qword [r13], r12
jbe 0x1800a8e0c
movzx ebx, byte [rbp + 0x38]
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rsi + 0x28]
lea rdx, [rbp - 0x38]
mov rcx, r14
mov r8, qword [r8 + r12*8]
call fcn.1800a8b90
mov rax, qword [rbp - 0x38]
test rax, rax
jne 0x1800a8dd6
test bl, bl
jne 0x1800a8dd6
mov eax, 1
lea rcx, [rax + rdi]
mov qword [rbp - 0x40], 0
mov rdx, rcx
inc r12
and rdx, r15
mov rax, rdx
mov rdi, rdx
shr rax, 7
xor rdx, rcx
sub rdi, rax
or rdi, rdx
cmp r12, qword [r13]
jb 0x1800a8db0
mov rbx, qword [rbp + 0x30]
mov qword [rbp - 0x48], rdi
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbx], xmm0
jmp 0x1800a8f09
test rcx, rcx
lea rdx, [rcx + 8]
cmove rdx, r12
test rdx, rdx
je 0x1800a8d3f
cmp qword [rsi + 0x30], 2
lea r13, [rsi + 0x30]
ja 0x1800a8d43
mov byte [rbp + 0x38], 1
mov edi, 2
mov qword [rbp - 0x40], r12
jmp 0x1800a8d94
cmp edx, dword [0x1800efbe4]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800a8e88
mov r8, qword [rax + 0x20]
lea rdx, [rbp - 0x38]
call fcn.1800a8b90
mov qword [rbx], r12
movabs r15, 0x8080808080808080
mov qword [rbx + 8], r12
mov r8, qword [rax]
inc r8
jmp 0x1800a9140
cmp edx, dword [0x1800efbe8]
mov rsi, r12
cmove rsi, r8
test rsi, rsi
je 0x1800a8eeb
mov r8, qword [rsi + 0x20]
lea rdx, [rbp - 0x38]
call fcn.1800a8b90
mov r8, qword [rsi + 0x28]
lea rdx, [rbp - 0x48]
mov rcx, r14
mov rdi, rax
call fcn.1800a8b90
mov rdx, qword [rdi]
movabs r15, 0x8080808080808080
add rdx, qword [rax]
mov rcx, rdx
and rcx, r15
mov rax, rcx
mov r8, rcx
shr rax, 7
xor rcx, rdx
sub r8, rax
or r8, rcx
inc r8
jmp 0x1800a913c
cmp edx, dword [0x1800efbec]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800a8f2e
mov edi, 0xa
mov qword [rbx], rdi
mov qword [rbx + 8], r12
mov r13, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov rax, rbx
add rsp, 0x68
pop r14
pop r12
pop rbx
pop rbp
ret
cmp edx, dword [0x1800efbf0]
mov rsi, r12
cmove rsi, r8
test rsi, rsi
je 0x1800a9006
mov edi, 0xa
mov qword [rbp + 0x38], r12
cmp qword [rsi + 0x28], r12
jbe 0x1800a8f02
movabs r15, 0x8080808080808080
nop dword [rax]
mov r13, qword [rsi + 0x20]
mov r8, qword [r13 + r12 + 8]
test r8, r8
je 0x1800a8f99
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.1800a8b90
mov rdx, qword [rax]
add rdx, rdi
mov rcx, rdx
and rcx, r15
mov rax, rcx
mov rdi, rcx
shr rax, 7
xor rcx, rdx
sub rdi, rax
or rdi, rcx
mov r8, qword [r13 + r12 + 0x10]
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.1800a8b90
add r12, 0x18
mov rdx, qword [rax]
add rdx, rdi
mov rcx, rdx
and rcx, r15
mov rax, rcx
mov r8, rcx
xor rcx, rdx
shr rax, 7
sub r8, rax
or r8, rcx
inc r8
mov rcx, r8
and rcx, r15
mov rax, rcx
mov rdi, rcx
xor rcx, r8
shr rax, 7
sub rdi, rax
or rdi, rcx
mov rcx, qword [rbp + 0x38]
inc rcx
mov qword [rbp + 0x38], rcx
cmp rcx, qword [rsi + 0x28]
jb 0x1800a8f60
xor r12d, r12d
jmp 0x1800a8f02
cmp edx, dword [0x1800efbf4]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800a9045
mov r8, qword [rax + 0x28]
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 0xffffffffffffffff
call fcn.1800a8b90
lea r8, [rbp - 0x48]
mov rdx, rax
mov rcx, rbx
call fcn.1800a8900
jmp 0x1800a8f09
cmp edx, dword [0x1800efbf8]
mov rsi, r12
cmove rsi, r8
test rsi, rsi
je 0x1800a908a
mov r8, qword [rsi + 0x30]
lea rdx, [rbp - 0x38]
call fcn.1800a8b90
mov r8, qword [rsi + 0x28]
lea rdx, [rbp - 0x48]
mov rcx, r14
mov rdi, rax
call fcn.1800a8b90
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.1800a8900
jmp 0x1800a8f09
cmp edx, dword [0x1800efbfc]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800a90ad
mov r8, qword [rax + 0x20]
mov rdx, rbx
call fcn.1800a8b90
jmp 0x1800a8f09
cmp edx, dword [0x1800efc00]
mov r13, r12
cmove r13, r8
test r13, r13
je 0x1800a9161
mov r8, qword [r13 + 0x20]
lea rdx, [rbp - 0x38]
call fcn.1800a8b90
mov r8, qword [r13 + 0x30]
lea rdx, [rbp - 0x48]
mov rcx, r14
mov rdi, rax
call fcn.1800a8b90
mov rsi, qword [rdi]
lea rdx, [rbp - 0x28]
mov r8, qword [r13 + 0x40]
movabs r15, 0x8080808080808080
mov rcx, r14
add rsi, qword [rax]
mov rdi, rsi
and rdi, r15
call fcn.1800a8b90
mov rcx, rdi
mov rdx, rdi
shr rcx, 7
xor rdi, rsi
sub rdx, rcx
or rdx, rdi
add rdx, qword [rax]
mov rcx, rdx
and rcx, r15
mov rax, rcx
mov r8, rcx
shr rax, 7
xor rcx, rdx
sub r8, rax
or r8, rcx
add r8, 2
mov qword [rbx + 8], r12
mov rdx, r8
and rdx, r15
mov rax, rdx
mov rcx, rdx
shr rax, 7
xor rdx, r8
sub rcx, rax
or rcx, rdx
mov qword [rbx], rcx
jmp 0x1800a8f09
cmp edx, dword [0x1800efc04]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800a91e7
mov rsi, qword [rax + 0x30]
mov edi, 3
mov rax, qword [rax + 0x38]
lea r12, [rsi + rax*8]
cmp rsi, r12
je 0x1800a91d7
movabs r15, 0x8080808080808080
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rsi]
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.1800a8b90
add rsi, 8
mov rdx, qword [rax]
add rdx, rdi
mov rcx, rdx
and rcx, r15
mov rax, rcx
mov rdi, rcx
shr rax, 7
xor rcx, rdx
sub rdi, rax
or rdi, rcx
cmp rsi, r12
jne 0x1800a91a0
mov qword [rbx], rdi
mov qword [rbx + 8], 0
jmp 0x1800a8f09
mov qword [rbx], r12
jmp 0x1800a8f05
mov qword [rbx], r12
mov rax, rbx
mov qword [rbx + 8], 0xffffffffffffffff
add rsp, 0x68
pop r14
pop r12
pop rbx
pop rbp
ret