Function at 0x18006bc84
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rax - 0x68]
sub rsp, 0x140
cmp byte [0x1800c9b00], 0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
je 0x18006c430
cvttss2si eax, dword [0x1800c7140]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x78]
lea rcx, [0x1800c7f29]
movss xmm3, dword [0x180006004]
xorps xmm1, xmm1
movss dword [rsp + 0x58], xmm1
movd xmm6, eax
cvttss2si eax, dword [0x1800c713c]
cvtdq2ps xmm6, xmm6
movd xmm0, eax
divss xmm6, dword [0x180006014]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x180006018]
minss xmm6, xmm0
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movsd qword [rsp + 0x50], xmm0
call fcn.180045910
mov rcx, qword [0x1800c8118]
movabs r12, 0x7ffffffdfffe
mov rbx, qword [rbp - 0x58]
cmp rbx, rcx
jbe 0x18006bd5b
add rcx, qword [0x1800c8120]
cmp rbx, rcx
jb 0x18006bd6b
lea rax, [rbx - 0x10000]
cmp rax, r12
ja 0x18006c430
cmp byte [rbp - 0x46], 0
jne 0x18006c430
mov rcx, qword [0x1800c8890]
add rcx, rbx
call fcn.18002c688
mov rdi, rax
mov rax, qword [0x1800c8118]
cmp rdi, rax
jbe 0x18006bda2
mov rdx, qword [0x1800c8120]
add rdx, rax
cmp rdi, rdx
jb 0x18006bdb2
lea rcx, [rdi - 0x10000]
cmp rcx, r12
ja 0x18006c430
mov rcx, qword [0x1800c9008]
call fcn.1800c2414
mov rcx, rdi
call rax
test al, al
jne 0x18006c430
mov rcx, qword [0x1800c88a0]
add rcx, rbx
call fcn.18002c688
mov r8, rax
mov rax, qword [0x1800c8118]
cmp r8, rax
jbe 0x18006bdf8
mov rdx, qword [0x1800c8120]
add rdx, rax
cmp r8, rdx
jb 0x18006be08
lea rcx, [r8 - 0x10000]
cmp rcx, r12
ja 0x18006c430
mov rcx, qword [0x1800c89b8]
add rcx, r8
call fcn.18002c688
mov r8, rax
mov rax, qword [0x1800c8118]
cmp r8, rax
jbe 0x18006be35
mov rdx, qword [0x1800c8120]
add rdx, rax
cmp r8, rdx
jb 0x18006be45
lea rcx, [r8 - 0x10000]
cmp rcx, r12
ja 0x18006c430
mov rcx, qword [0x1800c8970]
add rcx, r8
call fcn.18002c688
mov rsi, rax
mov rax, qword [0x1800c8118]
cmp rsi, rax
jbe 0x18006be72
mov rdx, qword [0x1800c8120]
add rdx, rax
cmp rsi, rdx
jb 0x18006be82
lea rcx, [rsi - 0x10000]
cmp rcx, r12
ja 0x18006c430
mov rcx, qword [0x1800c88c0]
xorps xmm0, xmm0
movdqa xmm1, xmmword [0x180006080]
add rcx, rbx
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x30], 0
movdqu xmmword [rsp + 0x40], xmm1
call fcn.18002c688
mov rdx, qword [0x1800c8118]
mov edi, 0x1000
cmp rax, rdx
jbe 0x18006bec9
add rdx, qword [0x1800c8120]
cmp rax, rdx
jb 0x18006bed8
add rax, 0xffffffffffff0000
cmp rax, r12
ja 0x18006bfa4
mov rcx, qword [0x1800c88c0]
add rcx, rbx
call fcn.18002c688
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.180070110
mov rbx, rax
lea rax, [rsp + 0x30]
cmp rax, rbx
je 0x18006bf6d
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x18006bf39
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x18006bf34
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006c470
call fcn.1800bf340
movdqa xmm0, xmmword [0x180006080]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x40], xmm1
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x18006bfa4
mov rcx, qword [rbp - 0x78]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x18006bf9f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006c470
call fcn.1800bf340
cmp qword [rsp + 0x48], 0xf
lea r8, [rsp + 0x30]
movaps xmm9, xmm6
lea rdx, [rbp + 0x88]
mulss xmm9, dword [0x180005f88]
lea rcx, [0x1800c70f0]
cmova r8, qword [rsp + 0x30]
movaps xmm3, xmm9
call fcn.180031684
cmp qword [rsp + 0x48], 0xf
lea rbx, [rsp + 0x30]
mov edi, 0xff
lea rcx, [rsp + 0x78]
cmova rbx, qword [rsp + 0x30]
mov r9d, edi
mov r8d, edi
mov dword [rsp + 0x20], edi
mov edx, edi
call fcn.1800b23ec
movss xmm8, dword [0x180005f00]
lea rdx, [rbp + 0x78]
movaps xmm0, xmm6
mov qword [rsp + 0x20], rbx
mulss xmm0, dword [0x180005fa8]
lea rcx, [0x1800c70f0]
mov r9, rax
movaps xmm10, xmm6
movaps xmm11, xmm6
mulss xmm10, dword [0x180006008]
movaps xmm2, xmm9
mulss xmm11, dword [0x18000600c]
addss xmm10, xmm0
movd r8d, xmm2
movss xmm0, dword [rbp + 0x88]
mulss xmm0, dword [0x180005eec]
movaps xmm1, xmm10
addss xmm1, dword [0x180005fd8]
subss xmm1, xmm0
movaps xmm0, xmm11
subss xmm0, dword [rbp + 0x8c]
movss dword [rbp + 0x78], xmm1
subss xmm0, xmm8
movss dword [rbp + 0x7c], xmm0
call fcn.1800b34d8
movaps xmm7, xmm6
xor r14d, r14d
mulss xmm7, dword [0x180005fb4]
mulss xmm6, dword [0x180005f80]
movaps xmm12, xmm7
addss xmm12, dword [0x180005f78]
mov edx, 0x22
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
mov r9d, edx
mov r8d, edx
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x20], 0x78
movss dword [rbp + 0x84], xmm11
mulss xmm0, xmm12
addss xmm0, xmm10
movss dword [rbp + 0x80], xmm0
call fcn.1800b23ec
mov r9, rax
movss dword [rsp + 0x60], xmm7
lea r8, [rsp + 0x60]
movss dword [rsp + 0x64], xmm7
lea rdx, [rbp + 0x80]
movss dword [rsp + 0x20], xmm6
lea rcx, [0x1800c70f0]
call fcn.1800b2f14
test rsi, rsi
jne 0x18006c20b
mov r8, qword [0x1800c8118]
xor ebx, ebx
cmp rbx, r8
jbe 0x18006c149
mov rcx, qword [0x1800c8120]
add rcx, r8
cmp rbx, rcx
jb 0x18006c159
lea rax, [rbx - 0x10000]
cmp rax, r12
ja 0x18006c3ea
mov rcx, qword [0x1800c8dd0]
call fcn.1800c2414
mov rcx, rbx
call rax
mov rdi, rax
mov rax, qword [0x1800c8118]
cmp rdi, rax
jbe 0x18006c188
mov rdx, qword [0x1800c8120]
add rdx, rax
cmp rdi, rdx
jb 0x18006c198
lea rcx, [rdi - 0x10000]
cmp rcx, r12
ja 0x18006c3ea
mov rcx, qword [0x1800c8bd8]
call fcn.1800c2414
mov rcx, rdi
call rax
mov rdx, qword [0x1800c8118]
cmp rax, rdx
jbe 0x18006c1c1
add rdx, qword [0x1800c8120]
cmp rax, rdx
jb 0x18006c1d1
lea rcx, [rax - 0x10000]
cmp rcx, r12
ja 0x18006c3ea
lea rcx, [rax + 0x10]
call fcn.18002c688
mov rdx, qword [0x1800c8118]
cmp rax, rdx
jbe 0x18006c1f2
add rdx, qword [0x1800c8120]
cmp rax, rdx
jb 0x18006c1fe
lea rcx, [rax - 0x10000]
cmp rcx, r12
ja 0x18006c25e
lea rcx, [rax + 0x50]
call fcn.18002c638
mov edi, eax
jmp 0x18006c260
lea rcx, [rsi + 0x10]
call fcn.18002c688
mov r8, qword [0x1800c8118]
mov r9, rax
cmp rax, r8
jbe 0x18006c232
mov rdx, qword [0x1800c8120]
add rdx, r8
cmp rax, rdx
jb 0x18006c242
lea rcx, [rax - 0x10000]
cmp rcx, r12
ja 0x18006c133
add r9, 0x20
lea rcx, [r9 + r14*8]
call fcn.18002c688
mov r8, qword [0x1800c8118]
mov rbx, rax
jmp 0x18006c135
xor edi, edi
mov rcx, qword [0x1800c8390]
add rcx, 0xe1dda0
call fcn.1800c2414
mov ecx, edi
call rax
mov rdi, rax
mov rax, qword [0x1800c8118]
cmp rdi, rax
jbe 0x18006c295
mov rdx, qword [0x1800c8120]
add rdx, rax
cmp rdi, rdx
jb 0x18006c2a5
lea rcx, [rdi - 0x10000]
cmp rcx, r12
ja 0x18006c3ea
movaps xmm3, xmm8
movss dword [rsp + 0x20], xmm8
movaps xmm2, xmm8
lea rcx, [rsp + 0x78]
movaps xmm1, xmm8
call fcn.1800b243c
lea rax, [rsp + 0x78]
movss dword [rsp + 0x68], xmm7
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x80]
movss dword [rsp + 0x6c], xmm7
mov rdx, rdi
lea rcx, [0x1800c70f0]
call fcn.1800b39f0
mov rcx, qword [0x1800c8478]
add rcx, rbx
call fcn.18002c638
mov r10d, eax
cmp eax, 1
jle 0x18006c3ea
mov word [rbp + 0x78], 0x5717
lea r9, [rbp + 0x78]
mov byte [rbp + 0x7a], 0x34
xor r8d, r8d
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9], al
inc r9
cmp r8d, 3
jl 0x18006c31f
mov edx, r10d
lea rcx, [rbp + 0x78]
call fcn.180045474
movaps xmm3, xmm9
lea rdx, [rsp + 0x70]
mov r8, rax
lea rcx, [0x1800c70f0]
mov rbx, rax
call fcn.180031684
mov eax, 0xff
lea rcx, [rbp - 0x78]
mov r9d, eax
mov dword [rsp + 0x20], eax
mov r8d, eax
mov edx, eax
call fcn.1800b23ec
movaps xmm0, xmm7
mov qword [rsp + 0x20], rbx
addss xmm0, dword [rbp + 0x80]
movaps xmm1, xmm7
lea rdx, [rsp + 0x50]
addss xmm1, dword [rbp + 0x84]
movaps xmm2, xmm9
lea rcx, [0x1800c70f0]
movd r8d, xmm2
mov r9, rax
subss xmm0, dword [rsp + 0x70]
subss xmm1, dword [rsp + 0x74]
subss xmm0, xmm8
subss xmm1, xmm8
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
call fcn.1800b34d8
inc r14d
cmp r14d, 6
jl 0x18006c0b7
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x18006c430
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006c42b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006c46a
call fcn.1800bf340
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180089708
int3
call fcn.180089708
int3