Function at 0x1800c5ab0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push r12
push r14
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x1802b7c00]
xor rax, rsp
mov qword [rbp - 0x28], rax
xor r12d, r12d
mov rbx, rdx
mov edx, dword [r8 + 8]
mov eax, r12d
cmp edx, dword [0x1802c4374]
mov r14, rcx
cmove rax, r8
test rax, rax
je 0x1800c5afc
mov r8, qword [rax + 0x20]
mov rdx, rbx
call fcn.1800c5ab0
jmp 0x1800c5d98
cmp edx, dword [0x1802c432c]
je 0x1800c606f
cmp edx, dword [0x1802c437c]
je 0x1800c606f
cmp edx, dword [0x1802c4368]
je 0x1800c606f
cmp edx, dword [0x1802c43d0]
je 0x1800c606f
cmp edx, dword [0x1802c43bc]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800c5b6e
lea rdx, [rax + 0x20]
add rcx, 0x10
call fcn.1800c2930
test rax, rax
je 0x1800c5b5f
mov rax, qword [rax]
mov qword [rbx + 8], rax
mov qword [rbx], r12
jmp 0x1800c5d98
mov rax, r12
mov qword [rbx], r12
mov qword [rbx + 8], rax
jmp 0x1800c5d98
cmp edx, dword [0x1802c43cc]
jne 0x1800c5b86
mov qword [rbx], 1
mov qword [rbx + 8], r12
jmp 0x1800c5d98
cmp edx, dword [0x1802c436c]
mov qword [rsp + 0x70], rdi
jne 0x1800c5ba4
mov edi, 3
mov qword [rbx + 8], r12
mov qword [rbx], rdi
jmp 0x1800c5d93
cmp edx, dword [0x1802c43d4]
mov qword [rsp + 0xb8], rsi
mov rsi, r12
cmove rsi, r8
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r15
mov qword [rbp - 0x58], rsi
test rsi, rsi
je 0x1800c5cc5
mov rcx, qword [rcx + 8]
lea rdx, [rbp - 0x58]
call fcn.1800c2930
mov rcx, rax
movabs r15, 0x8080808080808080
test rax, rax
je 0x1800c5c04
cmp qword [rsi + 0x30], 2
ja 0x1800c5c04
mov r13b, 1
mov qword [rbp - 0x50], r12
mov edi, 2
jmp 0x1800c5c4d
neg rax
mov qword [rbp - 0x50], r12
sbb rdi, rdi
xor r13b, r13b
add rdi, 3
mov qword [rbp - 0x58], rdi
test rcx, rcx
jne 0x1800c5c51
mov r8, qword [rsi + 0x20]
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.1800c5ab0
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 qword [rbp - 0x58], rdi
cmp qword [rsi + 0x30], r12
jbe 0x1800c5cb9
nop word [rax + rax]
mov r8, qword [rsi + 0x28]
lea rdx, [rbp - 0x38]
mov rcx, r14
mov r8, qword [r8 + r12*8]
call fcn.1800c5ab0
mov rax, qword [rbp - 0x38]
test rax, rax
jne 0x1800c5c87
test r13b, r13b
jne 0x1800c5c87
mov eax, 1
lea rcx, [rax + rdi]
mov qword [rbp - 0x50], 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 [rsi + 0x30]
jb 0x1800c5c60
mov qword [rbp - 0x58], rdi
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbx], xmm0
jmp 0x1800c5d81
cmp edx, dword [0x1802c4354]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800c5d00
mov r8, qword [rax + 0x20]
lea rdx, [rbp - 0x38]
call fcn.1800c5ab0
mov qword [rbx], r12
movabs r15, 0x8080808080808080
mov qword [rbx + 8], r12
mov r8, qword [rax]
inc r8
jmp 0x1800c5fc1
cmp edx, dword [0x1802c43c4]
mov rsi, r12
cmove rsi, r8
test rsi, rsi
je 0x1800c5d63
mov r8, qword [rsi + 0x20]
lea rdx, [rbp - 0x38]
call fcn.1800c5ab0
mov r8, qword [rsi + 0x28]
lea rdx, [rbp - 0x58]
mov rcx, r14
mov rdi, rax
call fcn.1800c5ab0
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 0x1800c5fbd
cmp edx, dword [0x1802c4358]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800c5db2
mov edi, 0xa
mov qword [rbx], rdi
mov qword [rbx + 8], r12
mov r13, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov rax, rbx
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.1801fc6e0
add rsp, 0x78
pop r14
pop r12
pop rbx
pop rbp
ret
cmp edx, dword [0x1802c43e4]
mov rsi, r12
cmove rsi, r8
test rsi, rsi
je 0x1800c5e87
mov edi, 0xa
mov qword [rbp - 0x58], r12
cmp qword [rsi + 0x28], r12
jbe 0x1800c5d7a
movabs r15, 0x8080808080808080
mov r13, qword [rsi + 0x20]
mov r8, qword [r13 + r12 + 8]
test r8, r8
je 0x1800c5e1a
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.1800c5ab0
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.1800c5ab0
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 - 0x58]
inc rcx
mov qword [rbp - 0x58], rcx
cmp rcx, qword [rsi + 0x28]
jb 0x1800c5de1
xor r12d, r12d
jmp 0x1800c5d7a
cmp edx, dword [0x1802c43ec]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800c5ec6
mov r8, qword [rax + 0x28]
lea rdx, [rbp - 0x48]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xffffffffffffffff
call fcn.1800c5ab0
lea r8, [rbp - 0x58]
mov rdx, rax
mov rcx, rbx
call fcn.1800c5a20
jmp 0x1800c5d81
cmp edx, dword [0x1802c4324]
mov rsi, r12
cmove rsi, r8
test rsi, rsi
je 0x1800c5f0b
mov r8, qword [rsi + 0x30]
lea rdx, [rbp - 0x48]
call fcn.1800c5ab0
mov r8, qword [rsi + 0x28]
lea rdx, [rbp - 0x38]
mov rcx, r14
mov rdi, rax
call fcn.1800c5ab0
mov r8, rdi
mov rdx, rax
mov rcx, rbx
call fcn.1800c5a20
jmp 0x1800c5d81
cmp edx, dword [0x1802c43a4]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800c5f2e
mov r8, qword [rax + 0x20]
mov rdx, rbx
call fcn.1800c5ab0
jmp 0x1800c5d81
cmp edx, dword [0x1802c43a8]
mov r13, r12
cmove r13, r8
test r13, r13
je 0x1800c5fe2
mov r8, qword [r13 + 0x20]
lea rdx, [rbp - 0x48]
call fcn.1800c5ab0
mov r8, qword [r13 + 0x30]
lea rdx, [rbp - 0x38]
mov rcx, r14
mov rdi, rax
call fcn.1800c5ab0
mov rsi, qword [rdi]
lea rdx, [rbp - 0x58]
mov r8, qword [r13 + 0x40]
movabs r15, 0x8080808080808080
mov rcx, r14
add rsi, qword [rax]
mov rdi, rsi
and rdi, r15
call fcn.1800c5ab0
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 0x1800c5d81
cmp edx, dword [0x1802c43e8]
mov rax, r12
cmove rax, r8
test rax, rax
je 0x1800c6067
mov rsi, qword [rax + 0x30]
mov edi, 3
mov rax, qword [rax + 0x38]
lea r12, [rsi + rax*8]
cmp rsi, r12
je 0x1800c6057
movabs r15, 0x8080808080808080
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rsi]
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.1800c5ab0
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 0x1800c6020
mov qword [rbx], rdi
mov qword [rbx + 8], 0
jmp 0x1800c5d81
mov qword [rbx], r12
jmp 0x1800c5d7d
mov qword [rbx], r12
mov qword [rbx + 8], 0xffffffffffffffff
jmp 0x1800c5d98