Function at 0x18002f390
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 [0x18011f040]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
xorps xmm6, xmm6
movss xmm0, dword [0x18021e870]
ucomiss xmm0, xmm6
jp 0x18002f82b
jne 0x18002f82b
call fcn.18002e0a0
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], r14
call fcn.18002e0a0
mov rbx, rax
mov rdi, qword [0x18021e8d8]
mov rcx, rax
call fcn.180058ef0
test al, al
je 0x18002f45d
mov rcx, rdi
call fcn.180058ef0
test al, al
je 0x18002f45d
lea rcx, [rbp - 0x29]
call fcn.180058ef0
test al, al
je 0x18002f45d
mov rcx, qword [rbx]
call fcn.180058ef0
test al, al
je 0x18002f45d
mov rax, qword [rbx]
mov rcx, qword [0x18021eb28]
mov rcx, qword [rax + rcx*8]
call fcn.180058ef0
test al, al
je 0x18002f45d
mov rcx, qword [rbx]
mov rax, qword [0x18021eb28]
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 0x18002f4db
lea rcx, [rbp - 0x29]
call fcn.180029f60
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.18002a4b0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x18002f4fe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f4d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f867
call fcn.1800c3c28
jmp 0x18002f4fe
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r14
mov qword [rbp + 0xf], r14
xor r8d, r8d
lea rdx, [0x1800f9195]
lea rcx, [rbp - 9]
call fcn.180015c40
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 0x18002f54a
lea rax, [r9 - 1]
mov rcx, rdi
cmp rax, rdi
cmovb rcx, rax
add rcx, rdx
cmp byte [rcx], 0x2d
je 0x18002f545
cmp rcx, rdx
je 0x18002f54a
dec rcx
cmp byte [rcx], 0x2d
jne 0x18002f538
sub rcx, rdx
jmp 0x18002f54d
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 0x18002f86d
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.180015c40
nop
call fcn.1800cd534
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.1800cd3ec
cmp rbx, qword [rbp - 0x29]
je 0x18002f873
cmp dword [rsi], 0x22
je 0x18002f880
movss dword [0x18021e870], xmm0
ucomiss xmm0, xmm6
jp 0x18002f7a8
jne 0x18002f7a8
movups xmm0, xmmword [0x1800f9278]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x1800f9288]
movups xmmword [rbp - 0x49], xmm1
movzx eax, word [0x1800f9298]
mov word [rbp - 0x39], ax
mov r8d, r14d
cmp dword [0x18011f090], 2
jl 0x18002f729
movdqa xmm4, xmmword [0x18010ac10]
movdqa xmm3, xmmword [0x18010b0e0]
movdqa xmm5, xmmword [0x18010acd0]
movdqa xmm0, xmmword [0x18010ae10]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x55]
movdqa xmm6, xmmword [0x18010ad90]
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 0x18002f642
cmp r8d, 0x22
jge 0x18002f770
movsxd rax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x22
jl 0x18002f740
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 0x18002f783
mov r8, rdi
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.180015c40
mov dl, 1
lea rcx, [rbp - 0x29]
call fcn.18002c520
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x18002f7e3
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f7de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f88d
call fcn.1800c3c28
movdqa xmm0, xmmword [0x18010abc0]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x18002f82b
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f826
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f861
call fcn.1800c3c28
movss xmm0, dword [0x18021e870]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800c3890
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.1800c99b4
int3
call fcn.1800c99b4
nop
call fcn.18002a2b0
nop
lea rcx, [0x1800f91c8]
call fcn.1800c3098
int3
lea rcx, str.stof_argument_out_of_range
call fcn.1800c30e0
nop
call fcn.1800c99b4
int3