Function at 0x14000a790
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140030008]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0xe8]
xor r15d, r15d
mov rbx, qword [rbp + 0xe0]
mov r11d, edx
mov qword [rsp + 0x38], rax
mov r10, rcx
mov rax, qword [rbp + 0xf0]
mov qword [rsp + 0x50], r9
mov r9, qword [rbp + 0xf8]
mov dword [rsp + 0x1c], r8d
mov r8, qword [rbp + 0xd8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov eax, dword [rcx]
lea rcx, [rcx + 4]
inc dword [rsp + rax*4 + 0x60]
add edx, 0xffffffff
jne 0x14000a820
cmp dword [rsp + 0x60], r11d
jne 0x14000a843
mov qword [r8], r15
xor eax, eax
mov dword [rbx], r15d
jmp 0x14000ac20
mov qword [rsp + 0x1c0], rsi
mov ecx, 1
mov esi, dword [rbx]
mov qword [rsp + 0x178], r13
nop word [rax + rax]
mov eax, ecx
cmp dword [rsp + rax*4 + 0x60], r15d
jne 0x14000a870
inc ecx
cmp ecx, 0xf
jbe 0x14000a860
cmp esi, ecx
mov r13d, ecx
mov edx, select
cmovb esi, ecx
nop dword [rax]
mov eax, edx
cmp dword [rsp + rax*4 + 0x60], r15d
jne 0x14000a88e
add edx, 0xffffffff
jne 0x14000a880
cmp esi, edx
mov dword [rsp + 8], edx
mov r8d, 1
cmova esi, edx
shl r8d, cl
mov dword [rbx], esi
cmp ecx, edx
jae 0x14000a8b8
mov eax, ecx
sub r8d, dword [rsp + rax*4 + 0x60]
js 0x14000a8cf
inc ecx
add r8d, r8d
cmp ecx, edx
jb 0x14000a8a6
mov eax, edx
lea rcx, [rsp + 0x60]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
sub r8d, eax
mov dword [rsp + 0x20], r8d
jns 0x14000a8d9
mov eax, 0xfffffffd
jmp 0x14000ac10
add eax, r8d
mov qword [rsp + 0x170], r14
mov dword [rcx], eax
mov ecx, r15d
mov dword [rbp - 0x5c], r15d
add edx, 0xffffffff
je 0x14000a911
mov rax, r15
nop word [rax + rax]
add ecx, dword [rsp + rax + 0x64]
mov dword [rbp + rax - 0x58], ecx
lea rax, [rax + 4]
add edx, 0xffffffff
jne 0x14000a900
mov edx, r15d
mov eax, dword [r10]
lea r10, [r10 + 4]
test eax, eax
je 0x14000a931
lea rcx, [rbp - 0x60]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
mov dword [r9 + rax*4], edx
inc eax
mov dword [rcx], eax
inc edx
cmp edx, r11d
jb 0x14000a914
movsxd rcx, dword [rsp + 8]
mov rdx, r9
mov r11d, esi
mov qword [rsp + 0x188], rdi
or r14, 0xffffffffffffffff
mov qword [rsp + 0x180], r12
neg r11d
mov qword [rsp + 0x10], rdx
mov eax, dword [rbp + rcx*4 - 0x60]
mov ebx, r15d
mov dword [rsp + 0x18], eax
mov r9, r15
mov dword [rbp - 0x60], r15d
mov r10d, r15d
mov qword [rbp - 0x20], r15
cmp r13d, ecx
jg 0x14000abe5
mov rdi, r14
nop dword [rax]
nop dword [rax + rax]
movsxd rax, r13d
mov r12d, dword [rsp + rax*4 + 0x60]
lea rax, [rsp + rax*4 + 0x60]
mov qword [rsp + 0x28], rax
test r12d, r12d
je 0x14000abd4
lea r8d, [r12 + 1]
dec r8d
lea eax, [r11 + rsi]
dec r12d
mov dword [rsp + 0xc], r8d
cmp r13d, eax
jle 0x14000aacf
mov r15d, esi
neg r15d
add r15d, r15d
mov r9d, ecx
inc r14d
sub r9d, eax
inc rdi
cmp r9d, esi
mov r11d, eax
mov edx, r13d
cmova r9d, esi
sub edx, eax
mov ecx, edx
mov eax, 1
shl eax, cl
cmp eax, r8d
jbe 0x14000aa37
mov r8, qword [rsp + 0x28]
or ecx, 0xffffffff
sub ecx, r12d
add eax, ecx
cmp edx, r9d
jae 0x14000aa37
inc edx
cmp edx, r9d
jae 0x14000aa37
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + 4]
lea r8, [r8 + 4]
add eax, eax
cmp eax, ecx
jbe 0x14000aa37
sub eax, ecx
inc edx
cmp edx, r9d
jb 0x14000aa20
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 0x14000ac38
mov r9, qword [rsp + 0x38]
mov dword [r8], ecx
lea r9, [r9 + rax*8]
mov qword [rbp + rdi*8 - 0x20], r9
test r14d, r14d
je 0x14000aaa9
mov byte [rsp], dl
lea ecx, [r11 + rsi]
mov rdx, qword [rbp + rdi*8 - 0x28]
add ecx, r15d
mov r8d, ebx
mov byte [rsp + 1], sil
shr r8d, cl
mov rax, r9
sub rax, rdx
mov dword [rbp + rdi*4 - 0x60], ebx
sar rax, 3
sub eax, r8d
mov dword [rsp + 4], eax
mov rax, qword [rsp]
mov qword [rdx + r8*8], rax
jmp 0x14000aab1
mov rax, qword [rsp + 0x40]
mov qword [rax], r9
mov r8d, dword [rsp + 0xc]
lea eax, [r11 + rsi]
mov ecx, dword [rsp + 8]
cmp r13d, eax
jg 0x14000a9d1
mov rdx, qword [rsp + 0x10]
xor r15d, r15d
mov rcx, qword [rsp + 0x48]
movzx eax, r13b
sub al, r11b
mov byte [rsp + 1], al
mov eax, dword [rsp + 0x18]
lea rcx, [rcx + rax*4]
cmp rdx, rcx
jb 0x14000aaf2
mov byte [rsp], 0xc0
jmp 0x14000ab43
mov ecx, dword [rdx]
mov eax, dword [rsp + 0x1c]
cmp ecx, eax
jae 0x14000ab14
cmp ecx, 0x100
mov dword [rsp + 4], ecx
mov eax, 0x60
cmovb eax, r15d
mov byte [rsp], al
jmp 0x14000ab3a
sub ecx, eax
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
add rdx, 4
mov qword [rsp + 0x10], rdx
mov ecx, r13d
mov r8d, 1
sub ecx, r11d
mov edx, ebx
shl r8d, cl
mov ecx, r11d
shr edx, cl
cmp edx, r10d
jae 0x14000ab6e
mov rax, qword [rsp]
mov qword [r9 + rdx*8], rax
add edx, r8d
cmp edx, r10d
jb 0x14000ab62
lea ecx, [r13 - 1]
mov eax, 1
shl eax, cl
test ebx, eax
je 0x14000ab88
nop dword [rax]
xor ebx, eax
shr eax, 1
test ebx, eax
jne 0x14000ab80
xor ebx, eax
mov ecx, r11d
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
cmp eax, dword [rbp + rdi*4 - 0x60]
je 0x14000abbd
nop
sub r11d, esi
mov eax, 1
mov ecx, r11d
dec rdi
shl eax, cl
dec r14d
dec eax
and eax, ebx
cmp eax, dword [rbp + rdi*4 - 0x60]
jne 0x14000aba0
mov rdx, qword [rsp + 0x10]
mov r8d, dword [rsp + 0xc]
mov ecx, dword [rsp + 8]
test r12d, r12d
jne 0x14000a9b0
inc r13d
cmp r13d, ecx
jle 0x14000a990
mov r8d, dword [rsp + 0x20]
test r8d, r8d
je 0x14000abf5
cmp ecx, 1
je 0x14000abf5
mov r15d, 0xfffffffb
mov eax, r15d
mov rdi, qword [rsp + 0x188]
mov r12, qword [rsp + 0x180]
mov r14, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x1c0]
mov r13, qword [rsp + 0x178]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14000e940
add rsp, 0x190
pop r15
pop rbx
pop rbp
ret
mov eax, 0xfffffffd
jmp 0x14000abf8