Function at 0x18000e8d0
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 [0x1801af892], 0
mov r10, r8
mov rdi, rdx
je 0x18000f227
movups xmm0, xmmword [str.AUYZhKM_HTbZZ0__:__h7:__.M]
mov qword [rax - 0x18], r14
xor r14d, r14d
cmp byte [0x18008c9e3], r14b
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x18008c9d8]
movaps xmmword [rax - 0x48], xmm8
mov eax, dword [0x18008c9e0]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], eax
je 0x18000eae4
cmp dword [0x180096008], 2
mov r8d, r14d
jl 0x18000ea9e
movdqa xmm0, xmmword [str.2222222222222222]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x18008db20]
mov eax, 5
movdqa xmm4, xmmword [0x18008e040]
movdqa xmm7, xmmword [0x18008db70]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm6, eax
mov eax, 0x1f
movd xmm8, eax
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, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18008db90]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18008db90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x18000e991
cmp r8d, 0x1c
jge 0x18000eae4
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [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, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x1c
jl 0x18000eab0
lea rdx, [rsp + 0x60]
mov rcx, r10
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000f206
test rdi, rdi
je 0x18000f206
mov rcx, rdi
mov qword [rsp + 0x1a8], rbx
call fcn.180007bb0
mov rbx, rax
test rax, rax
jne 0x18000eb2b
xorps xmm6, xmm6
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
jmp 0x18000eb78
mov ecx, dword [0x1801af7ac]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1801afd08], eax
jg 0x18000f231
mov rdx, qword [0x1801afcc8]
lea r8, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x48], r14d
xorps xmm6, xmm6
call fcn.180024980
lea r8, [rbp + 0xb8]
mov qword [rbp + 0xb8], r14
lea rdx, [rsp + 0x50]
lea rcx, [0x1801af828]
call fcn.180007c30
test al, al
je 0x18000f1fe
mov r8, qword [0x1801af828]
mov qword [rsp + 0x1b0], rsi
movabs rsi, 0x7fffffff0000
lea rcx, [r8 + 0xb8]
cmp rcx, 0x40000
jbe 0x18000ec41
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000ec41
mov rcx, qword [rcx]
add rcx, 0x48
cmp rcx, 0x40000
jbe 0x18000ec41
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000ec41
mov rcx, qword [rcx]
add rcx, 0x198
cmp rcx, 0x40000
jbe 0x18000ec41
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000ec41
mov rbx, qword [rcx]
test rbx, rbx
je 0x18000ec41
mov ecx, 0x56e64b7d
call fcn.180004030
mov rdx, rbx
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 [0x1801af828]
jmp 0x18000ec4a
xorps xmm2, xmm2
xorps xmm0, xmm0
xorps xmm1, xmm1
subss xmm0, dword [rsp + 0x54]
subss xmm1, dword [rsp + 0x50]
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 [0x1801ae6d8]
ja 0x18000f1f6
lea rcx, [r8 + 0xb8]
cmp rcx, 0x40000
jbe 0x18000ed0e
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000ed0e
mov rdx, qword [rcx]
add rdx, 0x48
cmp rdx, 0x40000
jbe 0x18000ed0e
lea rax, [rdx + 8]
cmp rax, rsi
jae 0x18000ed0e
mov rdx, qword [rdx]
add rdx, 0x198
cmp rdx, 0x40000
jbe 0x18000ed0e
lea rax, [rdx + 8]
cmp rax, rsi
jae 0x18000ed0e
mov rbx, qword [rdx]
test rbx, rbx
je 0x18000ed0e
mov ecx, 0x56e64b7d
call fcn.180004030
mov rdx, rbx
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 0x18000ed14
xorps xmm1, xmm1
xorps xmm0, xmm0
subss xmm0, dword [rsp + 0x54]
subss xmm6, dword [rsp + 0x50]
subss xmm1, dword [rsp + 0x58]
movaps xmmword [rsp + 0x140], xmm9
lea rdx, str.___d_m__
lea rcx, [rbp - 0x50]
movaps xmmword [rsp + 0x130], xmm10
mulss xmm0, xmm0
mulss xmm6, xmm6
mulss xmm1, xmm1
addss xmm6, xmm0
xorps xmm0, xmm0
addss xmm6, xmm1
sqrtss xmm0, xmm6
cvttss2si r8d, xmm0
call fcn.180001fd0
mov rax, qword [0x1801afc08]
mov rcx, rdi
add rax, 0x4b21f0
call rax
movaps xmm1, xmmword [0x18008dc50]
mov rcx, qword [0x1801af878]
test al, al
je 0x18000efa0
movaps xmm0, xmmword [0x18008dc80]
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 [0x1801af868]
lea rdx, [0x18005fcf0]
mov r8, rdx
mov rax, qword [rcx]
add r8, 2
cmp word [r8], r14w
jne 0x18000edc0
movss xmm0, dword [0x18008d9cc]
lea r9, [rbp + 0xa0]
movss xmm1, dword [0x18008d9f0]
sub r8, rdx
mov qword [rsp + 0x30], r9
mov r9, qword [0x1801af870]
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 [0x18008d880]
mov rcx, qword [0x1801af860]
movss xmm10, dword [rbp + 0xb8]
movss xmm9, dword [rbp + 0xbc]
movaps xmm8, xmm10
movss xmm6, dword [0x18008d8cc]
subss xmm8, xmm0
movss xmm0, dword [rbp - 0x70]
movaps xmm7, xmm9
mulss xmm0, dword [0x18008d880]
mov rax, qword [rcx]
mov r9, qword [0x1801af878]
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 [0x1801af860]
movaps xmm0, xmm8
mov r9, qword [0x1801af878]
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 [0x1801af860]
movaps xmm1, xmm7
mov r9, qword [0x1801af878]
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 [0x1801af860]
movaps xmm1, xmm7
mov r9, qword [0x1801af878]
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 [0x1801af878]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1801af860]
movaps xmm0, xmm8
mov r9, qword [0x1801af878]
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 [0x1800bef0a], r14b
je 0x18000f1e4
movaps xmm0, xmmword [0x18008dc80]
jmp 0x18000f19e
movaps xmm0, xmmword [0x18008dff0]
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 [0x1801af868]
lea rdx, [0x18005fd10]
mov r8, rdx
mov rax, qword [rcx]
add r8, 2
cmp word [r8], r14w
jne 0x18000efd0
movss xmm0, dword [0x18008d9cc]
lea r9, [rbp + 0xa0]
movss xmm1, dword [0x18008d9f0]
sub r8, rdx
mov qword [rsp + 0x30], r9
mov r9, qword [0x1801af870]
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 [0x18008d880]
mov rcx, qword [0x1801af860]
movss xmm10, dword [rbp + 0xb8]
movss xmm9, dword [rbp + 0xbc]
movaps xmm8, xmm10
movss xmm6, dword [0x18008d8cc]
subss xmm8, xmm0
movss xmm0, dword [rbp - 0x70]
movaps xmm7, xmm9
mulss xmm0, dword [0x18008d880]
mov rax, qword [rcx]
mov r9, qword [0x1801af878]
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 [0x1801af860]
movaps xmm0, xmm8
mov r9, qword [0x1801af878]
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 [0x1801af860]
movaps xmm1, xmm7
mov r9, qword [0x1801af878]
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 [0x1801af860]
movaps xmm1, xmm7
mov r9, qword [0x1801af878]
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 [0x1801af878]
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1801af860]
movaps xmm0, xmm8
mov r9, qword [0x1801af878]
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 [0x1800bef0a], r14b
je 0x18000f1e4
movaps xmm0, xmmword [0x18008dff0]
addss xmm9, dword [0x18008d980]
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.180008000
movaps xmm9, xmmword [rsp + 0x140]
movaps xmm10, xmmword [rsp + 0x130]
mov rsi, qword [rsp + 0x1b0]
mov rbx, qword [rsp + 0x1a8]
movaps xmm6, xmmword [rsp + 0x170]
movaps xmm7, xmmword [rsp + 0x160]
movaps xmm8, xmmword [rsp + 0x150]
mov r14, qword [rsp + 0x180]
add rsp, 0x188
pop rdi
pop rbp
ret
lea rcx, [0x1801afd08]
call fcn.18005c4d4
cmp dword [0x1801afd08], 0xffffffff
jne 0x18000eb52
mov ecx, 0x56e64b7d
call fcn.180004030
mov rcx, qword [rax]
mov qword [0x1801afcc8], rcx
lea rcx, [0x1801afd08]
call fcn.18005c468
jmp 0x18000eb52