Function at 0x1400536c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov r14, qword [0x14011d300]
mov rdi, r9
movaps xmmword [rax - 0x38], xmm6
mov r12d, r8d
movaps xmmword [rax - 0x48], xmm7
mov r13, rcx
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [r14 + 0x3ea8]
mov byte [rax + 0x98], 1
mov rbx, qword [r14 + 0x3ea8]
cmp byte [rbx + 0x9b], 0
jne 0x1400540d0
movsxd r8, dword [rbx + 0xd0]
xor edx, edx
mov rax, qword [rbx + 0xd8]
mov r8d, dword [rax + r8*4 - 4]
call fcn.14001b520
movss xmm3, dword [r14 + 0x3838]
xorps xmm7, xmm7
movss xmm6, dword [rdi + 4]
movaps xmm0, xmm3
ucomiss xmm6, xmm7
mov r15d, eax
addss xmm0, xmm3
addss xmm0, dword [r14 + 0x3c18]
jp 0x14005376b
jne 0x14005376b
movaps xmm6, xmm0
movss xmm9, dword [rdi]
ucomiss xmm9, xmm7
jp 0x14005377c
jne 0x14005377c
movaps xmm9, xmm0
comiss xmm6, xmm0
movss xmm4, dword [rbx + 0xe0]
movss xmm5, dword [rbx + 0xe4]
movaps xmm1, xmm4
movaps xmm2, xmm5
movss dword [rbp - 0x78], xmm4
addss xmm1, xmm9
movss dword [rbp - 0x74], xmm5
addss xmm2, xmm6
movss dword [rbp - 0x70], xmm1
movss dword [rbp - 0x6c], xmm2
jae 0x1400537b7
xorps xmm3, xmm3
subss xmm1, xmm4
subss xmm2, xmm5
lea rcx, [rbp - 0x60]
movss dword [rbp - 0x60], xmm1
movaps xmm1, xmm3
movss dword [rbp - 0x5c], xmm2
call fcn.1400289c0
xor r8d, r8d
lea rcx, [rbp - 0x78]
mov edx, r15d
xor r9d, r9d
call fcn.140028b30
test al, al
je 0x1400540d0
mov qword [rsp + 0x1a0], rsi
lea r9, [rsp + 0x48]
movaps xmmword [rsp + 0x140], xmm8
lea r8, [rsp + 0x49]
movaps xmmword [rsp + 0x120], xmm10
lea rcx, [rbp - 0x78]
movaps xmmword [rsp + 0x110], xmm11
xor edi, edi
movaps xmmword [rsp + 0x100], xmm12
mov edx, r15d
movaps xmmword [rsp + 0xf0], xmm13
movaps xmmword [rsp + 0xe0], xmm14
movaps xmmword [rsp + 0xd0], xmm15
mov dword [rsp + 0x20], edi
call fcn.140045750
movzx ecx, byte [rsp + 0x48]
test al, al
movzx edx, al
mov esi, r12d
cmove edx, ecx
mov eax, r12d
and esi, 0xfff9ffff
mov dword [rbp - 0x60], edx
and al, 2
mov rax, qword [rbp + 0xa8]
cmove esi, r12d
movups xmm8, xmmword [rax]
movups xmmword [rsp + 0x50], xmm8
bt esi, 0x1c
jae 0x1400538c1
movss xmm2, dword [rsp + 0x58]
lea rax, [rsp + 0x58]
movss xmm1, dword [rsp + 0x54]
lea r9, [rsp + 0x50]
movss xmm0, dword [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
call fcn.14001ba20
movups xmm8, xmmword [rsp + 0x50]
movss xmm14, dword [0x1400ba2c4]
minss xmm9, xmm6
movss xmm15, dword [r14 + 0x383c]
movaps xmm3, xmm8
movss xmm10, dword [rbp - 0x78]
movaps xmm4, xmm8
movss xmm12, dword [rbp - 0x70]
movaps xmm2, xmm10
movss xmm13, dword [rbp - 0x6c]
movaps xmm1, xmm12
divss xmm9, dword [0x1400ba350]
mov r12d, esi
mov dword [rbp - 0x7c], 0x3f800000
movss xmm11, dword [rbp - 0x74]
xorps xmm6, xmm6
shufps xmm3, xmm8, 0x55
movaps xmm0, xmm9
mulss xmm0, xmm14
shufps xmm4, xmm8, 0xaa
movss dword [rsp + 0x78], xmm8
movss dword [rsp + 0x7c], xmm3
minss xmm15, xmm0
movss dword [rbp - 0x80], xmm4
movaps xmm0, xmm13
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x74], xmm0
movss dword [rsp + 0x40], xmm2
movss dword [rsp + 0x68], xmm2
movss dword [rsp + 0x6c], xmm11
movss dword [rbp - 0x64], xmm1
movss dword [rsp + 0x70], xmm1
movss dword [rbp - 0x68], xmm6
movaps xmmword [rbp - 0x50], xmm3
movaps xmmword [rbp - 0x40], xmm4
and r12d, 0x400
jne 0x1400539de
subss xmm1, dword [0x1400ba2e8]
movss xmm6, dword [0x1400ba464]
movaps xmm3, xmm11
subss xmm3, xmm6
movss dword [rbp - 0x68], xmm6
subss xmm2, xmm6
movss dword [rbp - 0x64], xmm1
movss dword [rsp + 0x70], xmm1
movaps xmm1, xmm13
subss xmm1, dword [0x1400ba2e8]
movss dword [rsp + 0x6c], xmm3
movaps xmm3, xmmword [rbp - 0x50]
movss dword [rsp + 0x40], xmm2
movss dword [rsp + 0x68], xmm2
movss dword [rsp + 0x60], xmm1
movss dword [rsp + 0x74], xmm1
movss xmm1, dword [0x1400ba314]
bt esi, 0x12
jae 0x140053b3b
movaps xmm0, xmm8
shufps xmm0, xmm8, 0xff
comiss xmm1, xmm0
jbe 0x140053b3b
mov rax, qword [0x14011d300]
lea rcx, [rsp + 0x50]
movaps xmm7, xmm6
movss dword [rsp + 0x50], xmm8
movaps xmm6, xmm2
movss dword [rsp + 0x54], xmm3
movss dword [rsp + 0x58], xmm4
subss xmm7, xmm9
mulss xmm0, dword [rax + 0x37f8]
addss xmm6, xmm9
movss dword [rsp + 0x5c], xmm0
call fcn.14001b8c0
movss xmm1, dword [rbp - 0x68]
movaps xmm0, xmm7
movss xmm2, dword [rsp + 0x6c]
mov r9d, eax
movss xmm7, dword [rbp - 0x64]
mov rcx, qword [rbx + 0x280]
unpcklps xmm0, xmm1
movaps xmm1, xmm7
mov dword [rsp + 0x38], 0xa0
movss dword [rsp + 0x30], xmm15
movsd qword [rsp + 0x28], xmm0
movaps xmm0, xmm6
unpcklps xmm0, xmm2
movss dword [rsp + 0x20], xmm9
movq rdx, xmm0
movss xmm9, dword [rsp + 0x60]
unpcklps xmm1, xmm9
movq r8, xmm1
movsd qword [rsp + 0x70], xmm1
call fcn.1400407a0
addss xmm7, dword [rsp + 0x40]
mov rax, qword [0x14011d300]
lea rcx, [rsp + 0x50]
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rax + 0x37f8]
movss dword [rsp + 0x5c], xmm0
mulss xmm7, xmm14
movss dword [rsp + 0x50], xmm8
movss dword [rsp + 0x58], xmm1
addss xmm7, xmm14
movss dword [rsp + 0x44], xmm9
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
call fcn.14001b8c0
mov rcx, qword [rbx + 0x280]
lea rdx, [rsp + 0x68]
mov r9d, eax
mov dword [rsp + 0x28], 0x50
lea r8, [rsp + 0x40]
movss dword [rsp + 0x20], xmm15
call fcn.14003b9c0
xorps xmm7, xmm7
jmp 0x140053c01
bt esi, 0x11
lea rcx, [rsp + 0x78]
lea rax, [rsp + 0x50]
cmovae rax, rcx
lea rcx, [rsp + 0x78]
movups xmm2, xmmword [rax]
mov rax, qword [0x14011d300]
movups xmmword [rsp + 0x50], xmm2
movss xmm0, dword [rsp + 0x50]
shufps xmm2, xmm2, 0xff
comiss xmm1, xmm2
mulss xmm2, dword [rax + 0x37f8]
movss xmm1, dword [rsp + 0x54]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rsp + 0x58]
movss dword [rbp - 0x7c], xmm2
movss dword [rbp - 0x80], xmm0
movss dword [rsp + 0x7c], xmm1
jbe 0x140053bd8
call fcn.14001b8c0
mov r8, qword [rsp + 0x70]
movaps xmm0, xmm6
mov rdx, qword [rsp + 0x68]
mov r9d, eax
mov rcx, qword [rbx + 0x280]
mov dword [rsp + 0x38], edi
unpcklps xmm0, xmm6
movss dword [rsp + 0x30], xmm15
movsd qword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm9
call fcn.1400407a0
jmp 0x140053c01
call fcn.14001b8c0
mov rcx, qword [rbx + 0x280]
lea rdx, [rsp + 0x68]
mov r9d, eax
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x70]
movss dword [rsp + 0x20], xmm15
call fcn.14003b9c0
mov r8d, 1
lea rcx, [rbp - 0x78]
mov edx, r15d
call fcn.14001c5f0
test r12d, r12d
jne 0x140053d14
movss xmm0, dword [r14 + 0x3840]
comiss xmm0, xmm7
jbe 0x140053c40
mov rdx, qword [rbp - 0x70]
movaps xmm2, xmm15
mov rcx, qword [rbp - 0x78]
call fcn.14001c4a0
jmp 0x140053d14
mov rax, qword [0x14011d300]
lea rcx, [rbp - 0x50]
mov rbx, qword [rbx + 0x280]
movups xmm0, xmmword [rax + 0x3930]
movups xmmword [rbp - 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f8]
movss dword [rbp - 0x44], xmm0
call fcn.14001b8c0
mov r12d, eax
test eax, 0xff000000
je 0x140053d14
test byte [rbx + 0x30], 1
addss xmm10, xmm14
addss xmm11, xmm14
mov dword [rsp + 0x20], edi
movaps xmm3, xmm15
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rbx
movss dword [rsp + 0x60], xmm10
movss dword [rsp + 0x64], xmm11
je 0x140053cc0
subss xmm12, xmm14
subss xmm13, xmm14
jmp 0x140053cd2
subss xmm12, dword [0x1400ba2c0]
subss xmm13, dword [0x1400ba2c0]
movss dword [rsp + 0x40], xmm12
movss dword [rsp + 0x44], xmm13
call fcn.14003b1e0
movss xmm0, dword [0x1400ba314]
mov r9d, r12d
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.140039430
mov dword [rbx + 0x78], edi
movaps xmm15, xmmword [rsp + 0xd0]
movaps xmm14, xmmword [rsp + 0xe0]
movaps xmm13, xmmword [rsp + 0xf0]
movaps xmm12, xmmword [rsp + 0x100]
movaps xmm11, xmmword [rsp + 0x110]
movaps xmm10, xmmword [rsp + 0x120]
cmp dword [r14 + 0x3ef4], r15d
jne 0x140054091
bt esi, 9
jb 0x140054091
mov rbx, qword [0x14011d300]
mov r15d, dword [rbx + 0x3f70]
mov rax, qword [rbx + 0x3ea8]
test r15d, r15d
je 0x140054091
cmp dword [rbx + 0x3ef4], r15d
jne 0x140054091
mov r14d, dword [rbx + 0x3f3c]
cmp r14d, 0xffffffff
cmove r14d, edi
movsxd rdx, r14d
cmp byte [rdx + rbx + 0xd9c], dil
je 0x140054091
cmp byte [rax + 0x9b], dil
jne 0x140054091
mov byte [rbx + 0x3f01], dil
movsxd rcx, dword [rax + 0xd0]
mov rax, qword [rax + 0xd8]
mov r12d, dword [rax + rcx*4 - 4]
cmp byte [rdx + rbx + 0xd9c], dil
jne 0x140053de1
xor cl, cl
jmp 0x140053df9
movss xmm1, dword [rbx + 0x38]
movss xmm0, dword [rbx + rdx*4 + 0x3708]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae cl
movdqa xmm0, xmmword [0x1400bb340]
mov qword [rbx + 0x3f08], 0xffffffffffffffff
movups xmmword [rbx + 0x3f10], xmm0
movd dword [rbx + 0x3f20], xmm0
cmp byte [rbx + 0x40fd], dil
mov word [rbx + 0x4114], di
setne al
mov byte [rbx + 0x40fc], al
test cl, cl
je 0x140054091
cmp byte [rbx + 0x424c], dil
jne 0x140053e7a
call fcn.14002e8a0
mov dword [rbx + 0x426c], r15d
mov dword [rbx + 0x4270], r12d
mov byte [rbx + 0x424c], 1
mov dword [rbx + 0x4250], edi
mov dword [rbx + 0x4258], r14d
cmp r15d, dword [rbx + 0x3ef4]
jne 0x140053e7a
mov byte [rbx + 0x3f02], 1
mov eax, dword [rbx + 0x3e28]
xor ecx, ecx
mov dword [rbx + 0x4254], eax
mov byte [rbx + 0x424d], 1
call fcn.140029a80
cmp dword [rbx + 0x42c0], edi
je 0x140053ec4
test dword [rbx + 0x42b4], 0x1000
je 0x140053ec4
mov rax, qword [rbx + 0x3ea8]
mov byte [rax + 0x9b], 1
mov byte [rax + 0x9d], 1
mov byte [rax + 0xb8], 1
and dword [rbx + 0x3f78], 0xfffffffe
xor eax, eax
mov dword [rsp + 0x40], 0x8488859a
mov edx, edi
mov byte [rsp + 0x46], al
test sil, 2
je 0x140053f7a
mov word [rsp + 0x44], 0x8cfa
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx - 0x3b]
inc edx
xor byte [rsp + rcx + 0x40], al
cmp edx, 6
jb 0x140053ef0
mov r14, qword [0x14011d300]
mov byte [rsp + 0x46], dil
cmp dword [r14 + 0x4274], 0xffffffff
jne 0x140053ff1
mov r8d, 0x20
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 0x4278]
call fcn.140087d70
lea rcx, [r14 + 0x42d0]
mov byte [r14 + 0x4298], dil
xor edx, edx
call fcn.14002fe20
mov dword [r14 + 0x42ec], edi
lea rcx, [r14 + 0x42e0]
mov qword [r14 + 0x4260], rcx
movsd qword [rcx], xmm8
psrldq xmm8, 8
movd dword [rcx + 8], xmm8
mov dword [r14 + 0x4268], 0xc
jmp 0x140053ff1
mov word [rsp + 0x44], 0x8cfd
movsxd rcx, edx
lea eax, [rdx - 0x3b]
inc edx
xor byte [rsp + rcx + 0x40], al
cmp edx, 6
jb 0x140053f81
mov r14, qword [0x14011d300]
mov byte [rsp + 0x46], dil
cmp dword [r14 + 0x4274], 0xffffffff
jne 0x140053ff1
mov r8d, 0x20
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 0x4278]
call fcn.140087d70
lea rcx, [r14 + 0x42d0]
mov byte [r14 + 0x4298], dil
xor edx, edx
call fcn.14002fe20
lea rax, [r14 + 0x42e0]
mov qword [r14 + 0x4260], rax
movups xmmword [rax], xmm8
mov dword [r14 + 0x4268], 0x10
mov eax, dword [r14 + 0x3e28]
lea r9, [rsp + 0x40]
mov dword [r14 + 0x4274], eax
mov r8d, esi
mov r14, qword [rbp + 0xa8]
mov rcx, r13
mov rdx, r14
mov qword [rsp + 0x40], rdi
call fcn.1400536c0
movss xmm1, dword [0x1400ba470]
movaps xmm0, xmm7
call fcn.140028cc0
mov dword [rsp + 0x40], 0xa7aba986
mov word [rsp + 0x44], 0xbb
nop dword [rax]
movsxd rcx, edi
lea eax, [rdi - 0x3b]
inc edi
xor byte [rsp + rcx + 0x40], al
cmp edi, 5
jb 0x140054040
xor r8d, r8d
mov byte [rsp + 0x45], 0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140044d30
mov rbx, qword [0x14011d300]
test byte [rbx + 0x4250], 1
jne 0x14005407a
call fcn.1400273f0
cmp dword [rbx + 0x4274], 0xffffffff
jne 0x140054088
call fcn.14002e8a0
mov byte [rbx + 0x424d], 0
jmp 0x140054098
mov r14, qword [rbp + 0xa8]
movaps xmm8, xmmword [rsp + 0x140]
test sil, 0x40
jne 0x1400540c2
cmp byte [rsp + 0x49], 0
je 0x1400540c2
and esi, 0x18060002
mov rdx, r14
mov r8d, esi
mov rcx, r13
call fcn.140054100
movzx eax, byte [rbp - 0x60]
mov rsi, qword [rsp + 0x1a0]
jmp 0x1400540d2
xor al, al
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret