Function at 0x14002bb90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push r12
push r15
lea rbp, [rsp - 0x88]
sub rsp, 0x188
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0xe8]
xor r12d, r12d
mov r15, qword [rbp + 0xf8]
mov r11d, edx
mov rbx, qword [rbp + 0xe0]
mov r10, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0xf0]
mov dword [rsp + 0x1c], r8d
mov r8, qword [rbp + 0xd8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rcx]
lea rcx, [rcx + 4]
inc dword [rsp + rax*4 + 0x60]
add edx, 0xffffffff
jne 0x14002bc30
cmp dword [rsp + 0x60], r11d
jne 0x14002bc53
mov qword [r8], r12
xor eax, eax
mov dword [rbx], r12d
jmp 0x14002c015
mov edx, dword [rbx]
mov ecx, 1
mov qword [rsp + 0x1c0], rsi
mov qword [rsp + 0x170], r14
nop word [rax + rax]
mov eax, ecx
cmp dword [rsp + rax*4 + 0x60], r12d
jne 0x14002bc80
inc ecx
cmp ecx, 0xf
jbe 0x14002bc70
cmp edx, ecx
mov r8d, ecx
mov r14d, ecx
cmovae r8d, edx
mov edx, 0xf
mov eax, edx
cmp dword [rsp + rax*4 + 0x60], r12d
jne 0x14002bc9f
add edx, 0xffffffff
jne 0x14002bc91
cmp r8d, edx
mov dword [rsp + 8], edx
mov esi, edx
mov r9d, 1
cmovbe esi, r8d
shl r9d, cl
mov dword [rbx], esi
cmp ecx, edx
jae 0x14002bcd2
nop dword [rax + rax]
mov eax, ecx
sub r9d, dword [rsp + rax*4 + 0x60]
js 0x14002bcea
inc ecx
add r9d, r9d
cmp ecx, edx
jb 0x14002bcc0
mov eax, edx
lea rcx, [rsp + 0x60]
lea rcx, [rcx + rax*4]
mov r8d, r9d
sub r9d, dword [rcx]
mov dword [rsp + 0x20], r9d
jns 0x14002bcf4
mov eax, 0xfffffffd
jmp 0x14002c005
mov dword [rcx], r8d
mov ecx, r12d
mov qword [rsp + 0x180], rdi
mov dword [rbp - 0x5c], r12d
add edx, 0xffffffff
je 0x14002bd21
mov rax, r12
nop
add ecx, dword [rsp + rax + 0x64]
mov dword [rbp + rax - 0x58], ecx
lea rax, [rax + 4]
add edx, 0xffffffff
jne 0x14002bd10
mov edx, r12d
mov eax, dword [r10]
lea r10, [r10 + 4]
test eax, eax
je 0x14002bd41
lea rcx, [rbp - 0x60]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
mov dword [r15 + rax*4], edx
inc eax
mov dword [rcx], eax
inc edx
cmp edx, r11d
jb 0x14002bd24
movsxd rcx, dword [rsp + 8]
mov rdx, r15
mov r11d, esi
mov qword [rsp + 0x178], r13
neg r11d
mov qword [rsp + 0x10], rdx
mov qword [rbp - 0x20], r12
mov edi, r12d
mov eax, dword [rbp + rcx*4 - 0x60]
mov r15, 0xffffffffffffffff
mov dword [rsp + 0x18], eax
mov r9, r12
mov dword [rbp - 0x60], r12d
mov r10d, r12d
cmp r14d, ecx
jg 0x14002bfe0
mov rbx, r15
nop
movsxd rax, r14d
lea r8, [rsp + 0x60]
mov r13d, dword [r8 + rax*4]
lea r8, [r8 + rax*4]
mov qword [rsp + 0x28], r8
test r13d, r13d
je 0x14002bfd4
nop
mov r12d, r13d
lea eax, [rsi + r11]
dec r13d
cmp r14d, eax
jle 0x14002beba
nop dword [rax]
nop word [rax + rax]
mov r9d, ecx
inc r15d
sub r9d, eax
inc rbx
cmp r9d, esi
mov r11d, eax
mov edx, r14d
cmova r9d, esi
sub edx, eax
mov ecx, edx
mov eax, 1
shl eax, cl
cmp eax, r12d
jbe 0x14002be27
mov ecx, 0xffffffff
sub ecx, r13d
add eax, ecx
cmp edx, r9d
jae 0x14002be27
inc edx
cmp edx, r9d
jae 0x14002be27
nop
mov ecx, dword [r8 + 4]
lea r8, [r8 + 4]
add eax, eax
cmp eax, ecx
jbe 0x14002be27
sub eax, ecx
inc edx
cmp edx, r9d
jb 0x14002be10
mov r8, qword [rsp + 0x30]
mov ecx, edx
mov r10d, 1
shl r10d, cl
mov eax, dword [r8]
lea ecx, [rax + r10]
cmp ecx, 0x5a0
ja 0x14002c02f
mov r9, qword [rsp + 0x38]
mov dword [r8], ecx
lea r9, [r9 + rax*8]
mov qword [rbp + rbx*8 - 0x20], r9
test rbx, rbx
je 0x14002be97
mov byte [rsp], dl
mov r8d, edi
mov rdx, qword [rbp + rbx*8 - 0x28]
mov ecx, r11d
sub ecx, esi
mov byte [rsp + 1], sil
shr r8d, cl
mov rax, r9
sub rax, rdx
mov dword [rbp + rbx*4 - 0x60], edi
sar rax, 3
sub eax, r8d
mov dword [rsp + 4], eax
mov rax, qword [rsp]
mov qword [rdx + r8*8], rax
jmp 0x14002be9f
mov rax, qword [rsp + 0x40]
mov qword [rax], r9
mov r8, qword [rsp + 0x28]
lea eax, [rsi + r11]
mov ecx, dword [rsp + 8]
cmp r14d, eax
jg 0x14002bdd0
mov rdx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x48]
movzx eax, r14b
sub al, r11b
mov byte [rsp + 1], al
mov eax, dword [rsp + 0x18]
lea rcx, [rcx + rax*4]
cmp rdx, rcx
jb 0x14002bedd
mov byte [rsp], 0xc0
jmp 0x14002bf39
mov ecx, dword [rdx]
add rdx, 4
mov eax, dword [rsp + 0x1c]
mov qword [rsp + 0x10], rdx
cmp ecx, eax
jae 0x14002bf0e
cmp ecx, 0x100
mov dword [rsp + 4], ecx
mov eax, 0x60
mov r12d, 0
cmovb eax, r12d
mov byte [rsp], al
jmp 0x14002bf3c
sub ecx, eax
mov qword [rsp + 0x10], rdx
mov rax, qword [rbp + 0xd0]
lea rcx, [rcx*4]
movzx eax, byte [rcx + rax]
add al, 0x50
mov byte [rsp], al
mov rax, qword [rsp + 0x50]
mov eax, dword [rcx + rax]
mov dword [rsp + 4], eax
xor r12d, r12d
mov ecx, r14d
mov r8d, 1
sub ecx, r11d
mov edx, edi
shl r8d, cl
mov ecx, r11d
shr edx, cl
cmp edx, r10d
jae 0x14002bf6c
mov rax, qword [rsp]
nop dword [rax + rax]
mov qword [r9 + rdx*8], rax
add edx, r8d
cmp edx, r10d
jb 0x14002bf60
lea ecx, [r14 - 1]
mov eax, 1
shl eax, cl
test edi, eax
je 0x14002bf88
nop dword [rax + rax]
xor edi, eax
shr eax, 1
test edi, eax
jne 0x14002bf80
xor edi, eax
mov ecx, r11d
mov eax, 1
shl eax, cl
dec eax
and eax, edi
cmp eax, dword [rbp + rbx*4 - 0x60]
je 0x14002bfbd
nop
sub r11d, esi
mov eax, 1
mov ecx, r11d
dec rbx
shl eax, cl
dec r15d
dec eax
and eax, edi
cmp eax, dword [rbp + rbx*4 - 0x60]
jne 0x14002bfa0
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x28]
mov ecx, dword [rsp + 8]
test r13d, r13d
jne 0x14002bdb0
inc r14d
cmp r14d, ecx
jle 0x14002bd90
cmp dword [rsp + 0x20], 0
je 0x14002bff2
cmp ecx, 1
je 0x14002bff2
mov r12d, 0xfffffffb
mov eax, r12d
mov r13, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x1c0]
mov r14, qword [rsp + 0x170]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1401b6d50
add rsp, 0x188
pop r15
pop r12
pop rbx
pop rbp
ret
mov eax, 0xfffffffc
jmp 0x14002bff5