Function at 0x18000f270
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
lea rbp, [rax - 0xf8]
sub rsp, 0x1e8
cmp byte [0x1801af8ba], 0
mov r10, r8
mov rsi, rdx
je 0x18000facf
movups xmm0, xmmword [str.QFDWYVJ_]
mov qword [rax + 0x10], rbx
xor ebx, ebx
cmp byte [0x18008c3d5], bl
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
lea r12d, [rbx + 5]
mov r14d, dword [0x180096008]
lea r13d, [rbx + 0x1f]
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov eax, dword [0x18008c3d0]
mov dword [rsp + 0x78], eax
movzx eax, word [0x18008c3d4]
movups xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x7c], ax
movsd xmm0, qword [0x18008c3c8]
movsd qword [rsp + 0x70], xmm0
je 0x18000f4a4
mov r8d, ebx
cmp r14d, 2
jl 0x18000f45d
movdqa xmm0, xmmword [str.2222222222222222]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x18008db20]
movdqa xmm4, xmmword [0x18008e040]
movdqa xmm7, xmmword [0x18008db70]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm6, r12d
movd xmm8, r13d
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, 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 0x18000f350
cmp r8d, 0x1e
jge 0x18000f4a4
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [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, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x1e
jl 0x18000f470
lea rdx, [rsp + 0x60]
mov rcx, r10
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000fa96
test rsi, rsi
je 0x18000fa96
mov rcx, rsi
mov qword [rsp + 0x1e0], rdi
call fcn.180007bb0
mov rdi, rax
test rax, rax
jne 0x18000f4ea
xorps xmm6, xmm6
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
jmp 0x18000f536
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 0x18000fad9
mov rdx, qword [0x1801afcc8]
lea r8, [rsp + 0x40]
mov r9, rdi
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x48], ebx
xorps xmm6, xmm6
call fcn.180024980
lea r8, [rbp + 0x100]
mov qword [rbp + 0x100], rbx
lea rdx, [rsp + 0x50]
lea rcx, [0x1801af828]
call fcn.180007c30
test al, al
je 0x18000fa8e
mov r8, qword [0x1801af828]
mov qword [rsp + 0x1c0], r15
movabs r15, 0x7fffffff0000
lea rcx, [r8 + 0xb8]
cmp rcx, 0x40000
jbe 0x18000f5ff
lea rax, [rcx + 8]
cmp rax, r15
jae 0x18000f5ff
mov rcx, qword [rcx]
add rcx, 0x48
cmp rcx, 0x40000
jbe 0x18000f5ff
lea rax, [rcx + 8]
cmp rax, r15
jae 0x18000f5ff
mov rcx, qword [rcx]
add rcx, 0x198
cmp rcx, 0x40000
jbe 0x18000f5ff
lea rax, [rcx + 8]
cmp rax, r15
jae 0x18000f5ff
mov rdi, qword [rcx]
test rdi, rdi
je 0x18000f5ff
mov ecx, 0x56e64b7d
call fcn.180004030
mov rdx, rdi
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 0x18000f608
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 [0x18008da00]
ja 0x18000fa86
lea rcx, [r8 + 0xb8]
cmp rcx, 0x40000
jbe 0x18000f6cc
lea rax, [rcx + 8]
cmp rax, r15
jae 0x18000f6cc
mov rcx, qword [rcx]
add rcx, 0x48
cmp rcx, 0x40000
jbe 0x18000f6cc
lea rax, [rcx + 8]
cmp rax, r15
jae 0x18000f6cc
mov rcx, qword [rcx]
add rcx, 0x198
cmp rcx, 0x40000
jbe 0x18000f6cc
lea rax, [rcx + 8]
cmp rax, r15
jae 0x18000f6cc
mov rdi, qword [rcx]
test rdi, rdi
je 0x18000f6cc
mov ecx, 0x56e64b7d
call fcn.180004030
mov rdx, rdi
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]
jmp 0x18000f6d5
xorps xmm2, xmm2
xorps xmm0, xmm0
xorps xmm1, xmm1
subss xmm0, dword [rsp + 0x54]
subss xmm1, dword [rsp + 0x50]
subss xmm2, dword [rsp + 0x58]
lea rdx, str.___d_m__
lea rcx, [rbp]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
sqrtss xmm0, xmm0
cvttss2si r8d, xmm0
call fcn.180001fd0
mov rcx, qword [0x1801af828]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x18000f79d
lea rax, [rcx + 8]
cmp rax, r15
jae 0x18000f79d
mov rdx, qword [rcx]
add rdx, 0x48
cmp rdx, 0x40000
jbe 0x18000f79d
lea rax, [rdx + 8]
cmp rax, r15
jae 0x18000f79d
mov rdx, qword [rdx]
add rdx, 0x198
cmp rdx, 0x40000
jbe 0x18000f79d
lea rax, [rdx + 8]
cmp rax, r15
jae 0x18000f79d
mov rdi, qword [rdx]
test rdi, rdi
je 0x18000f79d
mov ecx, 0x56e64b7d
call fcn.180004030
mov rdx, rdi
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]
jmp 0x18000f7a6
xorps xmm2, xmm2
xorps xmm0, xmm0
xorps xmm1, xmm1
subss xmm0, dword [rsp + 0x54]
subss xmm1, dword [rsp + 0x50]
subss xmm2, dword [rsp + 0x58]
lea rdx, [0x18005fd2c]
lea rcx, [rbp - 0x80]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
sqrtss xmm0, xmm0
cvttss2si r8d, xmm0
call fcn.180001fd0
lea rcx, [rsi + 0x630]
cmp rcx, 0x40000
jbe 0x18000f802
lea rax, [rcx + 4]
cmp rax, r15
jae 0x18000f802
movss xmm6, dword [rcx]
movups xmm1, xmmword [str.eTRKM3A]
movups xmm0, xmmword [0x18008c518]
pextrw eax, xmm1, 7
cvttss2si r9d, xmm6
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
test ax, ax
je 0x18000f9a3
cmp r14d, 2
jl 0x18000f96a
movdqa xmm5, xmmword [0x18008db20]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x18008e040]
movdqa xmm7, xmmword [0x18008db70]
movaps xmmword [rsp + 0x180], xmm9
movdqa xmm9, xmmword [0x18008db80]
movd xmm6, r12d
movd xmm8, r13d
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
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 0x18000f870
movaps xmm9, xmmword [rsp + 0x180]
jmp 0x18000f9a3
lea r8, [rsp + 0x60]
nop
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, 0x32
xor word [r8 - 2], ax
cmp ebx, 0x10
jl 0x18000f970
mov eax, 0x88888889
mov dword [rsp + 0x28], 1
imul r9d
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x20], 1
add edx, r9d
mov r9d, 0xffff00
sar edx, 5
mov r8d, edx
shr r8d, 0x1f
add r8d, edx
lea rdx, [rsp + 0x60]
call fcn.180001fd0
movss xmm7, dword [rbp + 0x100]
lea rax, [rsp + 0x40]
movaps xmm0, xmmword [0x18008dd00]
lea r9, [rbp - 0x80]
movss xmm6, dword [rbp + 0x104]
lea r8, [rbp + 0x118]
movaps xmm1, xmm7
mov byte [rsp + 0x30], 1
addss xmm1, dword [0x18008d94c]
lea rdx, [rbp + 0x100]
movss dword [rbp + 0x11c], xmm6
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x20], rax
movss dword [rbp + 0x118], xmm1
call fcn.180008000
addss xmm6, dword [0x18008d980]
movaps xmm0, xmmword [0x18008dd00]
lea rax, [rsp + 0x40]
mov byte [rsp + 0x30], 1
lea r9, [rbp]
lea r8, [rbp + 0x100]
movss dword [rbp + 0x100], xmm7
lea rdx, [rbp + 0x118]
mov qword [rsp + 0x20], rax
movss dword [rbp + 0x104], xmm6
movups xmmword [rsp + 0x40], xmm0
call fcn.180008000
mov r15, qword [rsp + 0x1c0]
mov rdi, qword [rsp + 0x1e0]
movaps xmm6, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1a0]
movaps xmm8, xmmword [rsp + 0x190]
mov r12, qword [rsp + 0x1d8]
mov r13, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x208]
mov r14, qword [rsp + 0x1c8]
add rsp, 0x1e8
pop rsi
pop rbp
ret
lea rcx, [0x1801afd08]
call fcn.18005c4d4
cmp dword [0x1801afd08], 0xffffffff
jne 0x18000f511
mov ecx, 0x56e64b7d
call fcn.180004030
mov rcx, qword [rax]
mov qword [0x1801afcc8], rcx
lea rcx, [0x1801afd08]
call fcn.18005c468
jmp 0x18000f511