Function at 0x18000f820
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
lea rbp, [rax - 0x68]
sub rsp, 0x158
cmp byte [0x1801af8f1], 0
mov r10, r8
mov rdi, rdx
je 0x180010192
movups xmm0, xmmword [str.VYS_UUXWXZW______:__.b_600S]
mov qword [rax + 0x10], rbx
xor ebx, ebx
mov qword [rax - 0x20], r14
mov r8d, ebx
mov r14d, dword [0x180096008]
movaps xmmword [rax - 0x38], xmm6
mov eax, dword [0x18008c978]
mov dword [rbp - 0x78], eax
movzx eax, word [0x18008c97c]
mov word [rbp - 0x74], ax
movzx eax, byte [0x18008c97e]
mov byte [rbp - 0x72], al
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x18008c970]
movsd qword [rbp - 0x80], xmm0
cmp r14d, 2
jl 0x18000f9df
movdqa xmm0, xmmword [0x18008dbb0]
lea rcx, [rsp + 0x74]
movdqa xmm5, xmmword [0x18008db30]
movdqa xmm4, xmmword [0x18008e050]
movdqa xmm6, xmmword [0x18008db80]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x18008dba0]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x18008dba0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x18000f8d0
cmp r8d, 0x1f
jge 0x18000fa24
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x1f
jl 0x18000f9f0
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18001017a
test rdi, rdi
je 0x18001017a
mov rcx, rdi
mov qword [rsp + 0x150], rsi
call fcn.1800077a0
mov rsi, rax
test rax, rax
jne 0x18000fa6a
xorps xmm6, xmm6
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], ebx
jmp 0x18000fab6
mov ecx, dword [0x1801af7fc]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1801afd58], eax
jg 0x18001019c
mov rdx, qword [0x1801afd18]
lea r8, [rsp + 0x40]
mov r9, rsi
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x48], ebx
xorps xmm6, xmm6
call fcn.1800244e0
lea r8, [rbp + 0x70]
mov qword [rbp + 0x70], rbx
lea rdx, [rsp + 0x60]
lea rcx, [0x1801af880]
call fcn.180007820
test al, al
je 0x180010172
mov r8, qword [0x1801af880]
mov qword [rsp + 0x140], r15
movabs r15, 0x7fffffff0000
lea rcx, [r8 + 0xc0]
cmp rcx, 0x40000
jbe 0x18000fb79
lea rax, [rcx + 8]
cmp rax, r15
jae 0x18000fb79
mov rcx, qword [rcx]
add rcx, 0x50
cmp rcx, 0x40000
jbe 0x18000fb79
lea rax, [rcx + 8]
cmp rax, r15
jae 0x18000fb79
mov rcx, qword [rcx]
add rcx, 0x198
cmp rcx, 0x40000
jbe 0x18000fb79
lea rax, [rcx + 8]
cmp rax, r15
jae 0x18000fb79
mov rsi, qword [rcx]
test rsi, rsi
je 0x18000fb79
mov ecx, 0x56e64b7d
call fcn.180003c00
mov rdx, rsi
lea rcx, [rsp + 0x40]
mov r8, qword [rax]
call r8
movss xmm1, dword [rsp + 0x40]
movss xmm0, dword [rsp + 0x44]
movss xmm2, dword [rsp + 0x48]
mov r8, qword [0x1801af880]
jmp 0x18000fb82
xorps xmm2, xmm2
xorps xmm0, xmm0
xorps xmm1, xmm1
subss xmm0, dword [rsp + 0x64]
subss xmm1, dword [rsp + 0x60]
subss xmm2, dword [rsp + 0x68]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, xmm2
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
cvtsi2ss xmm1, eax
comiss xmm1, dword [0x18008da10]
ja 0x18001016a
lea rcx, [r8 + 0xc0]
cmp rcx, 0x40000
jbe 0x18000fc46
lea rax, [rcx + 8]
cmp rax, r15
jae 0x18000fc46
mov rdx, qword [rcx]
add rdx, 0x50
cmp rdx, 0x40000
jbe 0x18000fc46
lea rax, [rdx + 8]
cmp rax, r15
jae 0x18000fc46
mov rdx, qword [rdx]
add rdx, 0x198
cmp rdx, 0x40000
jbe 0x18000fc46
lea rax, [rdx + 8]
cmp rax, r15
jae 0x18000fc46
mov rsi, qword [rdx]
test rsi, rsi
je 0x18000fc46
mov ecx, 0x56e64b7d
call fcn.180003c00
mov rdx, rsi
lea rcx, [rsp + 0x40]
mov r8, qword [rax]
call r8
movss xmm0, dword [rsp + 0x44]
movss xmm1, dword [rsp + 0x48]
movss xmm6, dword [rsp + 0x40]
jmp 0x18000fc4c
xorps xmm1, xmm1
xorps xmm0, xmm0
subss xmm0, dword [rsp + 0x64]
subss xmm6, dword [rsp + 0x60]
subss xmm1, dword [rsp + 0x68]
lea rdx, str.___d_m__
movaps xmmword [rsp + 0x120], xmm7
lea rcx, [rbp - 0x60]
mulss xmm0, xmm0
mulss xmm6, xmm6
mulss xmm1, xmm1
addss xmm0, xmm6
addss xmm0, xmm1
sqrtss xmm0, xmm0
cvttss2si r8d, xmm0
call fcn.180001f30
mov rax, qword [0x1801afc58]
mov rcx, rdi
add rax, 0x52e150
call rax
test al, al
jne 0x18000ff60
mov rax, qword [0x1801afc58]
mov rcx, rdi
add rax, 0x529140
call rax
test al, al
je 0x18000feb7
movaps xmm0, xmmword [0x18008dd10]
mov eax, dword [0x18008c220]
mov dword [rbp - 0x70], eax
movups xmm1, xmmword [0x18008c200]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x18008c210]
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm0
cmp r14d, 2
jl 0x18000fe24
movdqa xmm5, xmmword [0x18008db30]
lea rcx, [rsp + 0x70]
movdqa xmm4, xmmword [0x18008e050]
movdqa xmm6, xmmword [0x18008db80]
movdqa xmm7, xmmword [0x18008db90]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp ebx, 0x10
jl 0x18000fd30
cmp ebx, 0x12
jge 0x18000fe63
movsxd rax, ebx
lea r8, [rsp + 0x70]
lea r8, [r8 + rax*2]
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x35
xor word [r8 - 2], ax
cmp ebx, 0x12
jl 0x18000fe30
movss xmm6, dword [rbp + 0x70]
lea rax, [rsp + 0x40]
movss xmm7, dword [rbp + 0x74]
lea r9, [rsp + 0x70]
mov byte [rsp + 0x30], 1
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x70]
movss dword [rbp + 0x88], xmm6
movss dword [rbp + 0x8c], xmm7
mov qword [rsp + 0x20], rax
call fcn.180007bf0
movaps xmm0, xmmword [0x18008dd10]
lea rax, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
jmp 0x180010132
movaps xmm0, xmmword [0x18008dca0]
lea r9, [rsp + 0x40]
movzx eax, word [0x18008c5ec]
lea r8, [rbp + 0x88]
mov ecx, dword [0x18008c5e8]
xor ax, 0x3b
movss xmm6, dword [rbp + 0x70]
mov edx, 0x427
movss xmm7, dword [rbp + 0x74]
mov dword [rsp + 0x48], ecx
xor cx, 0x39
xor word [rsp + 0x4a], 0x3a
movups xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x4c], ax
lea rax, [rsp + 0x70]
movsd xmm0, qword [0x18008c5e0]
movsd qword [rsp + 0x40], xmm0
xor word [rsp + 0x42], 0x36
xor word [rsp + 0x44], 0x37
xor word [rsp + 0x46], 0x38
mov word [rsp + 0x40], dx
lea rdx, [rbp + 0x70]
mov byte [rsp + 0x30], 1
movss dword [rbp + 0x88], xmm6
movss dword [rbp + 0x8c], xmm7
mov word [rsp + 0x48], cx
mov qword [rsp + 0x20], rax
call fcn.180007bf0
movaps xmm0, xmmword [0x18008dca0]
jmp 0x180010128
movaps xmm0, xmmword [0x18008df30]
mov eax, dword [0x18008cae0]
mov dword [rsp + 0x58], eax
movzx eax, word [0x18008cae4]
mov word [rsp + 0x5c], ax
movups xmm7, xmmword [0x18008cac8]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x18008cad8]
movsd qword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm7
cmp r14d, 2
jl 0x180010097
movdqa xmm2, xmmword [0x18008db30]
mov ebx, 8
movdqa xmm4, xmmword [0x18008e050]
movdqa xmm1, xmm2
movdqa xmm6, xmmword [0x18008db90]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18008db80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm6
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm7
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x18008db40]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rsp + 0x40], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18008db80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm6
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x48]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rsp + 0x48], xmm3
movsxd rax, ebx
lea r8, [rsp + 0x40]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x35
xor word [r8 - 2], ax
cmp ebx, 0xf
jl 0x1800100b0
movss xmm6, dword [rbp + 0x70]
lea rax, [rsp + 0x70]
movss xmm7, dword [rbp + 0x74]
lea r9, [rsp + 0x40]
mov byte [rsp + 0x30], 1
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x70]
movss dword [rbp + 0x88], xmm6
movss dword [rbp + 0x8c], xmm7
mov qword [rsp + 0x20], rax
call fcn.180007bf0
movaps xmm0, xmmword [0x18008df30]
lea rax, [rsp + 0x70]
movups xmmword [rsp + 0x70], xmm0
addss xmm7, dword [0x18008d990]
mov byte [rsp + 0x30], 1
lea r9, [rbp - 0x60]
lea r8, [rbp + 0x70]
movss dword [rbp + 0x70], xmm6
lea rdx, [rbp + 0x88]
mov qword [rsp + 0x20], rax
movss dword [rbp + 0x74], xmm7
call fcn.180007bf0
movaps xmm7, xmmword [rsp + 0x120]
mov r15, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x150]
movaps xmm6, xmmword [rsp + 0x130]
mov rbx, qword [rsp + 0x178]
mov r14, qword [rsp + 0x148]
add rsp, 0x158
pop rdi
pop rbp
ret
lea rcx, [0x1801afd58]
call fcn.18005c6b4
cmp dword [0x1801afd58], 0xffffffff
jne 0x18000fa91
mov ecx, 0x56e64b7d
call fcn.180003c00
mov rcx, qword [rax]
mov qword [0x1801afd18], rcx
lea rcx, [0x1801afd58]
call fcn.18005c648
jmp 0x18000fa91