Function at 0x140024e60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], r9
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov r12d, dword [rcx + 0xc]
mov rsi, r8
mov rbx, qword [0x140125820]
mov rdi, rdx
movaps xmmword [rax - 0x38], xmm6
mov r15, rcx
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm11
test r12b, 0x20
jne 0x140024ec0
cmp dword [rbx + 0x3820], 0xffffffff
je 0x140024ec0
mov dl, 1
jmp 0x140024ec2
xor dl, dl
mov r14d, dword [rbx + 0x3f58]
xorps xmm7, xmm7
mov eax, r14d
mov qword [rbp + 0x7f], 0
or eax, 0x10
mov dword [rbx + 0x3f58], eax
mov dword [rcx + 0x138], 1
movss xmm6, dword [rbx + 0x3834]
movss xmm11, dword [rbx + 0x3c18]
movaps xmm8, xmm6
movss xmm1, dword [rdi + 8]
test dl, dl
je 0x140024fd0
mov eax, dword [rbx + 0x3820]
cmp eax, 1
jne 0x140024f39
movss xmm0, dword [rdi + 4]
addss xmm8, xmm11
movss dword [rbp + 0x83], xmm0
subss xmm1, xmm8
subss xmm1, xmm6
movss dword [rbp + 0x7f], xmm1
jmp 0x140024f5f
movss xmm1, dword [rdi + 4]
test eax, eax
jne 0x140024f5f
movaps xmm0, xmm6
movss dword [rbp + 0x83], xmm1
addss xmm0, dword [rdi]
subss xmm0, xmm6
addss xmm6, xmm11
movss dword [rbp + 0x7f], xmm0
mov dword [rbp - 0x49], 0xa0a4a9ca
xor edx, edx
mov dword [rbp - 0x45], 0xa3bfafa1
mov word [rbp - 0x41], 0xb4
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rbp + rcx - 0x49], al
cmp edx, 9
jb 0x140024f80
movsxd rcx, dword [r15 + 0xd0]
xor edx, edx
mov rax, qword [r15 + 0xd8]
mov byte [rbp - 0x40], 0
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rbp - 0x49]
call fcn.14001b790
lea rdx, [rbp + 0x7f]
mov ecx, eax
call fcn.1400464b0
test al, al
je 0x140024fd0
mov byte [r15 + 0x9a], 1
nop word [rax + rax]
mov dword [r15 + 0x138], 0
mov dword [rbx + 0x3f58], r14d
and r12d, 0x100000
je 0x140024ff6
mulss xmm11, dword [0x1400bd408]
jmp 0x140024ffa
movaps xmm11, xmm7
mov r8, qword [0x140125820]
mov rax, rsi
cmp rsi, 0xffffffffffffffff
jae 0x14002502a
nop word [rax + rax]
movzx ecx, byte [rax]
test cl, cl
je 0x14002502a
cmp cl, 0x23
jne 0x140025021
cmp byte [rax + 1], cl
je 0x14002502a
inc rax
cmp rax, 0xffffffffffffffff
jb 0x140025010
movss xmm1, dword [r8 + 0x3c18]
cmp rsi, rax
jne 0x14002503d
movaps xmm2, xmm7
jmp 0x140025090
movss xmm0, dword [0x1400bd5a0]
lea rdx, [rbp + 0x7f]
movss xmm3, dword [0x1400bd578]
movaps xmm2, xmm1
mov rcx, qword [r8 + 0x3c10]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
movss dword [rsp + 0x20], xmm0
call fcn.14003fcc0
movss xmm0, dword [rbp + 0x7f]
addss xmm0, dword [0x1400bd420]
movss xmm1, dword [rbp + 0x83]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss xmm0, dword [rbx + 0x3834]
addss xmm2, xmm11
comiss xmm6, xmm0
movss xmm3, dword [rbx + 0x384c]
addss xmm1, xmm7
movss dword [rbp + 0x7f], xmm2
movss dword [rbp + 0x83], xmm1
jbe 0x1400250bf
addss xmm6, xmm3
comiss xmm8, xmm0
jbe 0x1400250ca
addss xmm8, xmm3
lea r14, [rbx + 0x3818]
movss xmm4, dword [r14]
comiss xmm4, xmm7
jbe 0x140025149
movss xmm1, dword [0x1400bd428]
comiss xmm1, xmm4
jbe 0x140025149
movaps xmm0, xmm4
movaps xmm5, xmm1
subss xmm0, dword [0x1400bd3d4]
andps xmm0, xmmword [0x1400bdf70]
addss xmm0, xmm0
subss xmm5, xmm0
comiss xmm7, xmm5
ja 0x140025111
movaps xmm7, xmm1
minss xmm7, xmm5
movss xmm0, dword [rdi + 8]
movaps xmm1, xmm6
subss xmm0, dword [rdi]
maxss xmm1, xmm8
subss xmm0, xmm6
subss xmm0, xmm8
subss xmm0, xmm2
minss xmm1, xmm0
mulss xmm1, xmm7
comiss xmm6, xmm1
jae 0x14002513f
movaps xmm6, xmm1
comiss xmm8, xmm1
jae 0x140025149
movaps xmm8, xmm1
movss xmm0, dword [rdi + 8]
movss xmm1, dword [rdi + 4]
movaps xmm7, xmm0
movss dword [rbp - 0x35], xmm1
subss xmm7, xmm8
movss xmm8, dword [rdi + 0xc]
movss dword [rbp - 0x2d], xmm8
movss dword [rbp - 0x45], xmm1
movss dword [rbp - 0x3d], xmm8
movss dword [rbp - 0x31], xmm7
movaps xmm9, xmm7
addss xmm9, xmm3
addss xmm6, dword [rdi]
minss xmm9, xmm0
movss dword [rbp - 0x39], xmm6
movss dword [rbp - 0x49], xmm6
movss dword [rbp - 0x41], xmm9
test r12d, r12d
je 0x14002524a
movaps xmm0, xmm7
subss xmm0, xmm6
subss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
addss xmm0, xmm2
comiss xmm6, xmm0
jbe 0x1400251c8
movaps xmm7, xmm6
jmp 0x1400251cc
minss xmm7, xmm0
comiss xmm7, xmm6
addss xmm8, xmm1
mulss xmm8, dword [0x1400bd3d4]
jbe 0x14002524a
mov rax, qword [0x140125820]
lea rcx, [rbp - 0x29]
movups xmm0, xmmword [rax + 0x38c0]
movups xmmword [rbp - 0x29], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f8]
movss dword [rbp - 0x1d], xmm0
call fcn.14001bb30
mov rcx, qword [r15 + 0x280]
movaps xmm0, xmm7
unpcklps xmm0, xmm8
mov r8d, eax
movq rdx, xmm0
call fcn.140040760
mulss xmm11, dword [0x1400bd3d4]
cvttss2si eax, xmm11
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm7, xmm0
comiss xmm7, xmm9
ja 0x14002524a
movss dword [rbp - 0x41], xmm7
mov rdi, rsi
cmp rsi, 0xffffffffffffffff
jae 0x14002526c
movzx eax, byte [rdi]
test al, al
je 0x14002526c
cmp al, 0x23
jne 0x140025263
cmp byte [rdi + 1], al
je 0x14002526c
inc rdi
cmp rdi, 0xffffffffffffffff
jb 0x140025253
cmp edi, esi
je 0x1400252c9
mov rbx, qword [0x140125820]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x38], rax
lea r8, [rbp - 0x31]
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x39]
mov rcx, qword [rbx + 0x3ea8]
mov r9, rsi
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx + 0x280]
call fcn.14001c210
cmp byte [rbx + 0x53d4], 0
je 0x1400252c9
mov r8, rdi
lea rcx, [rbp - 0x39]
mov rdx, rsi
call fcn.14002edc0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm11, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret