Function at 0x140044170
Capabilities:
Check for foreground window switch
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
xor edi, edi
mov dword [rsp + 0x40], 0xdfc3cfdb
mov ecx, edi
mov dword [rsp + 0x44], 0xc0ddd3c3
mov dword [rsp + 0x48], 0x100b6b5
nop word [rax + rax]
lea eax, [rcx - 0x73]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x1400441a0
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x4b], dil
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140110ee8], rax
call fcn.140043ec0
lea rdx, [0x140110ee0]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
js 0x1400443c5
cvttss2si rax, dword [0x140110e68]
mov rcx, qword [0x140110ee0]
lea rdx, [0x140111020]
mov r9, qword [0x140111018]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140110e70]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [0x140110e7c], rdi
mov qword [0x140110e88], 1
mov qword [0x140110ea4], rdi
mov dword [0x140110eac], edi
lea r8d, [rdx + 1]
mov dword [0x140110e78], 0x15
mov dword [0x140110e70], eax
cvttss2si rax, dword [0x140110e5c]
mov dword [0x140110e84], edi
mov dword [0x140110ea0], 0x50
mov dword [0x140110e9c], 1
mov qword [0x140110e90], r9
mov dword [0x140110e98], 1
mov dword [rsp + 0x20], 0x20
mov dword [0x140110e74], eax
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140005b00
mov rbx, qword [0x140111018]
lea rcx, [0x140111000]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140044395
lea rcx, [0x140110ff8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140044395
mov rcx, qword [0x140110de0]
lea rax, str.imgui_impl_win32
mov qword [0x140110ff0], rbx
or dword [rcx + 0xc], 6
mov qword [rcx + 0xd8], rax
mov qword [rcx + 0x108], rbx
mov dword [rcx + 0x3c], 9
mov dword [rcx + 0x40], 0x25
mov dword [rcx + 0x44], 0x27
mov dword [rcx + 0x48], 0x26
mov dword [rcx + 0x4c], 0x28
mov dword [rcx + 0x50], 0x21
mov dword [rcx + 0x54], 0x22
mov dword [rcx + 0x58], 0x24
mov dword [rcx + 0x5c], 0x23
mov dword [rcx + 0x60], 0x2d
mov dword [rcx + 0x64], 0x2e
mov dword [rcx + 0x68], 8
mov dword [rcx + 0x6c], 0x20
mov dword [rcx + 0x70], 0xd
mov dword [rcx + 0x74], 0x1b
mov dword [rcx + 0x78], 0x41
mov dword [rcx + 0x7c], 0x43
mov dword [rcx + 0x80], 0x56
mov dword [rcx + 0x84], 0x58
mov dword [rcx + 0x88], 0x59
mov dword [rcx + 0x8c], 0x5a
jmp 0x14004439c
mov rcx, qword [0x140110de0]
mov rax, qword [0x140111020]
lea rdx, str.imgui_impl_dx9
mov qword [rcx + 0xe0], rdx
mov rcx, qword [0x140110ee0]
mov qword [0x140110fe0], rax
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, str.VALORANT
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_FindWindowA]
cmp rbx, rax
je 0x14004440a
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, str.VALORANT
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_FindWindowA]
cmp rbx, rax
jne 0x1400443e2
mov qword [rsp + 0x28], rdi
lea r8, [0x14003f930]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
lea r8, [0x14003d060]
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140043950
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.140043cd0