Function at 0x18002f240
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x18011e040]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
xorps xmm6, xmm6
movss xmm0, dword [0x18021d948]
ucomiss xmm0, xmm6
jp 0x18002f6db
jne 0x18002f6db
call fcn.18002df60
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], r14
call fcn.18002df60
mov rbx, rax
mov rdi, qword [0x18021d9b0]
mov rcx, rax
call fcn.180058c80
test al, al
je 0x18002f30d
mov rcx, rdi
call fcn.180058c80
test al, al
je 0x18002f30d
lea rcx, [rbp - 0x29]
call fcn.180058c80
test al, al
je 0x18002f30d
mov rcx, qword [rbx]
call fcn.180058c80
test al, al
je 0x18002f30d
mov rax, qword [rbx]
mov rcx, qword [0x18021dc00]
mov rcx, qword [rax + rcx*8]
call fcn.180058c80
test al, al
je 0x18002f30d
mov rcx, qword [rbx]
mov rax, qword [0x18021dc00]
mov r9, qword [rcx + rax*8]
lea r8, [rbp - 0x29]
mov rdx, rdi
mov rcx, rbx
call r9
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x18002f38b
lea rcx, [rbp - 0x29]
call fcn.180029e20
nop
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rdx, qword [rbp - 0x29]
mov rax, qword [rbp - 0x19]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x29]
cmova rdx, qword [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.18002a370
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x18002f3ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f384
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f717
call fcn.1800c3978
jmp 0x18002f3ae
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r14
mov qword [rbp + 0xf], r14
xor r8d, r8d
lea rdx, [0x1800f9015]
lea rcx, [rbp - 9]
call fcn.1800160d0
nop
lea rdx, [rbp - 9]
mov r10, qword [rbp - 9]
mov r11, qword [rbp + 0xf]
cmp r11, 0xf
cmova rdx, r10
mov rdi, 0xffffffffffffffff
mov r9, qword [rbp + 7]
test r9, r9
je 0x18002f3fa
lea rax, [r9 - 1]
mov rcx, rdi
cmp rax, rdi
cmovb rcx, rax
add rcx, rdx
cmp byte [rcx], 0x2d
je 0x18002f3f5
cmp rcx, rdx
je 0x18002f3fa
dec rcx
cmp byte [rcx], 0x2d
jne 0x18002f3e8
sub rcx, rdx
jmp 0x18002f3fd
mov rcx, rdi
inc rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
cmp r9, rcx
jb 0x18002f71d
sub r9, rcx
mov r8, rdi
cmp r9, rdi
cmovb r8, r9
lea rdx, [rbp - 9]
cmp r11, 0xf
cmova rdx, r10
add rdx, rcx
lea rcx, [rbp + 0x17]
call fcn.1800160d0
nop
call fcn.1800cd4d8
mov rsi, rax
lea rbx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rbx, qword [rbp + 0x17]
mov dword [rax], r14d
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.1800cd3fc
cmp rbx, qword [rbp - 0x29]
je 0x18002f723
cmp dword [rsi], 0x22
je 0x18002f730
movss dword [0x18021d948], xmm0
ucomiss xmm0, xmm6
jp 0x18002f658
jne 0x18002f658
movups xmm0, xmmword [0x1800f9150]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x1800f9160]
movups xmmword [rbp - 0x49], xmm1
movzx eax, word [0x1800f9170]
mov word [rbp - 0x39], ax
mov r8d, r14d
cmp dword [0x18011e090], 2
jl 0x18002f5d9
movdqa xmm4, xmmword [0x18010aac0]
movdqa xmm3, xmmword [0x18010af90]
movdqa xmm5, xmmword [0x18010ab60]
movdqa xmm0, xmmword [0x18010acb0]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x55]
movdqa xmm6, xmmword [0x18010ac30]
mov edx, dword [rbp - 0x29]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x18002f4f2
cmp r8d, 0x22
jge 0x18002f620
movsxd rax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x22
jl 0x18002f5f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
lea rax, [rbp - 0x59]
inc rdi
cmp byte [rax + rdi], 0
jne 0x18002f633
mov r8, rdi
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.1800160d0
mov dl, 1
lea rcx, [rbp - 0x29]
call fcn.18002c3d0
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x18002f693
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f68e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f73d
call fcn.1800c3978
movdqa xmm0, xmmword [0x18010aa70]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x18002f6db
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f6d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f711
call fcn.1800c3978
movss xmm0, dword [0x18021d948]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800c35e0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.1800c9824
int3
call fcn.1800c9824
nop
call fcn.18002a170
nop
lea rcx, str.invalid_stof_argument
call fcn.1800c2dc8
int3
lea rcx, [0x1800f9048]
call fcn.1800c2e10
nop
call fcn.1800c9824
int3