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

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
xor edi, edi
mov dword [rbp - 9], 0xebefe3f7
mov ecx, edi
mov dword [rbp - 5], 0xfce9e7f7
mov dword [rbp - 1], 0x1008a89
nop dword [rax + rax]
lea eax, [rcx - 0x5f]
xor byte [rbp + rcx - 9], al
inc rcx
cmp rcx, 0xa
jb 0x1400544c0
lea rdx, [rbp - 9]
mov byte [rbp + 2], dil
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
xorps xmm0, xmm0
mov qword [rbp + 7], 0x50
mov qword [0x140139418], rax
lea rcx, [rbp + 7]
mov rax, qword [0x140139538]
xorps xmm1, xmm1
mov qword [rbp + 0x47], rax
lea rax, [0x140054350]
mov qword [rbp + 0xf], rax
movdqa xmmword [rbp + 0x17], xmm0
movdqa xmmword [rbp + 0x27], xmm1
movdqa xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x4f], rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rcx, qword [0x140139418]
test rcx, rcx
je 0x140054927
lea rdx, [0x140139408]
mov qword [rsp + 0xd8], rbx
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140139418]
lea rdx, [rbp + 0x67]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x67]
mov r9d, 0x90000000
movd xmm1, dword [0x140139414]
movd xmm2, dword [0x140139410]
mov rdx, qword [0x140139538]
mov qword [rsp + 0x58], rdi
mov r8, rdx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
cvtdq2ps xmm1, xmm1
mov dword [0x140139408], eax
mov eax, dword [rbp + 0x6b]
mov dword [0x14013940c], eax
cvtdq2ps xmm2, xmm2
movss dword [0x140139384], xmm1
subss xmm1, dword [0x140129f0c]
movss dword [0x140139380], xmm2
subss xmm2, dword [0x140129f0c]
cvttss2si ecx, xmm1
cvttss2si eax, xmm2
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
mov qword [0x140139a28], rax
lea rdx, [0x1400b8a38]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140139a28]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [0x140139a28]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140139a28]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rdx, [0x1401393d0]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
js 0x140054847
cvttss2si rax, dword [0x140139380]
mov rcx, qword [0x1401393d0]
lea rdx, [0x140139a30]
mov r9, qword [0x140139a28]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140139390]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [0x14013939c], rdi
mov qword [0x1401393a8], 1
mov qword [0x1401393c4], rdi
mov dword [0x1401393cc], edi
lea r8d, [rdx + 1]
mov dword [0x140139398], 0x15
mov dword [0x140139390], eax
cvttss2si rax, dword [0x140139384]
mov dword [0x1401393a4], edi
mov dword [0x1401393c0], 0x50
mov dword [0x1401393bc], 1
mov qword [0x1401393b0], r9
mov dword [0x1401393b8], 1
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
mov dword [0x140139394], eax
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.1400213d0
mov rbx, qword [0x140139a28]
lea rcx, [0x1401399d0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140054807
lea rcx, [0x1401399c8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140054807
mov rax, qword [0x140139360]
lea rcx, str.imgui_impl_win32
mov qword [0x1401399c0], rbx
or dword [rax + 0xc], 6
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x108], rbx
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], Ordinal_41
mov dword [rax + 0x44], Ordinal_41
mov dword [rax + 0x48], Ordinal_41
mov dword [rax + 0x4c], Ordinal_46
mov dword [rax + 0x50], reloc.WLDAP32.dll_Ordinal_33
mov dword [rax + 0x54], Ordinal_35
mov dword [rax + 0x58], Ordinal_41
mov dword [rax + 0x5c], reloc.WLDAP32.dll_Ordinal_35
mov dword [rax + 0x60], reloc.WLDAP32.dll_Ordinal_45
mov dword [rax + 0x64], reloc.WLDAP32.dll_Ordinal_46
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rax + 0x70], reloc.WS2_32.dll_listen
mov dword [rax + 0x74], reloc.WLDAP32.dll_Ordinal_27
mov dword [rax + 0x78], 0x41
mov dword [rax + 0x7c], 0x43
mov dword [rax + 0x80], 0x56
mov dword [rax + 0x84], 0x58
mov dword [rax + 0x88], 0x59
mov dword [rax + 0x8c], 0x5a
jmp 0x14005480e
mov rax, qword [0x140139360]
cmp byte [reloc.WS2_32.dll_accept], dil
mov rcx, qword [0x140139a30]
je 0x140054825
mov byte [reloc.WS2_32.dll_accept], dil
lea rdx, str.imgui_impl_dx9
mov qword [0x1401399b0], rcx
mov qword [rax + 0xe0], rdx
mov rcx, qword [0x1401393d0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
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 0x14005488c
mov ecx, reloc.WLDAP32.dll_Ordinal_200
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 0x140054864
mov qword [rsp + 0x28], rdi
lea r8, [0x14004eaa0]
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, [0x14004bef0]
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140053fb0
mov rcx, qword [0x140139378]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140139a30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1401393d0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140139a28]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [0x140139538]
xor edx, edx
mov rbx, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
add rsp, 0xc0
pop rbp
jmp qword [sym.imp.USER32.dll_UnregisterClassW]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3