Function at 0x140007b50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1400f5040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov qword [rbp - 0x19], rdx
xor ebx, ebx
lea rdx, [rcx + 0x40]
call fcn.140005d40
mov r14, rax
test rax, rax
jne 0x140007cfe
mov rax, qword [0x1400ddc18]
mov qword [rbp - 0x19], rax
cmp byte [0x1400ddc1f], bl
je 0x140007ced
cmp dword [0x1400f5090], 2
jl 0x140007cb9
movdqa xmm4, xmmword [0x1400e5260]
movdqa xmm2, xmmword [0x1400e5020]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e5050]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e50e0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e5110]
movd xmm0, dword [rbp - 0x19]
xorps xmm2, xmm0
movd dword [rbp - 0x19], xmm2
movdqa xmm3, xmmword [0x1400e5040]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e5050]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e50e0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e5110]
movd xmm0, dword [rbp - 0x15]
xorps xmm2, xmm0
movd dword [rbp - 0x15], xmm2
lea rdx, [rbp - 0x19]
mov rcx, rsi
call fcn.140005c20
jmp 0x140007e5e
lea r8, [rbp - 0x19]
nop dword [rax]
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx edx, bl
sub dl, cl
add dl, 0x34
xor byte [r8], dl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 8
jl 0x140007cc0
lea rdx, [rbp - 0x19]
mov rcx, rsi
call fcn.140005c20
jmp 0x140007e5e
mov dword [rbp - 0x19], ebx
mov dword [rbp - 0x3d], ebx
mov eax, dword [0x140109308]
mov dword [rbp - 0x41], eax
mov rax, qword [0x140109328]
mov qword [rbp - 0x31], rax
lea rax, [r14 + 0x30]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x19]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], 4
mov dword [rbp - 0x51], 5
lea rax, [rbp - 0x41]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x4d], 2
mov dword [rsp + 0x48], 0x10
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], 0x10
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140109310]
call fcn.140053fb0
mov edi, dword [rbp - 0x19]
lea rcx, [rdi + 1]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400bde28
mov r15, rax
lea rdx, [r14 + 0x28]
call fcn.140005d40
lea r9, [rdi + rdi]
mov r8, r15
mov rdx, rax
lea rcx, [0x140109308]
call fcn.14000e650
mov rdx, r15
lea rcx, [rbp - 0x11]
call fcn.140003bd0
nop
lea rcx, [rbp - 0x11]
mov rax, qword [rbp - 1]
cmp qword [rbp + 7], 7
jbe 0x140007df3
mov rdx, qword [rbp - 0x11]
lea r8, [rdx + rax*2]
jmp 0x140007dfb
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.140005e10
mov rcx, r15
call fcn.1400bdd84
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [rsi + 0x10], xmm1
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x140007e5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007e59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdd84
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400bda10
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret