Function at 0x140013940
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
cmp byte [0x1400c5d21], 0
je 0x14001430a
cmp byte [0x1400c5d30], 0
mov qword [rax - 0x10], rbx
mov qword [rax - 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
xorps xmm8, xmm8
movaps xmmword [rax - 0x68], xmm9
movss xmm9, dword [0x1400b5234]
je 0x140013a51
mov rax, qword [0x14024ad10]
movss xmm7, dword [rax + 0x10]
movss xmm6, dword [rax + 0x14]
mulss xmm7, xmm9
mulss xmm6, xmm9
call fcn.14001c850
movaps xmm0, xmmword [0x1400b5c60]
lea rcx, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
mov rbx, rax
call fcn.14001a400
movss dword [rbp + 0x1d0], xmm7
mov edi, eax
movss dword [rbp + 0x1d4], xmm6
test eax, 0xff000000
je 0x140013a51
movss xmm2, dword [0x1400c5d28]
comiss xmm8, xmm2
jae 0x140013a51
movss xmm0, dword [0x1400b52ec]
subss xmm2, xmm9
mov dword [rsp + 0x28], 0x17
lea rdx, [rbp + 0x1d0]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rbx
call fcn.1400398f0
movss xmm0, dword [0x1400b529c]
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rcx, rbx
mov rdx, qword [rbx + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.140037f70
mov dword [rbx + 0x78], 0
cmp byte [0x1400c5d4c], 0
je 0x1400142d8
call fcn.140014380
mov qword [rbp + 0x1d0], 0
mov rbx, qword [rax + 0x30]
call fcn.140018220
mov rcx, qword [0x14024af48]
lea r8, [rbp + 0x1d0]
mov r9d, 8
mov rdx, rbx
cmp byte [rax], 0
cmovne rcx, qword [0x14024af30]
call fcn.14006cda0
mov rbx, qword [rbp + 0x1d0]
test rbx, rbx
je 0x1400142d8
mov qword [rsp + 0x2b0], rsi
mov qword [rbp + 0x1d0], 0
call fcn.140018220
mov rcx, qword [0x14024af48]
lea rdx, [rbx + 8]
mov r9d, 8
lea r8, [rbp + 0x1d0]
cmp byte [rax], 0
cmovne rcx, qword [0x14024af30]
call fcn.14006cda0
mov rsi, qword [rbp + 0x1d0]
test rsi, rsi
je 0x1400142d0
call fcn.140014380
mov rbx, qword [rax + 0x68]
add rbx, rsi
call fcn.140018220
mov rcx, qword [0x14024af48]
lea r8, [rbp + 0x48]
mov r9d, 0xc
mov rdx, rbx
cmp byte [rax], 0
cmovne rcx, qword [0x14024af30]
call fcn.14006cda0
movaps xmmword [rsp + 0x250], xmm10
xor edi, edi
movaps xmmword [rsp + 0x240], xmm11
movaps xmmword [rsp + 0x230], xmm12
movaps xmmword [rsp + 0x220], xmm13
movaps xmmword [rsp + 0x210], xmm14
movaps xmmword [rsp + 0x200], xmm15
nop dword [rax + rax]
mov ecx, edi
call fcn.140013390
cmp qword [rax], rsi
je 0x14001428c
mov ecx, edi
call fcn.140013390
mov ecx, edi
movsd xmm0, qword [rax + 0x28]
mov eax, dword [rax + 0x30]
movsd qword [rbp - 0x60], xmm0
mov dword [rbp - 0x58], eax
call fcn.140013390
movss xmm0, dword [rax + 0x30]
subss xmm0, dword [rbp + 0x50]
movss xmm1, dword [rax + 0x2c]
movss xmm2, dword [rax + 0x28]
subss xmm2, dword [rbp + 0x48]
subss xmm1, dword [rbp + 0x4c]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x140013be3
xorps xmm12, xmm12
sqrtss xmm12, xmm2
jmp 0x140013bef
movaps xmm0, xmm2
call fcn.1400a07a8
movaps xmm12, xmm0
comiss xmm12, dword [0x1400c5db8]
ja 0x14001428c
movss xmm10, dword [rbp - 0x60]
ucomiss xmm10, xmm8
jp 0x140013c0f
je 0x14001428c
movss xmm9, dword [rbp - 0x5c]
ucomiss xmm9, xmm8
jp 0x140013c21
je 0x14001428c
movss xmm7, dword [rbp - 0x58]
ucomiss xmm7, xmm8
jp 0x140013c32
je 0x14001428c
mov ecx, edi
call fcn.140013390
mov ecx, edi
movss xmm6, dword [rax + 0x34]
call fcn.140013390
movss xmm14, dword [0x1400b5358]
movss xmm0, dword [rax + 0x38]
movss dword [rbp + 0x1d8], xmm0
movaps xmm0, xmm8
maxss xmm0, xmm6
minss xmm14, xmm0
ucomiss xmm14, xmm8
jp 0x140013c74
je 0x14001428c
mov ecx, edi
call fcn.140013390
movss xmm13, dword [0x1400b5338]
lea rdx, [rsp + 0x70]
movaps xmm0, xmm8
movss dword [rbp - 0x50], xmm10
lea rcx, [rbp + 0x60]
movss dword [rbp - 0x4c], xmm9
maxss xmm0, dword [rax + 0x3c]
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x78], 0
minss xmm13, xmm0
movaps xmm0, xmm7
subss xmm0, dword [0x1400b5284]
addss xmm7, dword [0x1400b5274]
movss dword [rbp + 0x1d0], xmm13
movss dword [rbp + 0x88], xmm0
movaps xmm0, xmm10
mov eax, dword [rbp + 0x88]
unpcklps xmm0, xmm9
movsd qword [rbp + 0x60], xmm0
movss dword [rbp - 0x48], xmm7
mov dword [rbp + 0x68], eax
call fcn.140013670
test al, al
jne 0x140013d0a
movaps xmm7, xmm8
movaps xmm10, xmm8
jmp 0x140013d17
movss xmm7, dword [rsp + 0x70]
movss xmm10, dword [rsp + 0x74]
movsd xmm0, qword [rbp - 0x50]
lea rdx, [rbp - 0x80]
mov eax, dword [rbp - 0x48]
lea rcx, [rbp + 0x70]
movsd qword [rbp + 0x70], xmm0
mov qword [rbp - 0x80], 0
mov dword [rbp - 0x78], 0
mov dword [rbp + 0x78], eax
call fcn.140013670
test al, al
jne 0x140013d51
movaps xmm0, xmm8
movaps xmm11, xmm8
jmp 0x140013d5c
movss xmm0, dword [rbp - 0x80]
movss xmm11, dword [rbp - 0x7c]
comiss xmm7, xmm8
jbe 0x14001428c
comiss xmm0, xmm8
jbe 0x14001428c
cmp byte [0x1400c5d4f], 0
movaps xmm9, xmm10
subss xmm9, xmm11
movaps xmm15, xmm11
subss xmm15, xmm10
divss xmm9, dword [0x1400b52cc]
je 0x140013e92
lea rcx, [0x1400c5d78]
call fcn.14001a400
xorps xmm2, xmm2
lea rdx, str._.1f
cvtss2sd xmm2, xmm12
lea rcx, [rbp + 0x90]
mov ebx, eax
movq r8, xmm2
call fcn.140014320
call fcn.14001c850
movss xmm2, dword [0x1400b52b4]
movaps xmm1, xmm9
movss xmm3, dword [0x1400b5310]
movaps xmm0, xmm7
mov rdx, rax
divss xmm1, xmm2
subss xmm0, xmm1
movaps xmm1, xmm11
subss xmm1, xmm3
movss dword [rbp + 0x1e0], xmm0
movss dword [rbp + 0x1e4], xmm1
test ebx, 0xff000000
je 0x140013ea2
lea rcx, [rbp + 0x90]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140013e20
lea rcx, [rbp + 0x90]
add rcx, rax
lea rax, [rbp + 0x90]
cmp rax, rcx
je 0x140013ea2
mov rax, qword [rdx + 0x38]
lea r9, [rbp + 0x1e0]
movups xmm0, xmmword [rdx + 0x88]
mov byte [rsp + 0x48], 0
movss xmm2, dword [0x1400b5308]
movss dword [rsp + 0x40], xmm8
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x90]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 8]
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x20], ebx
call fcn.14003e7b0
movss xmm3, dword [0x1400b5310]
movss xmm2, dword [0x1400b52b4]
cmp byte [0x1400c5d52], 0
je 0x140013fd6
mov rax, qword [0x14024ad10]
movaps xmm0, xmm9
divss xmm0, xmm2
mov dword [rsp + 0x50], 0x6244647
mov dword [rsp + 0x54], 0x190d020b
mov dword [rsp + 0x58], 0xb001803
movss xmm12, dword [rax + 0x10]
movaps xmm6, xmm7
movss xmm13, dword [rax + 0x14]
subss xmm6, xmm0
mov rax, qword [rax + 0x40b0]
subss xmm13, xmm3
movups xmm0, xmmword [0x1400c5d88]
mulss xmm12, dword [0x1400b5234]
mov rcx, qword [rax]
xor eax, eax
movdqa xmmword [rsp + 0x60], xmm0
xor r8d, r8d
mov byte [rsp + 0x5c], al
nop word [rax + rax]
movsxd rdx, r8d
lea eax, [r8 + 0x64]
inc r8d
xor byte [rsp + rdx + 0x50], al
cmp r8d, 0xc
jb 0x140013f20
lea r8, [rsp + 0x50]
mov byte [rsp + 0x5c], 0
xor edx, edx
call fcn.14001c680
movss xmm1, dword [rsp + 0x64]
mov r10, rax
movss xmm0, dword [rsp + 0x60]
mov rcx, qword [0x14024ad10]
movss dword [rbp - 0x6c], xmm1
movss xmm1, dword [rsp + 0x6c]
movss dword [rbp - 0x70], xmm0
mulss xmm1, dword [rcx + 0x37f8]
lea rcx, [rbp - 0x70]
movss xmm0, dword [rsp + 0x68]
movss dword [rbp - 0x68], xmm0
movss dword [rbp - 0x64], xmm1
movss dword [rbp + 0x1e8], xmm6
movss dword [rbp + 0x1ec], xmm10
movss dword [rbp - 0x40], xmm12
movss dword [rbp - 0x3c], xmm13
call fcn.14001a400
movss xmm0, dword [0x1400b5284]
lea r8, [rbp + 0x1e8]
mov r9d, eax
movss dword [rsp + 0x20], xmm0
lea rdx, [rbp - 0x40]
mov rcx, r10
call fcn.14003a2a0
movss xmm13, dword [rbp + 0x1d0]
cmp byte [0x1400c5d4d], 0
je 0x1400140dd
lea rcx, [0x1400c5d58]
call fcn.14001a400
mov ebx, eax
call fcn.14001c850
movaps xmm6, xmm7
movss dword [rbp - 0x34], xmm11
addss xmm6, xmm9
movss dword [rbp - 0x2c], xmm11
subss xmm7, xmm9
mov r9d, ebx
movss xmm9, dword [0x1400b529c]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x30]
movss dword [rsp + 0x20], xmm9
mov rcx, rax
movss dword [rbp - 0x38], xmm6
movss dword [rbp - 0x30], xmm7
call fcn.14003a2a0
call fcn.14001c850
mov r9d, ebx
movss dword [rbp - 0x28], xmm7
lea r8, [rbp - 0x28]
movss dword [rbp - 0x24], xmm11
lea rdx, [rbp - 0x20]
movss dword [rbp - 0x20], xmm7
mov rcx, rax
movss dword [rbp - 0x1c], xmm10
movss dword [rsp + 0x20], xmm9
call fcn.14003a2a0
call fcn.14001c850
mov r9d, ebx
movss dword [rbp - 0x18], xmm6
lea r8, [rbp - 0x18]
movss dword [rbp - 0x14], xmm11
lea rdx, [rbp - 0x10]
movss dword [rbp - 0x10], xmm6
mov rcx, rax
movss dword [rbp - 0xc], xmm10
movss dword [rsp + 0x20], xmm9
call fcn.14003a2a0
call fcn.14001c850
mov r9d, ebx
movss dword [rbp - 8], xmm6
lea r8, [rbp - 8]
movss dword [rbp - 4], xmm10
lea rdx, [rbp]
movss dword [rbp], xmm7
mov rcx, rax
movss dword [rbp + 4], xmm10
movss dword [rsp + 0x20], xmm9
call fcn.14003a2a0
jmp 0x1400140e2
subss xmm7, xmm9
cmp byte [0x1400c5d51], 0
je 0x14001428c
movaps xmm9, xmm15
divss xmm9, dword [0x1400b5338]
call fcn.14001c850
lea rcx, [rsp + 0x60]
mov r10, rax
movaps xmm0, xmmword [0x1400b59b0]
movaps xmm6, xmm7
subss xmm6, dword [0x1400b52e8]
movss dword [rbp + 0xc], xmm11
movss dword [rbp + 0x14], xmm10
movups xmmword [rsp + 0x60], xmm0
movss dword [rbp + 8], xmm6
movss dword [rbp + 0x10], xmm6
call fcn.14001a400
movss xmm0, dword [0x1400b52b0]
lea r8, [rbp + 8]
mov r9d, eax
movss dword [rsp + 0x20], xmm0
lea rdx, [rbp + 0x10]
mov rcx, r10
call fcn.14003a2a0
call fcn.14001c850
mulss xmm14, dword [0x1400b5338]
lea rcx, [rsp + 0x60]
mov r10, rax
movaps xmm0, xmmword [0x1400b59f0]
movaps xmm12, xmm11
subss xmm12, xmm15
movss dword [rbp + 0x18], xmm6
divss xmm14, dword [rbp + 0x1d8]
movss dword [rbp + 0x20], xmm6
mulss xmm14, xmm9
movss dword [rbp + 0x24], xmm10
movups xmmword [rsp + 0x60], xmm0
addss xmm14, xmm12
movss dword [rbp + 0x1c], xmm14
call fcn.14001a400
movss xmm6, dword [0x1400b52b0]
lea rdx, [rbp + 0x20]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rbp + 0x18]
mov rcx, r10
call fcn.14003a2a0
comiss xmm13, xmm8
jbe 0x14001428c
call fcn.14001c850
subss xmm7, dword [0x1400b52f8]
movaps xmm0, xmmword [0x1400b59b0]
lea rcx, [rsp + 0x60]
movss dword [rbp + 0x2c], xmm11
mov r10, rax
movss dword [rbp + 0x34], xmm10
movups xmmword [rsp + 0x60], xmm0
movss dword [rbp + 0x28], xmm7
movss dword [rbp + 0x30], xmm7
call fcn.14001a400
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp + 0x30]
mov rcx, r10
lea r8, [rbp + 0x28]
call fcn.14003a2a0
call fcn.14001c850
movaps xmm0, xmmword [0x1400b5bc0]
lea rcx, [rsp + 0x60]
mulss xmm9, xmm13
mov r10, rax
movss dword [rbp + 0x38], xmm7
movss dword [rbp + 0x40], xmm7
addss xmm9, xmm12
movss dword [rbp + 0x44], xmm10
movups xmmword [rsp + 0x60], xmm0
movss dword [rbp + 0x3c], xmm9
call fcn.14001a400
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp + 0x40]
mov rcx, r10
lea r8, [rbp + 0x38]
call fcn.14003a2a0
inc edi
cmp edi, 0x400
jl 0x140013b70
movaps xmm15, xmmword [rsp + 0x200]
movaps xmm14, xmmword [rsp + 0x210]
movaps xmm13, xmmword [rsp + 0x220]
movaps xmm12, xmmword [rsp + 0x230]
movaps xmm11, xmmword [rsp + 0x240]
movaps xmm10, xmmword [rsp + 0x250]
mov rsi, qword [rsp + 0x2b0]
movaps xmm7, xmmword [rsp + 0x280]
movaps xmm6, xmmword [rsp + 0x290]
mov rdi, qword [rsp + 0x2a8]
movaps xmm8, xmmword [rsp + 0x270]
mov rbx, qword [rsp + 0x2b8]
movaps xmm9, xmmword [rsp + 0x260]
add rsp, 0x2c0
pop rbp
ret