Function at 0x140097910
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
mov ebx, r9d
mov rax, qword [0x1400f5980]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
lea ebp, [rbx + 1]
mov r14d, 0xffffff7c
cmp ebp, 0x209
ja 0x140097a5b
mov r15, r8
mov r8d, edx
cmp edx, 0xe0
ja 0x140097a5b
mov rdi, rcx
mov ecx, dword [rsp + 0x238]
mov eax, dword [rsp + 0x228]
lea esi, [rcx + rax]
cmp esi, 0x80
ja 0x140097a5b
mov rdx, qword [rsp + 0x220]
shr ebp, 1
mov r14d, r8d
mov r13d, eax
lea r12, [rsp + 0x50]
mov rcx, r12
mov r8, r13
call fcn.1400ca7f0
lea rcx, [rsp + r13]
add rcx, 0x50
mov r13d, r14d
mov eax, dword [rsp + 0x238]
mov r8d, eax
mov rdx, qword [rsp + 0x230]
call fcn.1400ca7f0
mov eax, dword [rsp + 0x248]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x30], 1
mov rcx, rdi
mov edx, r14d
mov r8, r15
mov r9d, ebp
call fcn.140097280
mov r14d, eax
test eax, eax
jne 0x140097a5b
mov eax, ebp
add r15, rax
and ebx, 1
sub r15, rbx
mov eax, dword [rsp + 0x248]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 2
lea rbx, [rsp + 0xd0]
mov rcx, rbx
mov edx, r13d
mov r8, r15
mov r9d, ebp
call fcn.140097280
mov r14d, eax
test eax, eax
je 0x140097a82
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14009adb0
mov eax, r14d
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test dil, 7
je 0x140097a90
mov ecx, r13d
jmp 0x140097b27
cmp r13d, 8
jae 0x140097aa3
lea rbx, [rsp + 0xd0]
mov rax, rdi
jmp 0x140097b1e
mov ecx, r13d
shr ecx, 3
mov r8d, ecx
dec r8d
je 0x140097af0
inc r8
mov rdx, r8
and rdx, 0xfffffffffffffffe
lea rax, [rdi + rdx*8]
lea rbx, [rsp + rdx*8]
add rbx, 0xd0
xor r9d, r9d
movups xmm0, xmmword [rdi + r9*8]
xorps xmm0, xmmword [rsp + r9*8 + 0xd0]
movups xmmword [rdi + r9*8], xmm0
add r9, 2
cmp rdx, r9
jne 0x140097acd
cmp r8, rdx
jne 0x140097afd
jmp 0x140097b1e
xor edx, edx
lea rbx, [rsp + 0xd0]
mov rax, rdi
sub ecx, edx
xor edx, edx
xor r8d, r8d
mov r9, qword [rbx + r8*8]
xor qword [rax + r8*8], r9
inc r8
add rdx, 0xfffffffffffffff8
cmp ecx, r8d
jne 0x140097b04
sub rax, rdx
sub rbx, rdx
mov ecx, r13d
and ecx, 7
mov rdi, rax
test ecx, ecx
je 0x140097bbf
mov eax, ecx
cmp ecx, 8
jae 0x140097b3a
xor ecx, ecx
jmp 0x140097bb0
cmp ecx, 0x20
jae 0x140097b43
xor ecx, ecx
jmp 0x140097b7d
mov ecx, eax
and ecx, 0xffffffe0
xor edx, edx
movups xmm0, xmmword [rbx + rdx]
movups xmm1, xmmword [rbx + rdx + 0x10]
movups xmm2, xmmword [rdi + rdx]
xorps xmm2, xmm0
movups xmm0, xmmword [rdi + rdx + 0x10]
xorps xmm0, xmm1
movups xmmword [rdi + rdx], xmm2
movups xmmword [rdi + rdx + 0x10], xmm0
add rdx, 0x20
cmp rcx, rdx
jne 0x140097b4a
cmp rcx, rax
je 0x140097bbf
test al, 0x18
je 0x140097bb0
mov rdx, rcx
mov ecx, eax
and ecx, 0xfffffff8
nop word cs:[rax + rax]
mov r8, qword [rbx + rdx]
xor qword [rdi + rdx], r8
add rdx, 8
cmp rcx, rdx
jne 0x140097b90
cmp rcx, rax
je 0x140097bbf
nop word cs:[rax + rax]
movzx edx, byte [rbx + rcx]
xor byte [rdi + rcx], dl
inc rcx
cmp rax, rcx
jne 0x140097bb0
xor r14d, r14d
test r13d, r13d
je 0x140097a5b
test r13b, 7
je 0x140097c00
mov eax, r13d
and eax, 7
xor ecx, ecx
nop dword [rax]
mov byte [rsp + rcx + 0xd0], 0
inc rcx
cmp eax, ecx
jne 0x140097be0
lea rax, [rsp + rcx]
add rax, 0xd0
mov edx, r13d
sub edx, ecx
jmp 0x140097c0b
lea rax, [rsp + 0xd0]
mov edx, r13d
cmp r13d, 8
jb 0x140097a5b
mov ecx, edx
xor r14d, r14d
xor edx, edx
nop dword [rax]
mov byte [rax + rdx], 0
mov byte [rax + rdx + 1], 0
mov byte [rax + rdx + 2], 0
mov byte [rax + rdx + 3], 0
mov byte [rax + rdx + 4], 0
mov byte [rax + rdx + 5], 0
mov byte [rax + rdx + 6], 0
mov byte [rax + rdx + 7], 0
add rdx, 8
cmp ecx, edx
jne 0x140097c20
jmp 0x140097a5b