Function at 0x140572880
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx]
mov rbx, rdx
mov rdi, rcx
test eax, eax
je 0x1405729f0
cmp eax, 1
jne 0x1405728b4
mov rax, qword [rdx + 8]
cmp dword [rax + 0x20], 0
jne 0x1405728b4
cmp qword [rax + 0x28], 0
je 0x1405729f0
movsxd rax, dword [rdx + 0x20]
test eax, eax
je 0x1405728e8
lea rcx, [rax + rax*4]
mov rax, qword [rdx + 0x28]
lea rcx, [rax + rcx*4]
cmp qword [rdx + 0x48], rcx
je 0x1405728e8
mov r8d, 0x129a
lea rdx, str.D:BackupGamingAET_New_MenuImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.cpp
lea rcx, str.draw_list__VtxBuffer.Size__0__draw_list___VtxWritePtr__draw_list__VtxBuffer.Data__draw_list__VtxBuffer.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rbx + 0x10]
test eax, eax
je 0x14057291b
mov rcx, rax
mov rax, qword [rbx + 0x18]
lea rcx, [rax + rcx*2]
cmp qword [rbx + 0x50], rcx
je 0x14057291b
mov r8d, 0x129b
lea rdx, str.D:BackupGamingAET_New_MenuImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.cpp
lea rcx, str.draw_list__IdxBuffer.Size__0__draw_list___IdxWritePtr__draw_list__IdxBuffer.Data__draw_list__IdxBuffer.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rbx + 0x30], 8
jne 0x140572943
mov eax, dword [rbx + 0x20]
cmp dword [rbx + 0x34], eax
je 0x140572943
mov r8d, 0x129d
lea rdx, str.D:BackupGamingAET_New_MenuImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.cpp
lea rcx, str._int_draw_list___VtxCurrentIdx__draw_list__VtxBuffer.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rbx + 0x34], 0x10000
jae 0x140572994
call fcn.140572a00
mov r9, rax
cmp byte [rax + 0x49], 0
je 0x1405729ae
xor r8d, r8d
movabs r10, 0x6799d12941dd1d67
nop word [rax + rax]
movzx ecx, r8b
mov rax, r10
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + r9], al
inc r8
cmp r8, 0x49
jb 0x140572970
mov byte [r9 + 0x49], 0
jmp 0x1405729ae
mov r8d, 0x12af
lea rdx, str.D:BackupGamingAET_New_MenuImGui_Standalone_mainSourceImGui_StandaloneImGuiimgui.cpp
lea rcx, str.draw_list___VtxCurrentIdx____1____16___________ay::obfuscated_data_sizeof__Too_many_vertices_in_ImDrawList_using_16_bit_indices._Read_comment_above___sizeof__Too_many_vertices_in_ImDrawList_using_16_bit_indices._Read_comment_above__0____ay::generate_key_int_4783U_____static_assert_sizeof_decltype_ay::generate_key_int_4783U______sizeof_ay::key_type____key_must_be_a_64_bit_unsigned_integer____static_assert__ay::generate_key_int_4783U_______1ull____56____key_must_span_all_8_bytes____constexpr_auto_n__sizeof__Too_many_vertices_in_ImDrawList_using_16_bit_indices._Read_comment_above___sizeof__Too_many_vertices_in_ImDrawList_using_16_bit_indices._Read_comment_above__0____constexpr_auto_obfuscator__ay::make_obfuscator_n__ay::generate_key_int_4783U_____Too_many_vertices_in_ImDrawList_using_16_bit_indices._Read_comment_above____thread_local_auto_obfuscated_data__ay::obfuscated_data_n__ay::generate_key_int_4783U____obfuscator___return_obfuscated_data____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rdi + 4]
mov eax, dword [rdi]
cmp eax, ecx
jne 0x1405729e3
lea r8d, [rax + 1]
test ecx, ecx
je 0x1405729ca
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1405729cf
mov eax, 8
cmp eax, r8d
mov rcx, rdi
cmovg r8d, eax
mov edx, r8d
call fcn.1405977d0
mov eax, dword [rdi]
movsxd rcx, eax
mov rax, qword [rdi + 8]
mov qword [rax + rcx*8], rbx
inc dword [rdi]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret