Function at 0x140006cc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r8, qword [0x1400626e8]
mov edi, ecx
mov rbx, r8
mov rsi, qword [r8 + 0x1368]
test ecx, 0xfffc005f
je 0x140006d0c
lea rcx, str.Invalid_flags_for_IsItemHovered___
call fcn.140014600
mov r8, qword [0x1400626e8]
cmp byte [rbx + 0x1ea1], 0
je 0x140006d80
cmp byte [rbx + 0x1ea0], 0
je 0x140006d80
bt edi, 0xb
jb 0x140006d80
mov eax, dword [r8 + 0x1ea4]
cmp eax, dword [r8 + 0x1d38]
jne 0x140006fb8
test eax, eax
je 0x140006fb8
test dword [rbx + 0x1d3c], 0x400
je 0x140006d56
bt edi, 0xa
jae 0x140006fb8
bt edi, 0xc
jae 0x140006d74
mov edx, dword [rbx + 0x1070]
mov eax, edx
and eax, 0xfffe3fff
test edi, 0x1c000
cmove eax, edx
or edi, eax
lea rdx, [rbx + 0x1d38]
jmp 0x140006ec9
mov r9d, dword [rbx + 0x1d40]
test r9b, 1
je 0x140006fb8
bt edi, 0xc
jae 0x140006daf
mov edx, dword [rbx + 0x106c]
mov eax, edx
and eax, 0xfffe3fff
test edi, 0x1c000
cmove eax, edx
or edi, eax
cmp qword [rbx + 0x1370], rsi
je 0x140006dc7
test r9b, r9b
js 0x140006dc7
bt edi, 9
jae 0x140006fb8
mov r10d, dword [rbx + 0x1d38]
test dil, dil
js 0x140006df7
mov eax, dword [rbx + 0x13dc]
test eax, eax
je 0x140006df7
cmp eax, r10d
je 0x140006df7
cmp byte [rbx + 0x13e9], 0
jne 0x140006df7
cmp eax, dword [rsi + 0x8c]
jne 0x140006fb8
mov rcx, qword [r8 + 0x1ea8]
test rcx, rcx
je 0x140006e63
mov rcx, qword [rcx + 0x3a0]
test rcx, rcx
je 0x140006e63
cmp byte [rcx + 0xcb], 0
je 0x140006e63
mov rax, qword [rsi + 0x3a0]
cmp rcx, rax
je 0x140006e63
mov edx, dword [rcx + 0x14]
bt edx, 0x1b
jb 0x140006e39
bt edx, 0x1a
jae 0x140006e63
test dil, 0x20
jne 0x140006e63
cmp qword [rax + 0x3a0], rcx
je 0x140006e63
cmp rax, rcx
je 0x140006e63
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x140006e42
test dword [rbx + 0x1d3c], 0x2000
je 0x140006fb8
mov eax, dword [rbx + 0x1d3c]
bt eax, 0xa
jae 0x140006e79
bt edi, 0xa
jae 0x140006fb8
cmp r10d, dword [rsi + 0x8c]
jne 0x140006e8f
cmp byte [rsi + 0xcc], 0
jne 0x140006fb8
lea rdx, [rbx + 0x1d38]
bt eax, 0xe
jae 0x140006ec9
lea rdx, [rbx + 0x1d38]
test r10d, r10d
je 0x140006ec9
lea rdx, [rbx + 0x1d38]
bt edi, 8
jb 0x140006ec9
lea rdx, [rbx + 0x1d38]
cmp dword [rbx + 0x13c8], r10d
jne 0x140006fb8
xorps xmm0, xmm0
bt edi, 0x10
jae 0x140006edd
movss xmm2, dword [r8 + 0x1068]
jmp 0x140006ef1
bt edi, 0xf
jae 0x140006eee
movss xmm2, dword [r8 + 0x1064]
jmp 0x140006ef1
xorps xmm2, xmm2
comiss xmm2, xmm0
ja 0x140006f03
bt edi, 0xd
jb 0x140006f03
mov al, 1
jmp 0x140006fba
mov edx, dword [rdx]
test edx, edx
jne 0x140006f80
movss xmm0, dword [rbx + 0x1d44]
lea r8, [rsp + 0x20]
movss xmm1, dword [rbx + 0x1d48]
lea r9, [0x1400551b0]
movsxd rcx, dword [rsi + 0x108]
mov rax, qword [rsi + 0x110]
subss xmm0, dword [rsi + 0x128]
subss xmm1, dword [rsi + 0x12c]
mov edx, dword [rax + rcx*4 - 4]
not edx
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
nop word [rax + rax]
movzx eax, byte [r8]
inc r8
movzx ecx, dl
xor rcx, rax
shr edx, 8
lea rax, [rsp + 0x28]
xor edx, dword [r9 + rcx*4]
cmp r8, rax
jb 0x140006f60
not edx
bt edi, 0x11
jae 0x140006f98
cmp dword [rbx + 0x22f4], edx
je 0x140006f98
mov dword [rbx + 0x22f8], 0
mov dword [rbx + 0x22f0], edx
bt edi, 0xd
jae 0x140006fac
cmp dword [rbx + 0x2300], edx
jne 0x140006fb8
comiss xmm2, dword [rbx + 0x22f8]
setbe al
jmp 0x140006fba
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140051eb0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret