Function at 0x18000a620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x90
mov rax, qword [0x18005a080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edi, dword [0x18006002c]
xor r14d, r14d
mov r12, rcx
movabs r13, 0x7ffffef0000e
test edi, edi
jne 0x18000a9f4
call fcn.18000a3e0
cmp dword [0x18005a0d0], 2
mov rdi, rax
movups xmm0, xmmword [str.pGYGHrHXSp_5]
movzx ecx, word [0x1800500b8]
mov r8d, r14d
mov word [rsp + 0x48], cx
movzx ecx, byte [0x1800500ba]
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x4a], cl
movsd xmm0, qword [0x1800500b0]
movsd qword [rsp + 0x40], xmm0
jl 0x18000a7ff
movdqa xmm0, xmmword [0x1800518f0]
lea rcx, [rsp + 0x34]
movdqa xmm5, xmmword [0x180051840]
movdqa xmm4, xmmword [0x180051a80]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x180051880]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x18000a6f0
movaps xmm6, xmmword [rsp + 0x80]
cmp r8d, 0x1b
jge 0x18000a841
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x1b
jl 0x18000a810
lea rax, [rdi - 0xffffa9]
cmp rax, r13
ja 0x18000a963
mov edx, 8
lea rcx, [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18000a963
mov rdi, qword [rdi + 0x50]
test rdi, rdi
je 0x18000a963
lea rax, [rsp + 0x30]
mov rbp, 0xffffffffffffffff
inc rbp
cmp byte [rax + rbp], r14b
jne 0x18000a881
nop word [rax + rax]
lea rax, [rdi - 0xffffd1]
mov qword [rsp + 0x20], r14
cmp rax, r13
ja 0x18000a8bd
mov edx, 8
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18000a8bd
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180035f00
mov rsi, qword [rsp + 0x68]
lea rcx, [rsp + 0x50]
mov rbx, qword [rsp + 0x50]
cmp rsi, 0xf
mov r8, qword [rsp + 0x60]
cmova rcx, rbx
cmp r8, rbp
jne 0x18000a8fb
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18000a971
cmp rsi, 0xf
jbe 0x18000a932
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000a92a
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000aa46
mov rcx, rbx
call fcn.18004c45c
lea rbx, [rdi + 0x20]
mov rdi, r14
lea rax, [rbx - 0xfffff9]
cmp rax, r13
ja 0x18000a95a
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18000a95a
mov rdi, qword [rbx]
test rdi, rdi
jne 0x18000a890
mov dword [0x18006002c], r14d
xor eax, eax
jmp 0x18000aa1d
mov qword [rsp + 0xc8], r15
lea r15, [rdi + 0x4c]
lea rax, [r15 - 0xfffff9]
mov edi, r14d
cmp rax, r13
ja 0x18000a9ab
mov edx, 4
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x18000a9ab
mov edi, dword [r15]
mov r15, qword [rsp + 0xc8]
cmp rsi, 0xf
jbe 0x18000a9e6
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000a9de
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000aa46
mov rcx, rbx
call fcn.18004c45c
mov dword [0x18006002c], edi
test edi, edi
je 0x18000a96a
mov ebx, edi
add rbx, r12
lea rax, [rbx - 0xfffff9]
cmp rax, r13
ja 0x18000aa1a
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18000aa1a
mov r14, qword [rbx]
mov rax, r14
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18004c400
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3