Function at 0x140008640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov r8, qword [0x14008d6e8]
mov edi, ecx
mov rbx, r8
mov rsi, qword [r8 + 0x1368]
test ecx, 0xfffc005f
je 0x14000869b
lea rcx, str.Invalid_flags_for_IsItemHovered___
call fcn.140017ad0
test al, al
je 0x140008694
mov r8d, 0x1172
lea rdx, str.C:Users_tntDesktopAstraLoader_CAstraLoaderimgui.cpp
lea rcx, str.__flags__ImGuiHoveredFlags_AllowedMaskForIsItemHovered___0____Invalid_flags_for_IsItemHovered____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r8, qword [0x14008d6e8]
cmp byte [rbx + 0x1ea1], 0
movaps xmmword [rsp + 0x30], xmm6
je 0x140008714
cmp byte [rbx + 0x1ea0], 0
je 0x140008714
bt edi, 0xb
jb 0x140008714
mov eax, dword [r8 + 0x1ea4]
cmp eax, dword [r8 + 0x1d38]
jne 0x140008968
test eax, eax
je 0x140008968
test dword [rbx + 0x1d3c], 0x400
je 0x1400086ea
bt edi, 0xa
jae 0x140008968
bt edi, 0xc
jae 0x140008708
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 0x14000885d
mov r9d, dword [rbx + 0x1d40]
test r9b, 1
je 0x140008968
bt edi, 0xc
jae 0x140008743
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 0x14000875b
test r9b, r9b
js 0x14000875b
bt edi, 9
jae 0x140008968
mov r10d, dword [rbx + 0x1d38]
test dil, dil
js 0x14000878b
mov eax, dword [rbx + 0x13dc]
test eax, eax
je 0x14000878b
cmp eax, r10d
je 0x14000878b
cmp byte [rbx + 0x13e9], 0
jne 0x14000878b
cmp eax, dword [rsi + 0x8c]
jne 0x140008968
mov rcx, qword [r8 + 0x1ea8]
test rcx, rcx
je 0x1400087f7
mov rcx, qword [rcx + 0x3a0]
test rcx, rcx
je 0x1400087f7
cmp byte [rcx + 0xcb], 0
je 0x1400087f7
mov rax, qword [rsi + 0x3a0]
cmp rcx, rax
je 0x1400087f7
mov edx, dword [rcx + 0x14]
bt edx, 0x1b
jb 0x1400087cd
bt edx, 0x1a
jae 0x1400087f7
test dil, 0x20
jne 0x1400087f7
cmp qword [rax + 0x3a0], rcx
je 0x1400087f7
cmp rax, rcx
je 0x1400087f7
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x1400087d6
test dword [rbx + 0x1d3c], 0x2000
je 0x140008968
mov eax, dword [rbx + 0x1d3c]
bt eax, 0xa
jae 0x14000880d
bt edi, 0xa
jae 0x140008968
cmp r10d, dword [rsi + 0x8c]
jne 0x140008823
cmp byte [rsi + 0xcc], 0
jne 0x140008968
lea rdx, [rbx + 0x1d38]
bt eax, 0xe
jae 0x14000885d
lea rdx, [rbx + 0x1d38]
test r10d, r10d
je 0x14000885d
lea rdx, [rbx + 0x1d38]
bt edi, 8
jb 0x14000885d
lea rdx, [rbx + 0x1d38]
cmp dword [rbx + 0x13c8], r10d
jne 0x140008968
xorps xmm0, xmm0
bt edi, 0x10
jae 0x140008871
movss xmm6, dword [r8 + 0x1068]
jmp 0x140008885
bt edi, 0xf
jae 0x140008882
movss xmm6, dword [r8 + 0x1064]
jmp 0x140008885
xorps xmm6, xmm6
comiss xmm6, xmm0
ja 0x140008897
bt edi, 0xd
jb 0x140008897
mov al, 1
jmp 0x14000896a
mov edx, dword [rdx]
test edx, edx
jne 0x140008930
cmp dword [rsi + 0x108], edx
jg 0x1400088c3
mov r8d, 0x826
lea rdx, str.C:Users_tntDesktopAstraLoader_CAstraLoaderimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rbx + 0x1d44]
lea r8, [rsp + 0x20]
movss xmm1, dword [rbx + 0x1d48]
lea r9, [0x1400756c0]
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
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 0x140008910
not edx
bt edi, 0x11
jae 0x140008948
cmp dword [rbx + 0x22f4], edx
je 0x140008948
mov dword [rbx + 0x22f8], 0
mov dword [rbx + 0x22f0], edx
bt edi, 0xd
jae 0x14000895c
cmp dword [rbx + 0x2300], edx
jne 0x140008968
comiss xmm6, dword [rbx + 0x22f8]
setbe al
jmp 0x14000896a
xor al, al
movaps xmm6, xmmword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret