Function at 0x14002a988
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x138
test byte [rcx + 0x14], 0x42
mov ebx, r9d
mov rsi, qword [0x1400b8e80]
mov rdi, rcx
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
jne 0x14002b309
cmp byte [rcx + 0xd0], 0
jg 0x14002b309
cmp byte [rcx + 0xd1], 0
jg 0x14002b309
cmp byte [rcx + 0xb7], 0
je 0x14002b309
movss xmm1, dword [rsi + 0x36a0]
xorps xmm12, xmm12
movss xmm0, dword [rcx + 0x58]
movaps xmm2, xmm1
movss xmm11, dword [0x1400a9ecc]
mulss xmm1, dword [0x1400a9e74]
addss xmm0, xmm11
mov r13b, byte [rsi + 0x65]
mulss xmm2, dword [0x1400a9ed8]
mov byte [rbp + 0x80], 0
movss xmm15, dword [0x1400a9f14]
mov byte [rsp + 0x31], r13b
addss xmm0, xmm1
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1400a9eac]
cvttss2si eax, xmm0
movd xmm10, eax
cvtdq2ps xmm10, xmm10
movss dword [rsp + 0x68], xmm10
test r13b, r13b
je 0x14002aab6
movaps xmm14, xmm15
jmp 0x14002aaba
xorps xmm14, xmm14
movss xmm9, dword [0x1400a9f8c]
xor r8d, r8d
mov rax, qword [str._V_UNRL_n_GJJKIYYN_f]
movaps xmm6, xmm9
movaps xmm7, xmm9
mov dword [rcx + 0x158], 1
movss dword [rsp + 0x58], xmm6
lea rcx, [rbp - 0x78]
lea r9d, [r8 + 8]
movss dword [rsp + 0x40], xmm7
movss dword [rsp + 0x44], xmm9
movaps xmm8, xmm9
mov dword [rsp + 0x5c], 0x7f7fffff
mov qword [rbp - 0x78], rax
mov rax, r8
movabs r10, 0x50850631d17d
cqo
inc r8
idiv r10
add dl, 3
xor byte [rcx], dl
inc rcx
sub r9, 1
jne 0x14002ab0a
lea rcx, [rbp - 0x78]
call fcn.14002e99c
movss xmm13, dword [0x1400a9fac]
xor r14d, r14d
test ebx, ebx
jle 0x14002ae92
mov rax, qword [rbp + 0xa0]
lea r15, [0x1400a9904]
mov r13, qword [rbp + 0x88]
mov qword [rsp + 0x60], rax
movss xmm0, dword [r15 + 4]
movss xmm1, dword [r15 + 8]
movaps xmm5, xmm0
movss xmm3, dword [rdi + 0x20]
movaps xmm4, xmm1
addss xmm3, dword [rdi + 0x28]
movss xmm2, dword [rdi + 0x24]
addss xmm2, dword [rdi + 0x2c]
mulss xmm5, xmm10
subss xmm3, dword [rdi + 0x20]
mulss xmm4, xmm10
subss xmm2, dword [rdi + 0x24]
mulss xmm0, xmm14
mulss xmm3, dword [r15 - 4]
mulss xmm2, dword [r15]
addss xmm3, dword [rdi + 0x20]
mulss xmm1, xmm14
addss xmm2, dword [rdi + 0x24]
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [rsp + 0x50], xmm5
comiss xmm3, xmm5
movss dword [rsp + 0x48], xmm3
movss dword [rsp + 0x4c], xmm2
movss dword [rsp + 0x54], xmm4
jbe 0x14002abf6
movss dword [rsp + 0x48], xmm5
movss dword [rsp + 0x50], xmm3
comiss xmm2, xmm4
jbe 0x14002ac07
movss dword [rsp + 0x4c], xmm4
movss dword [rsp + 0x54], xmm2
movsxd rax, dword [rdi + 0xf0]
lea rcx, [rsp + 0x38]
mov r8, qword [rdi + 0xf8]
mov edx, 4
mov dword [rsp + 0x38], r14d
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14002501c
mov r9d, 8
lea rcx, [rsp + 0x48]
xor r8d, r8d
mov edx, eax
mov ebx, eax
call fcn.1400302cc
lea r9, [rsp + 0x32]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.140035c58
mov r12b, byte [rsp + 0x30]
mov bl, byte [rsp + 0x32]
test r12b, r12b
jne 0x14002ac79
test bl, bl
je 0x14002ae0c
mov eax, r14d
not eax
and eax, 1
add eax, 5
mov dword [rsi + 0x4118], eax
test bl, bl
je 0x14002ae0c
mov eax, 2
cmp word [rsi + 0x31ca], ax
jne 0x14002ace0
test r14d, r14d
jne 0x14002ace0
mov r8, r13
lea rcx, [rbp - 0x80]
mov rdx, rdi
call fcn.14002a20c
xor edx, edx
mov byte [rbp + 0x80], 1
xor ecx, ecx
movss xmm7, dword [rax]
movss xmm8, dword [rax + 4]
movss dword [rsp + 0x40], xmm7
movss dword [rsp + 0x44], xmm8
call fcn.140027394
jmp 0x14002ae1a
movss xmm10, dword [r15]
ucomiss xmm10, xmm11
jp 0x14002acfb
jne 0x14002acfb
mov rax, qword [rbp + 0xa8]
movss xmm5, dword [rax + 4]
jmp 0x14002ad06
mov rax, qword [rbp + 0xa8]
movaps xmm5, xmm13
lea r8, [r15 - 4]
movss xmm8, dword [r8]
ucomiss xmm8, xmm11
jp 0x14002ad1d
jne 0x14002ad1d
movss xmm3, dword [rax]
jmp 0x14002ad21
movaps xmm3, xmm13
ucomiss xmm10, xmm12
jp 0x14002ad30
jne 0x14002ad30
movss xmm7, dword [rax + 0xc]
jmp 0x14002ad34
movaps xmm7, xmm9
ucomiss xmm8, xmm12
jp 0x14002ad43
jne 0x14002ad43
movss xmm6, dword [rax + 8]
jmp 0x14002ad47
movaps xmm6, xmm9
movss xmm2, dword [rsp + 0x68]
xorps xmm2, xmmword [0x1400aa620]
movss xmm0, dword [r15 + 4]
movaps xmm4, xmm2
mulss xmm4, dword [r15 + 4]
mulss xmm2, dword [r15 + 8]
movss xmm1, dword [r15 + 8]
mulss xmm0, xmm14
mulss xmm1, xmm14
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, xmm8
mulss xmm2, xmm10
addss xmm4, xmm0
movss xmm0, dword [rsi + 0xc90]
subss xmm0, dword [rsi + 0x3998]
addss xmm2, xmm1
addss xmm4, xmm0
movss xmm0, dword [rsi + 0xc94]
subss xmm0, dword [rsi + 0x399c]
addss xmm0, xmm2
comiss xmm5, xmm0
ja 0x14002adc7
movaps xmm5, xmm7
minss xmm5, xmm0
comiss xmm3, xmm4
ja 0x14002add3
movaps xmm3, xmm6
minss xmm3, xmm4
unpcklps xmm3, xmm5
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x58]
movsd qword [rsp + 0x70], xmm3
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.14002a75c
movss xmm8, dword [rsp + 0x44]
movss xmm7, dword [rsp + 0x40]
movss xmm10, dword [rsp + 0x68]
test r14d, r14d
je 0x14002ae1a
test bl, bl
jne 0x14002ae1a
test r12b, r12b
je 0x14002ae6d
mov rcx, qword [0x1400b8e80]
neg r12b
mov edx, 0x20
sbb rax, rax
neg rax
add rax, 0x1e
test bl, bl
cmovne rax, rdx
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x3344]
movups xmmword [rsp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x3268]
lea rcx, [rsp + 0x70]
movss dword [rsp + 0x7c], xmm0
call fcn.1400254d4
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
add qword [rsp + 0x60], 4
inc r14d
add r15, 0x18
cmp r14d, dword [rbp + 0x98]
jl 0x14002ab64
movss xmm6, dword [rsp + 0x58]
mov r13b, byte [rsp + 0x31]
xor r14d, r14d
neg r13b
sbb r12, r12
and r12d, 4
jbe 0x14002b09f
lea r15, [0x1400a9754]
cmp r14d, 1
jbe 0x14002aed1
mov r13d, 3
mov qword [rsp + 0x60], 0xc94
mov qword [rsp + 0x68], 0x399c
lea rax, [rsp + 0x3c]
jmp 0x14002aeee
mov r13d, 4
mov qword [rsp + 0x60], 0xc90
mov qword [rsp + 0x68], 0x3998
lea rax, [rsp + 0x38]
movaps xmm3, xmm10
movss dword [rsp + 0x20], xmm15
mov r8d, r14d
mov qword [rbp - 0x80], rax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14002a894
movsxd rax, dword [rdi + 0xf0]
lea ecx, [r14 + 4]
mov r8, qword [rdi + 0xf8]
mov edx, 4
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x38]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14002501c
mov r9d, 8
lea rcx, [rsp + 0x48]
xor r8d, r8d
mov edx, eax
mov ebx, eax
call fcn.1400302cc
lea r9, [rsp + 0x31]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.140035c58
cmp byte [rsp + 0x30], 0
mov al, byte [rsp + 0x31]
je 0x14002af88
movss xmm0, dword [rsi + 0x397c]
comiss xmm0, dword [0x1400a9e64]
ja 0x14002af90
test al, al
je 0x14002b07b
mov dword [rsi + 0x4118], r13d
test al, al
je 0x14002b07b
mov rax, qword [rbp + 0x90]
mov dword [rax], r14d
cmp r14d, 3
jne 0x14002afc1
mov rax, qword [rbp + 0xa8]
movaps xmm3, xmm13
movss xmm2, dword [rax + 4]
jmp 0x14002afda
movaps xmm2, xmm13
cmp r14d, 1
jne 0x14002b2cc
mov rax, qword [rbp + 0xa8]
movss xmm3, dword [rax]
movaps xmm4, xmm9
movaps xmm5, xmm9
mov rax, qword [rsp + 0x60]
movsd xmm0, qword [rdi + 0x20]
movsd qword [rsp + 0x38], xmm0
movss xmm1, dword [rax + rsi]
mov rax, qword [rsp + 0x68]
subss xmm1, dword [rax + rsi]
mov rax, qword [rbp - 0x80]
addss xmm1, xmm15
movss dword [rax], xmm1
comiss xmm2, dword [rsp + 0x3c]
ja 0x14002b01e
movaps xmm2, xmm4
minss xmm2, dword [rsp + 0x3c]
comiss xmm3, dword [rsp + 0x38]
ja 0x14002b02e
movaps xmm3, xmm5
minss xmm3, dword [rsp + 0x38]
movss xmm1, dword [r15 - 0xc]
lea rax, [rsp + 0x40]
movss xmm0, dword [r15 - 8]
lea r9, [rsp + 0x58]
minss xmm1, dword [r15 - 4]
minss xmm0, dword [r15]
unpcklps xmm3, xmm2
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x38]
movsd qword [rsp + 0x38], xmm3
mov rcx, rdi
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x70], xmm1
movss dword [rsp + 0x74], xmm0
call fcn.14002a75c
inc r14d
add r15, 0x1c
sub r12, 1
jne 0x14002aeac
movss xmm6, dword [rsp + 0x58]
movss xmm8, dword [rsp + 0x44]
movss xmm7, dword [rsp + 0x40]
mov rcx, qword [0x1400b8e80]
mov rax, qword [rcx + 0x3928]
dec dword [rax + 0xf0]
and dword [rdi + 0x158], 0
mov rax, qword [rsi + 0x40e0]
test rax, rax
je 0x14002b27d
cmp qword [rax + 0x378], rdi
jne 0x14002b27d
mov eax, 2
cmp dword [rsi + 0x3fac], eax
jne 0x14002b27d
cmp byte [rsi + 0xca9], 0
je 0x14002b27d
movss xmm3, dword [rcx + 0x2cdc]
subss xmm3, dword [rcx + 0x2ccc]
movss xmm2, dword [rcx + 0x2cfc]
subss xmm2, dword [rcx + 0x2cec]
ucomiss xmm3, xmm12
jp 0x14002b129
jne 0x14002b129
ucomiss xmm2, xmm12
jp 0x14002b129
je 0x14002b27d
movss xmm1, dword [rsi + 0x58]
minss xmm1, dword [rsi + 0x5c]
movss xmm0, dword [rsi + 0x18]
mulss xmm0, dword [0x1400a9f70]
mov rax, qword [rbp + 0xa8]
mulss xmm1, xmm0
mulss xmm3, xmm1
mulss xmm2, xmm1
addss xmm3, dword [rsi + 0x410c]
addss xmm2, dword [rsi + 0x4110]
movss dword [rsi + 0x410c], xmm3
movss dword [rsi + 0x4110], xmm2
movss xmm0, dword [rax]
subss xmm0, dword [rdi + 0x20]
movss xmm1, dword [rax + 4]
subss xmm1, dword [rdi + 0x24]
subss xmm0, dword [rdi + 0x28]
subss xmm1, dword [rdi + 0x2c]
mov byte [rsi + 0x4100], 0
mov byte [rsi + 0x3fb7], 1
maxss xmm3, xmm0
maxss xmm2, xmm1
movss dword [rsi + 0x410c], xmm3
movss dword [rsi + 0x4110], xmm2
movdqu xmm0, xmmword [rcx + 0x3544]
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x3268]
lea rcx, [rsp + 0x48]
movss dword [rsp + 0x54], xmm0
call fcn.1400254d4
mov rcx, qword [rbp + 0xa0]
mov dword [rcx], eax
cvttss2si eax, dword [rsi + 0x410c]
movd xmm11, eax
cvttss2si eax, dword [rsi + 0x4110]
cvtdq2ps xmm11, xmm11
movd xmm10, eax
ucomiss xmm11, xmm12
cvtdq2ps xmm10, xmm10
jp 0x14002b21a
jne 0x14002b21a
ucomiss xmm10, xmm12
jp 0x14002b21a
je 0x14002b27d
movaps xmm0, xmm11
lea r8, [rsp + 0x70]
addss xmm0, dword [rdi + 0x30]
movaps xmm1, xmm10
lea rcx, [rbp - 0x80]
addss xmm1, dword [rdi + 0x34]
mov rdx, rdi
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x74], xmm1
call fcn.14002a20c
movss xmm0, dword [rsi + 0x410c]
movss xmm1, dword [rsi + 0x4110]
subss xmm0, xmm11
subss xmm1, xmm10
movss xmm7, dword [rax]
movss xmm8, dword [rax + 4]
movss dword [rsi + 0x410c], xmm0
movss dword [rsi + 0x4110], xmm1
ucomiss xmm7, xmm9
jp 0x14002b285
je 0x14002b290
movss dword [rdi + 0x30], xmm7
movss dword [rdi + 0x34], xmm8
ucomiss xmm6, xmm9
jp 0x14002b298
je 0x14002b2ba
cvttss2si ecx, xmm6
movd xmm1, ecx
cvttss2si ecx, dword [rsp + 0x5c]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x20], xmm1
movss dword [rdi + 0x24], xmm0
movsd xmm0, qword [rdi + 0x30]
mov al, byte [rbp + 0x80]
movsd qword [rdi + 0x28], xmm0
jmp 0x14002b30b
mov eax, 2
movaps xmm3, xmm13
cmp r14d, eax
jne 0x14002b2eb
mov rax, qword [rbp + 0xa8]
movss xmm4, dword [rax + 0xc]
jmp 0x14002afde
movaps xmm4, xmm9
test r14d, r14d
jne 0x14002afde
mov rax, qword [rbp + 0xa8]
movss xmm5, dword [rax + 8]
jmp 0x14002afe2
xor al, al
lea r11, [rsp + 0x138]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret