Function at 0x140008ac0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rbx
lea rbp, [rsp - 0x58]
sub rsp, 0x158
xorps xmm0, xmm0
xor eax, eax
xor ebx, ebx
mov qword [rsp + 0x50], rax
mov r10, rcx
mov qword [rsp + 0x58], rbx
mov r9, rcx
mov r11d, edx
movups xmmword [rsp + 0x20], xmm0
mov ecx, edx
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r9]
lea r9, [r9 + 4]
inc dword [rsp + rax*4 + 0x20]
add ecx, 0xffffffff
jne 0x140008b10
cmp dword [rsp + 0x20], r11d
jne 0x140008b46
mov rax, qword [rbp + 0x98]
mov qword [rax], rbx
mov rax, qword [rbp + 0xa0]
mov dword [rax], ebx
xor eax, eax
add rsp, 0x158
pop rbx
pop rbp
ret
mov r8, qword [rbp + 0xa0]
mov ecx, 1
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x130], r14
mov esi, dword [r8]
mov eax, ecx
cmp dword [rsp + rax*4 + 0x20], ebx
jne 0x140008b74
inc ecx
cmp ecx, 0xf
jbe 0x140008b65
cmp esi, ecx
mov dword [rbp + 0x70], ecx
mov edx, 0xf
cmovb esi, ecx
mov eax, edx
cmp dword [rsp + rax*4 + 0x20], ebx
jne 0x140008b8e
add edx, 0xffffffff
jne 0x140008b81
mov qword [rsp + 0x148], rdi
cmp esi, edx
mov qword [rsp + 0x140], r12
cmova esi, edx
mov qword [rsp + 0x138], r13
mov dword [r8], esi
mov r8d, 1
shl r8d, cl
mov qword [rsp + 0x128], r15
mov dword [rbp + 0x78], edx
cmp ecx, edx
jae 0x140008be6
nop word [rax + rax]
mov eax, ecx
sub r8d, dword [rsp + rax*4 + 0x20]
js 0x140008f05
inc ecx
add r8d, r8d
cmp ecx, edx
jb 0x140008bd0
mov eax, edx
mov ecx, r8d
sub r8d, dword [rsp + rax*4 + 0x20]
mov dword [rsp + 0xc], r8d
js 0x140008f05
mov dword [rsp + rax*4 + 0x20], ecx
mov ecx, ebx
mov dword [rsp + 0x64], ebx
add edx, 0xffffffff
je 0x140008c21
mov rax, rbx
nop dword [rax]
add ecx, dword [rsp + rax + 0x24]
mov dword [rsp + rax + 0x68], ecx
lea rax, [rax + 4]
add edx, 0xffffffff
jne 0x140008c10
mov r14, qword [rbp + 0xb8]
mov edx, ebx
nop word [rax + rax]
mov eax, dword [r10]
lea r10, [r10 + 4]
test eax, eax
je 0x140008c4e
lea rcx, [rsp + 0x60]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
mov dword [r14 + rax*4], edx
inc eax
mov dword [rcx], eax
inc edx
cmp edx, r11d
jb 0x140008c30
movsxd rcx, dword [rbp + 0x78]
mov rdx, r14
mov r14d, dword [rbp + 0x70]
mov r10d, esi
neg r10d
mov qword [rsp], rdx
mov qword [rbp - 0x60], rbx
mov edi, ebx
mov eax, dword [rsp + rcx*4 + 0x60]
mov r9, rbx
mov dword [rsp + 8], eax
mov r11d, ebx
mov dword [rsp + 0x60], ebx
cmp r14d, ecx
jg 0x140008ef2
mov r13, qword [rbp + 0xb0]
mov rbx, 0xffffffffffffffff
nop dword [rax]
movsxd rax, r14d
lea r8, [rsp + 0x20]
mov r12d, dword [r8 + rax*4]
lea r8, [r8 + rax*4]
mov qword [rsp + 0x10], r8
test r12d, r12d
je 0x140008edf
nop
mov r15d, r12d
lea eax, [r10 + rsi]
dec r12d
cmp r14d, eax
jle 0x140008dc7
nop dword [rax]
nop word [rax + rax]
add r10d, esi
mov r9d, ecx
sub r9d, r10d
inc rbx
cmp r9d, esi
mov edx, r14d
mov eax, 1
cmova r9d, esi
sub edx, r10d
mov ecx, edx
shl eax, cl
cmp eax, r15d
jbe 0x140008d37
mov ecx, 0xffffffff
sub ecx, r12d
add eax, ecx
cmp edx, r9d
jae 0x140008d37
inc edx
cmp edx, r9d
jae 0x140008d37
nop dword [rax]
mov ecx, dword [r8 + 4]
lea r8, [r8 + 4]
add eax, eax
cmp eax, ecx
jbe 0x140008d37
sub eax, ecx
inc edx
cmp edx, r9d
jb 0x140008d20
mov eax, dword [r13]
mov ecx, edx
mov r11d, 1
shl r11d, cl
lea ecx, [rax + r11]
cmp ecx, 0x5a0
ja 0x140008f05
mov r8, qword [rbp + 0xa8]
mov dword [r13], ecx
lea r9, [r8 + rax*8]
mov qword [rbp + rbx*8 - 0x60], r9
test rbx, rbx
je 0x140008da4
mov byte [rbp + 0x70], dl
mov r8d, edi
mov rdx, qword [rbp + rbx*8 - 0x68]
mov ecx, r10d
sub ecx, esi
mov byte [rbp + 0x71], sil
shr r8d, cl
mov rax, r9
sub rax, rdx
mov dword [rsp + rbx*4 + 0x60], edi
sar rax, 3
sub eax, r8d
mov dword [rbp + 0x74], eax
mov rax, qword [rbp + 0x70]
mov qword [rdx + r8*8], rax
jmp 0x140008dae
mov rax, qword [rbp + 0x98]
mov qword [rax], r9
mov r8, qword [rsp + 0x10]
lea eax, [r10 + rsi]
mov ecx, dword [rbp + 0x78]
cmp r14d, eax
jg 0x140008ce0
mov rdx, qword [rsp]
mov rcx, qword [rbp + 0xb8]
movzx eax, r14b
sub al, r10b
mov byte [rbp + 0x71], al
mov eax, dword [rsp + 8]
lea rcx, [rcx + rax*4]
cmp rdx, rcx
jb 0x140008deb
mov byte [rbp + 0x70], 0xc0
jmp 0x140008e48
mov ecx, dword [rdx]
add rdx, 4
mov r15d, dword [rbp + 0x80]
mov qword [rsp], rdx
cmp ecx, r15d
jae 0x140008e1c
cmp ecx, 0x100
mov dword [rbp + 0x74], ecx
mov eax, 0x60
mov edx, 0
cmovb eax, edx
mov byte [rbp + 0x70], al
jmp 0x140008e48
mov rax, qword [rbp + 0x90]
sub ecx, r15d
mov qword [rsp], rdx
lea rcx, [rcx*4]
movzx eax, byte [rcx + rax]
add al, 0x50
mov byte [rbp + 0x70], al
mov rax, qword [rbp + 0x88]
mov eax, dword [rcx + rax]
mov dword [rbp + 0x74], eax
mov ecx, r14d
mov r8d, 1
sub ecx, r10d
mov edx, edi
shl r8d, cl
mov ecx, r10d
shr edx, cl
cmp edx, r11d
jae 0x140008e7c
mov rax, qword [rbp + 0x70]
nop word [rax + rax]
mov qword [r9 + rdx*8], rax
add edx, r8d
cmp edx, r11d
jb 0x140008e70
lea ecx, [r14 - 1]
mov eax, 1
shl eax, cl
test edi, eax
je 0x140008e98
nop dword [rax + rax]
xor edi, eax
shr eax, 1
test edi, eax
jne 0x140008e90
xor edi, eax
mov ecx, r10d
mov eax, 1
shl eax, cl
dec eax
and eax, edi
cmp eax, dword [rsp + rbx*4 + 0x60]
je 0x140008eca
nop
sub r10d, esi
mov eax, 1
mov ecx, r10d
dec rbx
shl eax, cl
dec eax
and eax, edi
cmp eax, dword [rsp + rbx*4 + 0x60]
jne 0x140008eb0
mov rdx, qword [rsp]
mov r8, qword [rsp + 0x10]
mov ecx, dword [rbp + 0x78]
test r12d, r12d
jne 0x140008cc0
inc r14d
cmp r14d, ecx
jle 0x140008ca0
mov r8d, dword [rsp + 0xc]
xor ebx, ebx
test r8d, r8d
je 0x140008f01
cmp ecx, 1
je 0x140008f01
mov ebx, 0xfffffffb
mov eax, ebx
jmp 0x140008f0a
mov eax, 0xfffffffd
mov rdi, qword [rsp + 0x148]
mov r13, qword [rsp + 0x138]
mov r12, qword [rsp + 0x140]
mov r15, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x150]
mov r14, qword [rsp + 0x130]
add rsp, 0x158
pop rbx
pop rbp
ret