Function at 0x18000e610
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 [0x1801af8e5], 0
mov r10, r8
mov rdi, rdx
je 0x18000ef67
movups xmm0, xmmword [0x18008cb10]
mov qword [rax - 0x18], r14
xor r14d, r14d
cmp byte [0x18008cb2b], r14b
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x18008cb20]
movaps xmmword [rax - 0x28], xmm6
mov eax, dword [0x18008cb28]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], eax
je 0x18000e814
cmp dword [0x180096008], 2
mov r8d, r14d
jl 0x18000e7cf
movdqa xmm0, xmmword [0x18008dbb0]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x18008db30]
movdqa xmm4, xmmword [0x18008e050]
movdqa xmm6, xmmword [0x18008db80]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 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
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 0x18000e6c0
cmp r8d, 0x1c
jge 0x18000e814
movsxd rax, r8d
lea r9, [rsp + 0x60]
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, 0x1c
jl 0x18000e7e0
lea rdx, [rsp + 0x60]
mov rcx, r10
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000ef57
test rdi, rdi
je 0x18000ef57
mov rcx, rdi
mov qword [rsp + 0x1a8], rbx
call fcn.1800077a0
mov rbx, rax
test rax, rax
jne 0x18000e85b
xorps xmm6, xmm6
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
jmp 0x18000e8a8
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 0x18000ef71
mov rdx, qword [0x1801afd18]
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.1800244e0
lea r8, [rbp + 0xb8]
mov qword [rbp + 0xb8], r14
lea rdx, [rsp + 0x50]
lea rcx, [0x1801af880]
call fcn.180007820
test al, al
je 0x18000ef4f
mov r8, qword [0x1801af880]
mov qword [rsp + 0x1b0], rsi
movabs rsi, 0x7fffffff0000
lea rcx, [r8 + 0xc0]
cmp rcx, 0x40000
jbe 0x18000e971
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000e971
mov rcx, qword [rcx]
add rcx, 0x50
cmp rcx, 0x40000
jbe 0x18000e971
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000e971
mov rcx, qword [rcx]
add rcx, 0x198
cmp rcx, 0x40000
jbe 0x18000e971
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000e971
mov rbx, qword [rcx]
test rbx, rbx
je 0x18000e971
mov ecx, 0x56e64b7d
call fcn.180003c00
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 [0x1801af880]
jmp 0x18000e97a
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 [0x1801ae728]
ja 0x18000ef47
lea rcx, [r8 + 0xc0]
cmp rcx, 0x40000
jbe 0x18000ea3e
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000ea3e
mov rdx, qword [rcx]
add rdx, 0x50
cmp rdx, 0x40000
jbe 0x18000ea3e
lea rax, [rdx + 8]
cmp rax, rsi
jae 0x18000ea3e
mov rdx, qword [rdx]
add rdx, 0x198
cmp rdx, 0x40000
jbe 0x18000ea3e
lea rax, [rdx + 8]
cmp rax, rsi
jae 0x18000ea3e
mov rbx, qword [rdx]
test rbx, rbx
je 0x18000ea3e
mov ecx, 0x56e64b7d
call fcn.180003c00
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 0x18000ea44
xorps xmm1, xmm1
xorps xmm0, xmm0
subss xmm0, dword [rsp + 0x54]
subss xmm6, dword [rsp + 0x50]
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 xmm6, xmm0
movaps xmmword [rsp + 0x140], xmm9
xorps xmm0, xmm0
movaps xmmword [rsp + 0x130], xmm10
addss xmm6, xmm1
sqrtss xmm0, xmm6
cvttss2si r8d, xmm0
call fcn.180001f30
mov rax, qword [0x1801afc58]
mov rcx, rdi
add rax, 0x52fcf0
call rax
movaps xmm1, xmmword [0x18008dc60]
mov rcx, qword [0x1801af8c8]
test al, al
je 0x18000ece0
movaps xmm0, xmmword [0x18008dc90]
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 [0x1801af8b8]
lea rdx, [0x18005fcf0]
mov r8, rdx
mov rax, qword [rcx]
add r8, 2
cmp word [r8], r14w
jne 0x18000eb01
movss xmm0, dword [0x18008d9dc]
lea r9, [rbp + 0xa0]
movss xmm1, dword [0x18008da00]
sub r8, rdx
mov qword [rsp + 0x30], r9
mov r9, qword [0x1801af8c0]
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 [0x18008d890]
mov rcx, qword [0x1801af8b0]
movss xmm10, dword [rbp + 0xb8]
movss xmm9, dword [rbp + 0xbc]
movaps xmm8, xmm10
movss xmm6, dword [0x18008d8dc]
subss xmm8, xmm0
movss xmm0, dword [rbp - 0x70]
movaps xmm7, xmm9
mulss xmm0, dword [0x18008d890]
mov rax, qword [rcx]
mov r9, qword [0x1801af8c8]
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 [0x1801af8b0]
movaps xmm0, xmm8
mov r9, qword [0x1801af8c8]
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 [0x1801af8b0]
movaps xmm1, xmm7
mov r9, qword [0x1801af8c8]
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 [0x1801af8b0]
movaps xmm1, xmm7
mov r9, qword [0x1801af8c8]
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 [0x1801af8c8]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1801af8b0]
movaps xmm0, xmm8
mov r9, qword [0x1801af8c8]
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 [0x1800bef5a], r14b
je 0x18000ef24
movaps xmm0, xmmword [0x18008dc90]
jmp 0x18000eede
movaps xmm0, xmmword [0x18008e000]
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 [0x1801af8b8]
lea rdx, [0x18005fd10]
mov r8, rdx
mov rax, qword [rcx]
add r8, 2
cmp word [r8], r14w
jne 0x18000ed10
movss xmm0, dword [0x18008d9dc]
lea r9, [rbp + 0xa0]
movss xmm1, dword [0x18008da00]
sub r8, rdx
mov qword [rsp + 0x30], r9
mov r9, qword [0x1801af8c0]
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 [0x18008d890]
mov rcx, qword [0x1801af8b0]
movss xmm10, dword [rbp + 0xb8]
movss xmm9, dword [rbp + 0xbc]
movaps xmm8, xmm10
movss xmm6, dword [0x18008d8dc]
subss xmm8, xmm0
movss xmm0, dword [rbp - 0x70]
movaps xmm7, xmm9
mulss xmm0, dword [0x18008d890]
mov rax, qword [rcx]
mov r9, qword [0x1801af8c8]
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 [0x1801af8b0]
movaps xmm0, xmm8
mov r9, qword [0x1801af8c8]
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 [0x1801af8b0]
movaps xmm1, xmm7
mov r9, qword [0x1801af8c8]
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 [0x1801af8b0]
movaps xmm1, xmm7
mov r9, qword [0x1801af8c8]
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 [0x1801af8c8]
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1801af8b0]
movaps xmm0, xmm8
mov r9, qword [0x1801af8c8]
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 [0x1800bef5a], r14b
je 0x18000ef24
movaps xmm0, xmmword [0x18008e000]
addss xmm9, dword [0x18008d990]
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.180007bf0
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, [0x1801afd58]
call fcn.18005c6b4
cmp dword [0x1801afd58], 0xffffffff
jne 0x18000e882
mov ecx, 0x56e64b7d
call fcn.180003c00
mov rcx, qword [rax]
mov qword [0x1801afd18], rcx
lea rcx, [0x1801afd58]
call fcn.18005c648
jmp 0x18000e882