Function at 0x18006b730
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rax - 0x47]
sub rsp, 0xf8
mov r12, qword [rbp + 0x6f]
mov edi, r8d
mov r13, qword [0x180147368]
mov rsi, rdx
movaps xmmword [rax - 0x58], xmm6
mov rbx, rcx
movaps xmmword [rax - 0x78], xmm8
lea rcx, [rsp + 0x60]
movaps xmmword [rax - 0x88], xmm9
xor r8d, r8d
movaps xmmword [rax - 0xa8], xmm11
mov rdx, r12
movss xmm11, dword [0x180004ce4]
mov qword [rsp + 0x40], r9
mov r9b, 1
movss dword [rsp + 0x20], xmm11
call fcn.180044f90
movss xmm8, dword [rsi + 8]
movss xmm6, dword [rsi]
movaps xmm0, xmm8
movss xmm9, dword [0x180004c54]
subss xmm0, xmm6
comiss xmm9, xmm0
jb 0x18006b7cb
xor al, al
jmp 0x18006bab6
movzx eax, word [0x180006250]
mov qword [rsp + 0xf0], r14
xor r14d, r14d
cmp byte [0x180006251], r14b
mov qword [rsp + 0xe8], r15
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0x90], xmm10
mov word [rbp + 0x57], ax
je 0x18006b842
mov r8d, r14d
movabs r9, 0x29e4129e4129e413
mov rax, r9
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rbp + r8 + 0x57], al
inc r8
cmp r8, 2
jb 0x18006b810
movss xmm7, dword [rsp + 0x44]
movss xmm10, dword [rsi + 0xc]
addss xmm7, dword [rsi + 4]
addss xmm6, dword [rsp + 0x40]
subss xmm8, dword [rsp + 0x40]
test dil, 1
je 0x18006b936
xor r9d, r9d
movss dword [rsp + 0x20], xmm11
xor r8d, r8d
lea rdx, [rbp + 0x57]
lea rcx, [rsp + 0x50]
call fcn.180044f90
movss xmm4, dword [rsp + 0x40]
lea r9, [rbp + 0x57]
movss xmm3, dword [rsp + 0x44]
lea r8, [rsp + 0x50]
movaps xmm0, xmm4
mov qword [rsp + 0x38], r14
addss xmm0, dword [rsi]
subss xmm8, dword [rax]
movaps xmm2, xmm3
mov qword [rsp + 0x48], r14
addss xmm2, dword [rsi + 4]
lea rdx, [rsp + 0x58]
mov rcx, rbx
addss xmm0, dword [rsp + 0x60]
addss xmm0, dword [0x180004c80]
minss xmm0, xmm8
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [r13 + 0x1928]
mulss xmm0, dword [0x180005cc8]
cvttss2si eax, xmm0
movss xmm0, dword [rsi + 8]
subss xmm0, xmm4
movd xmm1, eax
lea rax, [rsp + 0x48]
cvtdq2ps xmm1, xmm1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
movss dword [rsp + 0x50], xmm0
subss xmm2, xmm1
movss xmm1, dword [rsi + 0xc]
subss xmm1, xmm3
movss dword [rsp + 0x5c], xmm2
movss dword [rsp + 0x54], xmm1
call fcn.180050880
mov r15d, dword [rbp + 0x7f]
movss dword [rbp - 0x6d], xmm10
movaps xmm10, xmmword [rsp + 0x90]
movss dword [rbp - 0x79], xmm6
movss dword [rbp - 0x75], xmm7
movss dword [rbp - 0x71], xmm8
test r15d, r15d
je 0x18006ba5e
mov eax, dword [r13 + 0x1ab4]
cmp eax, dword [rbp + 0x77]
je 0x18006b980
cmp eax, r15d
je 0x18006b980
cmp dword [r13 + 0x1ac8], r15d
jne 0x18006ba5e
mov rax, qword [0x180147368]
lea rdx, [rsp + 0x40]
movss xmm9, dword [r13 + 0x1928]
mov rcx, qword [rax + 0x1a80]
mov ebx, dword [rcx + 0x114]
mov edi, dword [rcx + 0x118]
movups xmm6, xmmword [rcx + 0x11c]
movups xmm7, xmmword [rcx + 0x12c]
mov ecx, 0xa
call fcn.18004fb00
movss xmm0, dword [rsp + 0x40]
lea rdx, [rbp + 0x57]
mulss xmm0, dword [0x180004c80]
mov ecx, r15d
movss xmm1, dword [rsi + 8]
subss xmm1, xmm0
movss xmm0, dword [rsi + 4]
movss dword [rbp + 0x5b], xmm0
subss xmm1, xmm9
movss dword [rbp + 0x57], xmm1
call fcn.18005d480
test al, al
movzx r14d, r14b
mov esi, 1
mov ecx, esi
cmovne r14d, esi
call fcn.18004f320
test byte [rbp + 0x5f], 4
mov rax, qword [0x180147368]
mov rcx, qword [rax + 0x1a80]
mov dword [rcx + 0x114], ebx
mov dword [rcx + 0x118], edi
movups xmmword [rcx + 0x11c], xmm6
movups xmmword [rcx + 0x12c], xmm7
jne 0x18006ba4f
xor edx, edx
lea ecx, [rsi + 1]
call fcn.18004a040
test al, al
movzx r14d, r14b
cmovne r14d, esi
mov rbx, qword [rbp + 0x4f]
subss xmm8, xmm9
movaps xmm0, xmm8
jmp 0x18006ba68
movss xmm0, dword [rsi + 8]
subss xmm0, xmm9
lea rax, [rsp + 0x60]
movaps xmm3, xmm8
mov qword [rsp + 0x38], rax
lea r8, [rbp - 0x71]
mov qword [rsp + 0x30], 0
lea rdx, [rbp - 0x79]
mov qword [rsp + 0x28], r12
mov rcx, rbx
movss dword [rsp + 0x20], xmm0
call fcn.180050b00
movaps xmm7, xmmword [rsp + 0xc0]
movzx eax, r14b
mov r14, qword [rsp + 0xf0]
mov r15, qword [rsp + 0xe8]
lea r11, [rsp + 0xf8]
movaps xmm6, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x48]
movaps xmm9, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x78]
mov rsp, r11
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret