Function at 0x18008f420
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x78]
sub rsp, 0x140
cmp byte [0x1800eeaf0], 0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
je 0x18008fbe0
cvttss2si eax, dword [0x1800ec0e0]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x78]
lea rcx, [0x1800ecee5]
movss xmm3, dword [0x1800060d4]
xorps xmm1, xmm1
movss dword [rsp + 0x58], xmm1
movd xmm6, eax
cvttss2si eax, dword [0x1800ec0dc]
cvtdq2ps xmm6, xmm6
movd xmm0, eax
divss xmm6, dword [0x1800060e4]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1800060e8]
minss xmm6, xmm0
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movsd qword [rsp + 0x50], xmm0
call fcn.180068c80
mov rcx, qword [0x1800ed108]
movabs r12, 0x7ffffffdfffe
mov rbx, qword [rbp - 0x58]
cmp rbx, rcx
jbe 0x18008f4f9
add rcx, qword [0x1800ed110]
cmp rbx, rcx
jb 0x18008f509
lea rax, [rbx - 0x10000]
cmp rax, r12
ja 0x18008fbe0
cmp byte [rbp - 0x46], 0
jne 0x18008fbe0
mov rcx, qword [0x1800ed880]
add rcx, rbx
call fcn.18002c680
mov rdi, rax
mov rax, qword [0x1800ed108]
cmp rdi, rax
jbe 0x18008f540
mov rdx, qword [0x1800ed110]
add rdx, rax
cmp rdi, rdx
jb 0x18008f550
lea rcx, [rdi - 0x10000]
cmp rcx, r12
ja 0x18008fbe0
mov rcx, qword [0x1800edff8]
call fcn.1800e73b4
mov rcx, rdi
call rax
test al, al
jne 0x18008fbe0
mov rcx, qword [0x1800ed890]
add rcx, rbx
call fcn.18002c680
mov r8, rax
mov rax, qword [0x1800ed108]
cmp r8, rax
jbe 0x18008f596
mov rdx, qword [0x1800ed110]
add rdx, rax
cmp r8, rdx
jb 0x18008f5a6
lea rcx, [r8 - 0x10000]
cmp rcx, r12
ja 0x18008fbe0
mov rcx, qword [0x1800ed9a8]
add rcx, r8
call fcn.18002c680
mov r8, rax
mov rax, qword [0x1800ed108]
cmp r8, rax
jbe 0x18008f5d3
mov rdx, qword [0x1800ed110]
add rdx, rax
cmp r8, rdx
jb 0x18008f5e3
lea rcx, [r8 - 0x10000]
cmp rcx, r12
ja 0x18008fbe0
mov rcx, qword [0x1800ed960]
add rcx, r8
call fcn.18002c680
mov rsi, rax
mov rax, qword [0x1800ed108]
cmp rsi, rax
jbe 0x18008f610
mov rdx, qword [0x1800ed110]
add rdx, rax
cmp rsi, rdx
jb 0x18008f620
lea rcx, [rsi - 0x10000]
cmp rcx, r12
ja 0x18008fbe0
mov rcx, qword [0x1800ed8b0]
xorps xmm0, xmm0
movdqa xmm1, xmmword [0x180006150]
add rcx, rbx
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x30], 0
movdqu xmmword [rsp + 0x40], xmm1
call fcn.18002c680
mov rdx, qword [0x1800ed108]
mov r13d, 0x1000
cmp rax, rdx
jbe 0x18008f668
add rdx, qword [0x1800ed110]
cmp rax, rdx
jb 0x18008f677
add rax, 0xffffffffffff0000
cmp rax, r12
ja 0x18008f743
mov rcx, qword [0x1800ed8b0]
add rcx, rbx
call fcn.18002c680
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.180093d84
mov rbx, rax
lea rax, [rsp + 0x30]
cmp rax, rbx
je 0x18008f70c
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18008f6d8
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x18008f6d3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008fc1f
call fcn.1800e423c
movdqa xmm0, xmmword [0x180006150]
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, 0x10
jb 0x18008f743
mov rcx, qword [rbp - 0x78]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x18008f73e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008fc1f
call fcn.1800e423c
cmp qword [rsp + 0x48], 0x10
lea r8, [rsp + 0x30]
movaps xmm9, xmm6
lea rdx, [rbp + 0x98]
mulss xmm9, dword [0x180006058]
lea rcx, [0x1800ec090]
cmovae r8, qword [rsp + 0x30]
movaps xmm3, xmm9
call fcn.1800340cc
cmp qword [rsp + 0x48], 0x10
lea rbx, [rsp + 0x30]
mov edi, 0xff
lea rcx, [rsp + 0x78]
cmovae rbx, qword [rsp + 0x30]
mov r9d, edi
mov r8d, edi
mov dword [rsp + 0x20], edi
mov edx, edi
call fcn.1800d5c14
movss xmm8, dword [0x180005fd0]
lea rdx, [rbp + 0x88]
movaps xmm0, xmm6
mov qword [rsp + 0x20], rbx
mulss xmm0, dword [0x180006078]
lea rcx, [0x1800ec090]
mov r9, rax
movaps xmm10, xmm6
movaps xmm11, xmm6
mulss xmm10, dword [0x1800060d8]
movaps xmm2, xmm9
mulss xmm11, dword [0x1800060dc]
addss xmm10, xmm0
movd r8d, xmm2
movss xmm0, dword [rbp + 0x98]
mulss xmm0, dword [0x180005fbc]
movaps xmm1, xmm10
addss xmm1, dword [0x1800060a8]
subss xmm1, xmm0
movaps xmm0, xmm11
subss xmm0, dword [rbp + 0x9c]
movss dword [rbp + 0x88], xmm1
subss xmm0, xmm8
movss dword [rbp + 0x8c], xmm0
call fcn.1800d6d00
movaps xmm7, xmm6
xor r14d, r14d
mulss xmm7, dword [0x180006084]
mulss xmm6, dword [0x180006050]
movaps xmm12, xmm7
addss xmm12, dword [0x180006048]
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 + 0x94], xmm11
mulss xmm0, xmm12
addss xmm0, xmm10
movss dword [rbp + 0x90], xmm0
call fcn.1800d5c14
mov r9, rax
movss dword [rsp + 0x60], xmm7
lea r8, [rsp + 0x60]
movss dword [rsp + 0x64], xmm7
lea rdx, [rbp + 0x90]
movss dword [rsp + 0x20], xmm6
lea rcx, [0x1800ec090]
call fcn.1800d673c
test rsi, rsi
jne 0x18008f9b3
mov r8, qword [0x1800ed108]
xor ebx, ebx
cmp rbx, r8
jbe 0x18008f8f1
mov rcx, qword [0x1800ed110]
add rcx, r8
cmp rbx, rcx
jb 0x18008f901
lea rax, [rbx - 0x10000]
cmp rax, r12
ja 0x18008fb9e
mov rcx, qword [0x1800eddc0]
call fcn.1800e73b4
mov rcx, rbx
call rax
mov rdi, rax
mov rax, qword [0x1800ed108]
cmp rdi, rax
jbe 0x18008f930
mov rdx, qword [0x1800ed110]
add rdx, rax
cmp rdi, rdx
jb 0x18008f940
lea rcx, [rdi - 0x10000]
cmp rcx, r12
ja 0x18008fb9e
mov rcx, qword [0x1800edbc8]
call fcn.1800e73b4
mov rcx, rdi
call rax
mov rdx, qword [0x1800ed108]
cmp rax, rdx
jbe 0x18008f969
add rdx, qword [0x1800ed110]
cmp rax, rdx
jb 0x18008f979
lea rcx, [rax - 0x10000]
cmp rcx, r12
ja 0x18008fb9e
lea rcx, [rax + 0x10]
call fcn.18002c680
mov rdx, qword [0x1800ed108]
cmp rax, rdx
jbe 0x18008f99a
add rdx, qword [0x1800ed110]
cmp rax, rdx
jb 0x18008f9a6
lea rcx, [rax - 0x10000]
cmp rcx, r12
ja 0x18008fa06
lea rcx, [rax + 0x50]
call fcn.18002c630
mov edi, eax
jmp 0x18008fa08
lea rcx, [rsi + 0x10]
call fcn.18002c680
mov r8, qword [0x1800ed108]
mov r9, rax
cmp rax, r8
jbe 0x18008f9da
mov rdx, qword [0x1800ed110]
add rdx, r8
cmp rax, rdx
jb 0x18008f9ea
lea rcx, [rax - 0x10000]
cmp rcx, r12
ja 0x18008f8db
add r9, 0x20
lea rcx, [r9 + r14*8]
call fcn.18002c680
mov r8, qword [0x1800ed108]
mov rbx, rax
jmp 0x18008f8dd
xor edi, edi
mov rcx, qword [0x1800ed380]
add rcx, 0xe1dda0
call fcn.1800e73b4
mov ecx, edi
call rax
mov rdi, rax
mov rax, qword [0x1800ed108]
cmp rdi, rax
jbe 0x18008fa3d
mov rdx, qword [0x1800ed110]
add rdx, rax
cmp rdi, rdx
jb 0x18008fa4d
lea rcx, [rdi - 0x10000]
cmp rcx, r12
ja 0x18008fb9e
movaps xmm3, xmm8
movss dword [rsp + 0x20], xmm8
movaps xmm2, xmm8
lea rcx, [rsp + 0x78]
movaps xmm1, xmm8
call fcn.1800d5c64
lea rax, [rsp + 0x78]
movss dword [rsp + 0x68], xmm7
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x90]
movss dword [rsp + 0x6c], xmm7
mov rdx, rdi
lea rcx, [0x1800ec090]
call fcn.1800d7218
mov rcx, qword [0x1800ed468]
add rcx, rbx
call fcn.18002c630
mov r10d, eax
cmp eax, 1
jle 0x18008fb9e
mov word [rbp + 0x88], 0x5614
lea r9, [rbp + 0x88]
mov byte [rbp + 0x8a], 0x33
xor r8d, r8d
mov eax, 0x2f684bdb
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
mov al, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9], al
inc r9
cmp r8d, 3
jl 0x18008fad0
mov edx, r10d
lea rcx, [rbp + 0x88]
call fcn.1800687d8
movaps xmm3, xmm9
lea rdx, [rsp + 0x70]
mov r8, rax
lea rcx, [0x1800ec090]
mov rbx, rax
call fcn.1800340cc
mov eax, 0xff
lea rcx, [rbp - 0x78]
mov r9d, eax
mov dword [rsp + 0x20], eax
mov r8d, eax
mov edx, eax
call fcn.1800d5c14
movaps xmm0, xmm7
mov qword [rsp + 0x20], rbx
addss xmm0, dword [rbp + 0x90]
movaps xmm1, xmm7
lea rdx, [rsp + 0x50]
addss xmm1, dword [rbp + 0x94]
movaps xmm2, xmm9
lea rcx, [0x1800ec090]
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.1800d6d00
inc r14d
cmp r14d, 6
jl 0x18008f85f
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18008fbe0
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, r13
jb 0x18008fbdb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008fc19
call fcn.1800e423c
lea r11, [rsp + 0x140]
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 r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800ad4f0
int3
call fcn.1800ad4f0
int3