Function at 0x140066680
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x140740ee8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov edi, r8d
mov rsi, rdx
xor edx, edx
cmp ecx, 0x7b
ja 0x1400666d1
movsxd rax, ecx
lea rdx, [0x1407409a0]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x140700540]
movdqu xmmword [rbp + 0xf], xmm1
mov byte [rbp - 1], 0
mov rbx, 0xffffffffffffffff
mov r8, rbx
test rdx, rdx
jne 0x140066760
movsd xmm0, qword [str.d_U_XH]
movsd qword [rbp - 0x29], xmm0
movzx eax, word [0x1406fe2c8]
mov word [rbp - 0x21], ax
movzx ecx, byte [0x1406fe2ca]
mov byte [rbp - 0x29], 0x53
xor byte [rbp - 0x28], 0x38
xor byte [rbp - 0x27], 0x39
xor byte [rbp - 0x26], 0x3a
xor byte [rbp - 0x25], 0x3b
xor byte [rbp - 0x24], 0x3c
xor byte [rbp - 0x23], 0x3d
xor byte [rbp - 0x22], 0x3e
xor al, 0x3f
mov byte [rbp - 0x21], al
xor byte [rbp - 0x20], 0x40
xor cl, 0x41
mov byte [rbp - 0x1f], cl
lea rax, [rbp - 0x29]
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140066750
lea rdx, [rbp - 0x29]
jmp 0x14006676a
inc r8
cmp byte [rdx + r8], 0
jne 0x140066760
lea rcx, [rbp - 1]
call fcn.140007880
cmp edi, 1
jne 0x140066960
movups xmm0, xmmword [str.gJIH]
movups xmmword [rbp - 0x19], xmm0
movzx eax, word [0x1406fe2e0]
mov word [rbp - 9], ax
cmp byte [0x1406fe2e1], 0
je 0x140066943
xor r8d, r8d
cmp dword [0x140740f00], 2
jl 0x1400668ff
movdqa xmm5, xmmword [0x1400f9590]
movdqa xmm4, xmmword [0x140700680]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x140700570]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1407005b0]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x29]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140700580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140700580]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400667f0
cmp r8d, 0x12
jge 0x140066943
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x140066910
lea rax, [rbp - 0x19]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140066947
mov r8, rbx
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 1]
call fcn.140007880
movss xmm0, dword [0x1407004c4]
movss dword [rbp - 0x29], xmm0
movss xmm1, dword [0x1400e30c4]
movss dword [rbp - 0x25], xmm1
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rcx, qword [rbp - 1]
lea rdx, [rbp - 0x29]
call fcn.14004cda0
test al, al
je 0x1400669b7
test edi, edi
jne 0x1400669b7
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [0x1400df178]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x1400669f5
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400669f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400669f0
call qword [0x1400dfb68]
int3
call fcn.14008d418
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14008d530
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret