Function at 0x18000f240
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 [0x1801bb322], 0
mov r10, r8
mov rdi, rdx
je 0x18000fb97
movups xmm0, xmmword [0x180096480]
mov qword [rax - 0x18], r14
xor r14d, r14d
cmp byte [0x18009649b], r14b
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x180096490]
movaps xmmword [rax - 0x28], xmm6
mov eax, dword [0x180096498]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], eax
je 0x18000f441
cmp dword [0x1800a1010], 2
mov r8d, r14d
jl 0x18000f3f7
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x180097460]
movdqa xmm4, xmmword [0x180097950]
movdqa xmm6, xmmword [0x1800974b0]
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
psrad xmm1, 4
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 [0x1800974d0]
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
psrad xmm1, 4
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 [0x1800974d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x18000f2f0
cmp r8d, 0x1c
jge 0x18000f441
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x1c
jl 0x18000f410
lea rdx, [rsp + 0x60]
mov rcx, r10
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x18000fb87
test rdi, rdi
je 0x18000fb87
mov rcx, rdi
mov qword [rsp + 0x1a8], rbx
call fcn.180008600
mov rbx, rax
test rax, rax
jne 0x18000f488
xorps xmm6, xmm6
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
jmp 0x18000f4d5
mov ecx, dword [0x1801bacc0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1801bb7a8], eax
jg 0x18000fba1
mov rdx, qword [0x1801bb768]
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.180026710
lea r8, [rbp + 0xb8]
mov qword [rbp + 0xb8], r14
lea rdx, [rsp + 0x50]
lea rcx, [0x1801bb2b8]
call fcn.180008680
test al, al
je 0x18000fb7f
mov r8, qword [0x1801bb2b8]
mov qword [rsp + 0x1b0], rsi
movabs rsi, 0x7fffffff0000
lea rcx, [r8 + 0xb8]
cmp rcx, 0x40000
jbe 0x18000f59e
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000f59e
mov rcx, qword [rcx]
add rcx, 0x48
cmp rcx, 0x40000
jbe 0x18000f59e
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000f59e
mov rcx, qword [rcx]
add rcx, 0x198
cmp rcx, 0x40000
jbe 0x18000f59e
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000f59e
mov rbx, qword [rcx]
test rbx, rbx
je 0x18000f59e
mov ecx, 0x56e64b7d
call fcn.180004c60
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 [0x1801bb2b8]
jmp 0x18000f5a7
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 [0x1801b9738]
ja 0x18000fb77
lea rcx, [r8 + 0xb8]
cmp rcx, 0x40000
jbe 0x18000f66b
lea rax, [rcx + 8]
cmp rax, rsi
jae 0x18000f66b
mov rdx, qword [rcx]
add rdx, 0x48
cmp rdx, 0x40000
jbe 0x18000f66b
lea rax, [rdx + 8]
cmp rax, rsi
jae 0x18000f66b
mov rdx, qword [rdx]
add rdx, 0x198
cmp rdx, 0x40000
jbe 0x18000f66b
lea rax, [rdx + 8]
cmp rax, rsi
jae 0x18000f66b
mov rbx, qword [rdx]
test rbx, rbx
je 0x18000f66b
mov ecx, 0x56e64b7d
call fcn.180004c60
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 0x18000f671
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.1800030a0
mov rax, qword [0x1801bb698]
mov rcx, rdi
add rax, 0x4e46e0
call rax
movaps xmm1, xmmword [0x180097590]
mov rcx, qword [0x1801bb308]
test al, al
je 0x18000f910
movaps xmm0, xmmword [0x1800975c0]
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 [0x1801bb2f8]
lea rdx, [0x180068fb0]
mov r8, rdx
mov rax, qword [rcx]
nop
add r8, 2
cmp word [r8], r14w
jne 0x18000f730
movss xmm0, dword [0x1800972fc]
lea r9, [rbp + 0xa0]
movss xmm1, dword [0x180097320]
sub r8, rdx
mov qword [rsp + 0x30], r9
mov r9, qword [0x1801bb300]
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 [0x1800971b0]
mov rcx, qword [0x1801bb2f0]
movss xmm10, dword [rbp + 0xb8]
movss xmm9, dword [rbp + 0xbc]
movaps xmm8, xmm10
movss xmm6, dword [0x1800971fc]
subss xmm8, xmm0
movss xmm0, dword [rbp - 0x70]
movaps xmm7, xmm9
mulss xmm0, dword [0x1800971b0]
mov rax, qword [rcx]
mov r9, qword [0x1801bb308]
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 [0x1801bb2f0]
movaps xmm0, xmm8
mov r9, qword [0x1801bb308]
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 [0x1801bb2f0]
movaps xmm1, xmm7
mov r9, qword [0x1801bb308]
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 [0x1801bb2f0]
movaps xmm1, xmm7
mov r9, qword [0x1801bb308]
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 [0x1801bb308]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1801bb2f0]
movaps xmm0, xmm8
mov r9, qword [0x1801bb308]
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 [0x1800c9f6a], r14b
je 0x18000fb54
movaps xmm0, xmmword [0x1800975c0]
jmp 0x18000fb0e
movaps xmm0, xmmword [0x180097930]
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 [0x1801bb2f8]
lea rdx, [0x180068fd0]
mov r8, rdx
mov rax, qword [rcx]
add r8, 2
cmp word [r8], r14w
jne 0x18000f940
movss xmm0, dword [0x1800972fc]
lea r9, [rbp + 0xa0]
movss xmm1, dword [0x180097320]
sub r8, rdx
mov qword [rsp + 0x30], r9
mov r9, qword [0x1801bb300]
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 [0x1800971b0]
mov rcx, qword [0x1801bb2f0]
movss xmm10, dword [rbp + 0xb8]
movss xmm9, dword [rbp + 0xbc]
movaps xmm8, xmm10
movss xmm6, dword [0x1800971fc]
subss xmm8, xmm0
movss xmm0, dword [rbp - 0x70]
movaps xmm7, xmm9
mulss xmm0, dword [0x1800971b0]
mov rax, qword [rcx]
mov r9, qword [0x1801bb308]
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 [0x1801bb2f0]
movaps xmm0, xmm8
mov r9, qword [0x1801bb308]
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 [0x1801bb2f0]
movaps xmm1, xmm7
mov r9, qword [0x1801bb308]
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 [0x1801bb2f0]
movaps xmm1, xmm7
mov r9, qword [0x1801bb308]
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 [0x1801bb308]
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1801bb2f0]
movaps xmm0, xmm8
mov r9, qword [0x1801bb308]
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 [0x1800c9f6a], r14b
je 0x18000fb54
movaps xmm0, xmmword [0x180097930]
addss xmm9, dword [0x1800972b0]
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.180008a50
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, [0x1801bb7a8]
call fcn.180065500
cmp dword [0x1801bb7a8], 0xffffffff
jne 0x18000f4af
mov ecx, 0x56e64b7d
call fcn.180004c60
mov rcx, qword [rax]
mov qword [0x1801bb768], rcx
lea rcx, [0x1801bb7a8]
call fcn.180065494
jmp 0x18000f4af