Function at 0x18009fae0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movups xmm0, xmmword [0x1800e6360]
movzx eax, word [0x1800e6378]
xor ebx, ebx
cmp byte [0x1800e6379], bl
mov r15, r8
mov esi, dword [0x180154990]
mov r14, rdx
movups xmmword [rbp - 0x30], xmm0
mov r12, rcx
mov word [rbp - 0x18], ax
movsd xmm0, qword [0x1800e6370]
movsd qword [rbp - 0x20], xmm0
movaps xmmword [rsp + 0x60], xmm6
je 0x18009fcc2
mov r8d, ebx
cmp esi, 2
jl 0x18009fc87
movdqa xmm0, xmmword [0x1800e2d20]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x1800db910]
movdqa xmm4, xmmword [0x1800e6470]
movdqa xmm6, xmmword [str.4444]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
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 [0x1800db940]
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 [0x1800db940]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x18009fb80
cmp r8d, 0x1a
jge 0x18009fcc2
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x1a
jl 0x18009fc91
lea rcx, [rbp - 0x30]
call fcn.18009ed30
mov rcx, qword [0x1801a04a0]
movabs rdx, 0xbc0ae358df8eb46f
mov rax, qword [rcx + 0x168]
mov rdi, qword [rax]
mov rax, qword [rcx + 0x138]
mov r8, rdi
xor ecx, ecx
call qword [case.0x18006b415.0]
test al, al
je 0x1800a04c8
cmp byte [0x1800e6389], bl
movsd xmm0, qword [str._ZUR_I__]
movzx eax, word [0x1800e6388]
movsd qword [rbp - 0x40], xmm0
mov word [rbp - 0x38], ax
je 0x18009fd48
xor byte [rbp - 0x3f], 0x37
xor byte [rbp - 0x3e], 0x38
xor byte [rbp - 0x3d], 0x39
xor byte [rbp - 0x3c], 0x3a
xor byte [rbp - 0x3b], 0x3b
xor byte [rbp - 0x3a], 0x3c
xor byte [rbp - 0x39], 0x3d
xor byte [rbp - 0x38], 0x3e
xor byte [rbp - 0x37], 0x3f
mov byte [rbp - 0x40], 0x69
mov rax, qword [0x1801a04a0]
lea rcx, [rbp - 0x40]
mov r8, rdi
mov edx, 1
mov rax, qword [rax + 0x150]
call qword [case.0x18006b415.0]
cmp byte [0x1800e6397], bl
mov rax, qword [str.YGLPUUORKIVZEiWR_A_TWW:]
mov qword [rbp + 0x48], rax
je 0x18009fec1
cmp esi, 2
jl 0x18009fe80
movdqa xmm2, xmmword [0x1800db910]
movdqa xmm4, xmmword [0x1800e6470]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800db920]
movdqa xmm0, xmm2
mov eax, dword [0x1800e2d20]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
movd xmm1, dword [rbp + 0x48]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rbp + 0x48], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
movd xmm1, dword [rbp + 0x4c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp + 0x4c], xmm2
jmp 0x18009fec1
lea r9, [rbp + 0x48]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x18009fe90
mov rax, qword [0x1801a04a0]
lea rcx, [rbp + 0x48]
xor edx, edx
mov r9, rdi
mov rax, qword [rax + 0x140]
lea r8d, [rdx + 6]
call qword [case.0x18006b415.0]
cmp byte [0x1800e63a3], bl
movsd xmm0, qword [0x1800e6398]
mov eax, dword [0x1800e63a0]
movsd qword [rbp - 0x40], xmm0
mov dword [rbp - 0x38], eax
je 0x1800a0051
mov r8d, ebx
cmp esi, 2
jl 0x1800a000f
movdqa xmm2, xmmword [0x1800db910]
mov r8d, 8
movdqa xmm4, xmmword [0x1800e6470]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800db920]
movdqa xmm0, xmm2
mov eax, dword [0x1800e2d20]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800e6398]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x40], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
movd xmm1, dword [rbp - 0x3c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x3c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x1800a0020
mov rax, qword [0x1801a04a0]
lea rcx, [rbp - 0x40]
mov r8, rdi
mov edx, 0xfa0
mov rax, qword [rax + 0x150]
call qword [case.0x18006b415.0]
mov eax, dword [0x1800e63a4]
lea rcx, [rbp + 0x48]
mov dword [rbp + 0x48], eax
mov r8, rdi
movzx eax, byte [0x1800e63a8]
mov rdx, r15
xor byte [rbp + 0x49], 0x37
xor al, 0x3a
xor byte [rbp + 0x4a], 0x38
xor byte [rbp + 0x4b], 0x39
mov byte [rbp + 0x4c], al
mov rax, qword [0x1801a04a0]
mov byte [rbp + 0x48], 0x69
mov rax, qword [rax + 0x148]
call qword [case.0x18006b415.0]
mov eax, dword [str.RY__I_]
mov r8, rdi
movzx ecx, word [0x1800e63b0]
mov rdx, r12
mov dword [rbp + 0x48], eax
movzx eax, byte [0x1800e63b2]
xor byte [rbp + 0x49], 0x37
xor al, 0x3c
xor byte [rbp + 0x4a], 0x38
xor byte [rbp + 0x4b], 0x39
mov word [rbp + 0x4c], cx
xor cl, 0x3a
xor byte [rbp + 0x4d], 0x3b
mov byte [rbp + 0x4e], al
mov rax, qword [0x1801a04a0]
mov byte [rbp + 0x4c], cl
lea rcx, [rbp + 0x48]
mov byte [rbp + 0x48], 0x68
mov rax, qword [rax + 0x148]
call qword [case.0x18006b415.0]
cmp byte [0x1800e63c3], bl
movsd xmm0, qword [str.RRKZHRLIWP.ABNH:]
mov eax, dword [0x1800e63c0]
movsd qword [rbp - 0x40], xmm0
mov dword [rbp - 0x38], eax
je 0x1800a0281
mov r8d, ebx
cmp esi, 2
jl 0x1800a0239
movdqa xmm2, xmmword [0x1800db910]
mov r8d, 8
movdqa xmm4, xmmword [0x1800e6470]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800db920]
movdqa xmm0, xmm2
mov eax, dword [0x1800e2d20]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800db940]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.RRKZHRLIWP.ABNH:]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x40], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.4444]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800db940]
movd xmm1, dword [rbp - 0x3c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x3c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x1800a0250
mov rax, qword [0x1801a04a0]
lea rcx, [rbp - 0x40]
mov r8, rdi
mov rdx, r14
mov rax, qword [rax + 0x148]
call qword [case.0x18006b415.0]
mov eax, dword [0x1800e63c4]
lea rcx, [rbp + 0x48]
mov dword [rbp + 0x48], eax
mov r8, rdi
movzx eax, byte [0x1800e63c8]
mov edx, 6
xor byte [rbp + 0x49], 0x37
xor al, 0x3a
xor byte [rbp + 0x4a], 0x38
xor byte [rbp + 0x4b], 0x39
mov byte [rbp + 0x4c], al
mov rax, qword [0x1801a04a0]
mov byte [rbp + 0x48], 0x74
mov rax, qword [rax + 0x150]
call qword [case.0x18006b415.0]
movups xmm0, xmmword [str.UXVMHTPQ_M_t__EiZ_f:]
movups xmmword [rbp - 0x30], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1800a047d
cmp esi, 2
jl 0x1800a043f
movdqa xmm0, xmmword [0x1800e2d20]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x1800db910]
movdqa xmm4, xmmword [0x1800e6470]
movdqa xmm6, xmmword [str.4444]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 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 ebx, 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 [0x1800db940]
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 [0x1800db940]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1800a0340
jmp 0x1800a047d
lea r8, [rbp - 0x30]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x10
jl 0x1800a0450
mov rax, qword [0x1801a04a0]
lea rcx, [rbp - 0x30]
mov r8, rdi
xor edx, edx
mov rax, qword [rax + 0x150]
call qword [case.0x18006b415.0]
mov rax, qword [0x1801a04a0]
mov rcx, rdi
mov rax, qword [rax + 0x158]
call qword [case.0x18006b415.0]
mov rax, qword [0x1801a04a0]
mov rcx, rdi
mov rax, qword [rax + 0x160]
call qword [case.0x18006b415.0]
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret