Function at 0x18000e680
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
lea rbp, [rax - 0x98]
sub rsp, 0x188
cmp byte [0x1801ae8e5], 0
mov r10, r8
mov rdi, rdx
je 0x18000efc8
movups xmm0, xmmword [str.DUXVWcNJ3_]
mov qword [rax - 0x18], r14
xor r14d, r14d
cmp byte [0x18008bb63], r14b
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x18008bb58]
movaps xmmword [rax - 0x28], xmm6
mov eax, dword [0x18008bb60]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], eax
je 0x18000e864
cmp dword [0x180095010], 2
mov r8d, r14d
jl 0x18000e821
movdqa xmm0, xmmword [0x18008cba0]
lea rcx, [rsp + 0x64]
movdqa xmm4, xmmword [0x18008cb20]
movdqa xmm3, xmmword [0x18008d270]
movdqa xmm5, xmmword [0x18008cb70]
movdqa xmm6, xmmword [0x18008cb80]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x18000e730
cmp r8d, 0x1c
jge 0x18000e864
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
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, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x1c
jl 0x18000e830
lea rdx, [rsp + 0x60]
mov rcx, r10
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000efb8
test rdi, rdi
je 0x18000efb8
mov rcx, rdi
mov qword [rsp + 0x1a8], rbx
call fcn.1800074e0
mov rbx, rax
test rax, rax
jne 0x18000e8ab
xorps xmm6, xmm6
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
jmp 0x18000e900
mov ecx, dword [0x1801ae7fc]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1801aed58], eax
jg 0x18000efd2
mov rdx, qword [0x1801aed18]
lea r8, [rsp + 0x40]
xorps xmm6, xmm6
lea rcx, [rsp + 0x50]
xorps xmm0, xmm0
movss dword [rsp + 0x48], xmm6
unpcklps xmm0, xmm6
mov r9, rbx
movsd qword [rsp + 0x40], xmm0
call fcn.180023c70
lea r8, [rbp + 0xb8]
mov qword [rbp + 0xb8], r14
lea rdx, [rsp + 0x50]
lea rcx, [0x1801ae880]
call fcn.180007560
test al, al
je 0x18000efb0
mov r8, qword [0x1801ae880]
mov qword [rsp + 0x1b0], rsi
movabs rsi, 0x7fffffff0000
lea rcx, [r8 + 0xc8]
cmp rcx, 0x40000
jbe 0x18000e9c9
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000e9c9
mov rcx, qword [rcx]
add rcx, 0x50
cmp rcx, 0x40000
jbe 0x18000e9c9
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000e9c9
mov rcx, qword [rcx]
add rcx, 0x198
cmp rcx, 0x40000
jbe 0x18000e9c9
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000e9c9
mov rbx, qword [rcx]
test rbx, rbx
je 0x18000e9c9
mov ecx, 0x56e64b7d
call fcn.180003b50
mov rdx, rbx
lea rcx, [rsp + 0x40]
mov r8, qword [rax]
call r8
movss xmm1, dword [rsp + 0x44]
movss xmm0, dword [rsp + 0x40]
movss xmm2, dword [rsp + 0x48]
mov r8, qword [0x1801ae880]
jmp 0x18000e9d2
xorps xmm1, xmm1
xorps xmm0, xmm0
xorps xmm2, xmm2
subss xmm0, dword [rsp + 0x50]
subss xmm1, dword [rsp + 0x54]
subss xmm2, dword [rsp + 0x58]
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 [0x1801ad728]
ja 0x18000efa8
lea rcx, [r8 + 0xc8]
cmp rcx, 0x40000
jbe 0x18000ea96
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000ea96
mov rcx, qword [rcx]
add rcx, 0x50
cmp rcx, 0x40000
jbe 0x18000ea96
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000ea96
mov rdx, qword [rcx]
add rdx, 0x198
cmp rdx, 0x40000
jbe 0x18000ea96
lea rax, [rdx + 8]
cmp rax, rsi
jae 0x18000ea96
mov rbx, qword [rdx]
test rbx, rbx
je 0x18000ea96
mov ecx, 0x56e64b7d
call fcn.180003b50
mov rdx, rbx
lea rcx, [rsp + 0x40]
mov r8, qword [rax]
call r8
movss xmm0, dword [rsp + 0x40]
movss xmm1, dword [rsp + 0x48]
movss xmm6, dword [rsp + 0x44]
jmp 0x18000ea9c
xorps xmm0, xmm0
xorps xmm1, xmm1
subss xmm0, dword [rsp + 0x50]
subss xmm6, dword [rsp + 0x54]
subss xmm1, dword [rsp + 0x58]
movaps xmmword [rsp + 0x160], xmm7
lea rdx, str.___d_m__
movaps xmmword [rsp + 0x150], xmm8
lea rcx, [rbp - 0x50]
mulss xmm0, xmm0
mulss xmm6, xmm6
mulss xmm1, xmm1
addss xmm0, xmm6
movaps xmmword [rsp + 0x140], xmm9
movaps xmmword [rsp + 0x130], xmm10
addss xmm0, xmm1
sqrtss xmm0, xmm0
cvttss2si r8d, xmm0
call fcn.180001f20
mov rax, qword [0x1801aec58]
mov rcx, rdi
add rax, 0x53ddb0
call rax
movdqa xmm1, xmmword [0x18008cd40]
mov rcx, qword [0x1801ae8c8]
test al, al
je 0x18000ed38
movdqa xmm0, xmmword [0x18008cd80]
lea rdx, [rsp + 0x40]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x40], xmm1
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1801ae8b8]
lea rdx, [0x18005ece0]
mov r8, rdx
mov rax, qword [rcx]
nop dword [rax + rax]
add r8, 2
cmp word [r8], r14w
jne 0x18000eb60
movss xmm0, dword [0x18008c9bc]
lea r9, [rbp + 0xa0]
movss xmm1, dword [0x18008c9d8]
sub r8, rdx
mov qword [rsp + 0x30], r9
mov r9, qword [0x1801ae8c0]
movss dword [rsp + 0x28], xmm0
sar r8, 1
movss dword [rsp + 0x20], xmm1
call qword [rax + 0x90]
mov rcx, qword [rbp + 0xa0]
lea rdx, [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x1e0]
movss xmm0, dword [rbp - 0x78]
mulss xmm0, dword [0x18008c870]
mov rcx, qword [0x1801ae8b0]
movss xmm10, dword [rbp + 0xb8]
movss xmm9, dword [rbp + 0xbc]
movaps xmm8, xmm10
movss xmm6, dword [0x18008c8bc]
subss xmm8, xmm0
movss xmm0, dword [rbp - 0x70]
movaps xmm7, xmm9
mulss xmm0, dword [0x18008c870]
mov rax, qword [rcx]
mov r9, qword [0x1801ae8c8]
mov r8, qword [rbp + 0xa0]
subss xmm7, xmm0
mov dword [rsp + 0x20], r14d
movaps xmm0, xmm8
subss xmm0, xmm6
unpcklps xmm0, xmm7
movq rdx, xmm0
call qword [rax + 0xe0]
mov rcx, qword [0x1801ae8b0]
movaps xmm0, xmm8
mov r9, qword [0x1801ae8c8]
addss xmm0, xmm6
mov r8, qword [rbp + 0xa0]
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
unpcklps xmm0, xmm7
movq rdx, xmm0
call qword [rax + 0xe0]
mov rcx, qword [0x1801ae8b0]
movaps xmm1, xmm7
mov r9, qword [0x1801ae8c8]
subss xmm1, xmm6
mov r8, qword [rbp + 0xa0]
movaps xmm0, xmm8
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
unpcklps xmm0, xmm1
movq rdx, xmm0
call qword [rax + 0xe0]
mov rcx, qword [0x1801ae8b0]
movaps xmm1, xmm7
mov r9, qword [0x1801ae8c8]
addss xmm1, xmm6
mov r8, qword [rbp + 0xa0]
movaps xmm0, xmm8
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
unpcklps xmm0, xmm1
movq rdx, xmm0
call qword [rax + 0xe0]
mov rcx, qword [0x1801ae8c8]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1801ae8b0]
movaps xmm0, xmm8
mov r9, qword [0x1801ae8c8]
mov r8, qword [rbp + 0xa0]
unpcklps xmm0, xmm7
mov rax, qword [rcx]
movq rdx, xmm0
mov dword [rsp + 0x20], r14d
call qword [rax + 0xe0]
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp byte [0x1800bdf5a], r14b
je 0x18000ef85
movdqa xmm0, xmmword [0x18008cd80]
jmp 0x18000ef3f
movdqa xmm0, xmmword [0x18008d210]
lea rdx, [rsp + 0x60]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x60], xmm1
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1801ae8b8]
lea rdx, [0x18005ed00]
mov r8, rdx
mov rax, qword [rcx]
nop dword [rax]
add r8, 2
cmp word [r8], r14w
jne 0x18000ed70
movss xmm0, dword [0x18008c9bc]
lea r9, [rbp + 0xa0]
movss xmm1, dword [0x18008c9d8]
sub r8, rdx
mov qword [rsp + 0x30], r9
mov r9, qword [0x1801ae8c0]
movss dword [rsp + 0x28], xmm0
sar r8, 1
movss dword [rsp + 0x20], xmm1
call qword [rax + 0x90]
mov rcx, qword [rbp + 0xa0]
lea rdx, [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x1e0]
movss xmm0, dword [rbp - 0x78]
mulss xmm0, dword [0x18008c870]
mov rcx, qword [0x1801ae8b0]
movss xmm10, dword [rbp + 0xb8]
movss xmm9, dword [rbp + 0xbc]
movaps xmm8, xmm10
movss xmm6, dword [0x18008c8bc]
subss xmm8, xmm0
movss xmm0, dword [rbp - 0x70]
movaps xmm7, xmm9
mulss xmm0, dword [0x18008c870]
mov rax, qword [rcx]
mov r9, qword [0x1801ae8c8]
mov r8, qword [rbp + 0xa0]
subss xmm7, xmm0
mov dword [rsp + 0x20], r14d
movaps xmm0, xmm8
subss xmm0, xmm6
unpcklps xmm0, xmm7
movq rdx, xmm0
call qword [rax + 0xe0]
mov rcx, qword [0x1801ae8b0]
movaps xmm0, xmm8
mov r9, qword [0x1801ae8c8]
addss xmm0, xmm6
mov r8, qword [rbp + 0xa0]
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
unpcklps xmm0, xmm7
movq rdx, xmm0
call qword [rax + 0xe0]
mov rcx, qword [0x1801ae8b0]
movaps xmm1, xmm7
mov r9, qword [0x1801ae8c8]
subss xmm1, xmm6
mov r8, qword [rbp + 0xa0]
movaps xmm0, xmm8
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
unpcklps xmm0, xmm1
movq rdx, xmm0
call qword [rax + 0xe0]
mov rcx, qword [0x1801ae8b0]
movaps xmm1, xmm7
mov r9, qword [0x1801ae8c8]
addss xmm1, xmm6
mov r8, qword [rbp + 0xa0]
movaps xmm0, xmm8
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
unpcklps xmm0, xmm1
movq rdx, xmm0
call qword [rax + 0xe0]
mov rcx, qword [0x1801ae8c8]
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1801ae8b0]
movaps xmm0, xmm8
mov r9, qword [0x1801ae8c8]
mov r8, qword [rbp + 0xa0]
unpcklps xmm0, xmm7
mov rax, qword [rcx]
movq rdx, xmm0
mov dword [rsp + 0x20], r14d
call qword [rax + 0xe0]
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp byte [0x1800bdf5a], r14b
je 0x18000ef85
movdqa xmm0, xmmword [0x18008d210]
addss xmm9, dword [0x18008c970]
lea rax, [rsp + 0x60]
mov byte [rsp + 0x30], 1
lea r9, [rbp - 0x50]
movss dword [rbp + 0xa0], xmm10
lea r8, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xb8]
movss dword [rbp + 0xa4], xmm9
movups xmmword [rsp + 0x60], xmm0
call fcn.180007920
movaps xmm9, xmmword [rsp + 0x140]
movaps xmm8, xmmword [rsp + 0x150]
movaps xmm7, xmmword [rsp + 0x160]
movaps xmm10, xmmword [rsp + 0x130]
mov rsi, qword [rsp + 0x1b0]
mov rbx, qword [rsp + 0x1a8]
movaps xmm6, xmmword [rsp + 0x170]
mov r14, qword [rsp + 0x180]
add rsp, 0x188
pop rdi
pop rbp
ret
lea rcx, [0x1801aed58]
call fcn.18005bbbc
cmp dword [0x1801aed58], 0xffffffff
jne 0x18000e8d2
mov ecx, 0x56e64b7d
call fcn.180003b50
mov rcx, qword [rax]
mov qword [0x1801aed18], rcx
lea rcx, [0x1801aed58]
call fcn.18005bb50
jmp 0x18000e8d2