Function at 0x18002be10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movss xmm0, dword [0x18020b8bc]
movaps xmmword [rax - 0x28], xmm6
xorps xmm6, xmm6
ucomiss xmm0, xmm6
jp 0x18002c294
jne 0x18002c294
call fcn.18002af00
xor edi, edi
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x61], rdi
call fcn.18002af00
mov rsi, qword [0x18020b930]
mov rcx, rax
mov rbx, rax
call fcn.18004dfe0
test al, al
je 0x18002bec6
mov rcx, rsi
call fcn.18004dfe0
test al, al
je 0x18002bec6
lea rcx, [rbp - 0x69]
call fcn.18004dfe0
test al, al
je 0x18002bec6
mov rcx, qword [rbx]
call fcn.18004dfe0
test al, al
je 0x18002bec6
mov rax, qword [rbx]
mov rcx, qword [0x18020bb80]
mov rcx, qword [rax + rcx*8]
call fcn.18004dfe0
test al, al
je 0x18002bec6
mov r9, qword [rbx]
lea r8, [rbp - 0x69]
mov rax, qword [0x18020bb80]
mov rdx, rsi
mov rcx, rbx
call qword [r9 + rax*8]
mov rdx, qword [rbp - 0x69]
test rdx, rdx
je 0x18002bf4a
lea rcx, [rbp - 0x39]
call fcn.180027200
cmp qword [rbp - 0x21], 7
lea rdx, [rbp - 0x39]
mov rax, qword [rbp - 0x29]
lea rcx, [rbp - 0x59]
cmova rdx, qword [rbp - 0x39]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x39]
cmova rdx, qword [rbp - 0x39]
call fcn.180027740
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x18002bf40
mov rcx, qword [rbp - 0x39]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002bf3b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002c2bf
call fcn.1800b4d3c
mov r9, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x49]
jmp 0x18002bf65
mov rdx, rdi
xorps xmm0, xmm0
mov r9d, 0xf
mov qword [rbp - 0x49], rdx
movups xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x59], dl
mov qword [rbp - 0x41], r9
mov r10, qword [rbp - 0x59]
lea r8, [rbp - 0x59]
cmp r9, 0xf
mov rsi, 0xffffffffffffffff
cmova r8, r10
test rdx, rdx
je 0x18002bfa9
lea rax, [rdx - 1]
mov rcx, rsi
cmp rax, rsi
cmovb rcx, rax
add rcx, r8
cmp byte [rcx], 0x2d
je 0x18002bfa4
cmp rcx, r8
je 0x18002bfa9
dec rcx
cmp byte [rcx], 0x2d
jne 0x18002bf97
sub rcx, r8
jmp 0x18002bfac
mov rcx, rsi
inc rcx
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x19], xmm0
movdqu xmmword [rbp - 9], xmm1
cmp rdx, rcx
jb 0x18002c2c5
sub rdx, rcx
mov r8, rsi
cmp rdx, rsi
cmovb r8, rdx
cmp r9, 0xf
lea rdx, [rbp - 0x59]
cmova rdx, r10
add rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.1800140a0
call fcn.1800bf778
cmp qword [rbp - 1], 0xf
lea rbx, [rbp - 0x19]
lea rdx, [rbp + 0x67]
mov r14, rax
cmova rbx, qword [rbp - 0x19]
mov rcx, rbx
mov dword [rax], edi
call fcn.1800bf69c
cmp rbx, qword [rbp + 0x67]
je 0x18002c2cb
cmp dword [r14], 0x22
je 0x18002c2d8
ucomiss xmm0, xmm6
movss dword [0x18020b8bc], xmm0
jp 0x18002c215
jne 0x18002c215
cmp dword [0x18010c088], 2
movups xmm0, xmmword [0x1800e90e0]
movzx eax, word [0x1800e9100]
movups xmm1, xmmword [0x1800e90f0]
mov word [rbp + 0x27], ax
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm1
jl 0x18002c1a4
movdqa xmm0, xmmword [0x1800fac90]
lea rcx, [rbp + 0xb]
movdqa xmm5, xmmword [0x1800fab00]
movdqa xmm4, xmmword [0x1800fad20]
movdqa xmm6, xmmword [0x1800fab80]
movdqa xmmword [rbp - 0x69], xmm0
mov edx, dword [rbp - 0x69]
nop word [rax + rax]
movd xmm2, edi
lea eax, [rdi + 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 edi, 8
pmuldq xmm1, xmm4
mov eax, edi
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 [0x1800fac70]
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 [0x1800fac70]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x20
jl 0x18002c0a0
cmp eax, 0x22
jge 0x18002c1de
movsxd rax, edi
lea r8, [rbp + 7]
add r8, rax
nop
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, dil
inc edi
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp edi, 0x22
jl 0x18002c1b0
xorps xmm0, xmm0
lea rax, [rbp + 7]
xorps xmm1, xmm1
movups xmmword [rbp - 0x39], xmm0
movdqu xmmword [rbp - 0x29], xmm1
inc rsi
cmp byte [rax + rsi], 0
jne 0x18002c1f1
mov r8, rsi
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.1800140a0
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.180029810
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x18002c24c
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002c247
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002c2b9
call fcn.1800b4d3c
mov rdx, qword [rbp - 0x41]
movdqa xmm0, xmmword [0x1800faa90]
mov byte [rbp - 0x19], 0
movdqu xmmword [rbp - 9], xmm0
cmp rdx, 0xf
jbe 0x18002c294
mov rcx, qword [rbp - 0x59]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002c28f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002c2b9
call fcn.1800b4d3c
movss xmm0, dword [0x18020b8bc]
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800bbacc
int3
call fcn.1800bbacc
int3
call fcn.180027560
int3
lea rcx, str.invalid_stof_argument
call fcn.1800b41b0
int3
lea rcx, str.stof_argument_out_of_range
call fcn.1800b41f8
int3