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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edi, edi
mov dword [rbp - 0x30], 0xe5e5e9f1
mov ecx, edi
mov dword [rbp - 0x2c], 0xfae3edf9
mov dword [rbp - 0x28], 0x100908f
nop dword [rax]
lea eax, [rcx - 0x59]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0xa
jb 0x14004eac0
lea rdx, [rbp - 0x30]
mov byte [rbp - 0x25], dil
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140173140], rax
call fcn.14004e800
lea rdx, [0x140173130]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
js 0x14004ece3
cvttss2si rax, dword [0x140173158]
mov rcx, qword [0x140173130]
lea rdx, [0x140173528]
mov r9, qword [0x140173520]
mov qword [rsp + 0x30], rdx
lea rdx, [0x1401730c0]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [0x1401730cc], rdi
mov qword [0x1401730d8], 1
mov qword [0x1401730f4], rdi
mov dword [0x1401730fc], edi
lea r8d, [rdx + 1]
mov dword [0x1401730c8], 0x15
mov dword [0x1401730c0], eax
cvttss2si rax, dword [0x140173138]
mov dword [0x1401730d4], edi
mov dword [0x1401730f0], 0x50
mov dword [0x1401730ec], 1
mov qword [0x1401730e0], r9
mov dword [0x1401730e8], 1
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
mov dword [0x1401730c4], eax
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140005fb0
mov rbx, qword [0x140173520]
lea rcx, [0x140173508]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14004ecb3
lea rcx, [0x140173500]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14004ecb3
mov rcx, qword [0x140173030]
lea rax, str.imgui_impl_win32
mov qword [0x1401734f8], 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], Ordinal_41
mov dword [rcx + 0x44], Ordinal_45
mov dword [rcx + 0x48], Ordinal_41
mov dword [rcx + 0x4c], Ordinal_45
mov dword [rcx + 0x50], reloc.WLDAP32.dll_Ordinal_33
mov dword [rcx + 0x54], Ordinal_35
mov dword [rcx + 0x58], Ordinal_41
mov dword [rcx + 0x5c], reloc.WLDAP32.dll_Ordinal_35
mov dword [rcx + 0x60], reloc.WLDAP32.dll_Ordinal_45
mov dword [rcx + 0x64], reloc.WLDAP32.dll_Ordinal_46
mov dword [rcx + 0x68], 8
mov dword [rcx + 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rcx + 0x70], reloc.WS2_32.dll_listen
mov dword [rcx + 0x74], reloc.WLDAP32.dll_Ordinal_27
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 0x14004ecba
mov rcx, qword [0x140173030]
mov rax, qword [0x140173528]
lea rdx, str.imgui_impl_dx9
mov qword [rcx + 0xe0], rdx
mov rcx, qword [0x140173130]
mov qword [0x1401734e8], rax
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx ecx, word [0x14013ca80]
mov rbx, rax
mov word [rbp - 0x28], cx
movzx ecx, byte [0x14013ca82]
lea rdx, [rbp - 0x30]
movsd xmm0, qword [str.cwwkuh]
xor cl, 0x3f
xor byte [rbp - 0x28], 0x3d
xor byte [rbp - 0x27], 0x3e
movsd qword [rbp - 0x30], xmm0
xor byte [rbp - 0x2f], 0x36
xor byte [rbp - 0x2e], 0x37
xor byte [rbp - 0x2d], 0x38
xor byte [rbp - 0x2c], 0x39
xor byte [rbp - 0x2b], 0x3a
xor byte [rbp - 0x2a], 0x3b
xor byte [rbp - 0x29], 0x3c
mov byte [rbp - 0x26], cl
xor ecx, ecx
mov byte [rbp - 0x30], 0x56
call qword [sym.imp.USER32.dll_FindWindowA]
cmp rbx, rax
je 0x14004ed6b
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
movzx eax, word [0x14013ca80]
mov word [rbp - 0x28], ax
jmp 0x14004ecf7
mov qword [rsp + 0x28], rdi
lea r8, [0x140043c00]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movdqa xmm0, xmmword [0x14013cee0]
lea rdx, [rbp - 0x20]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
xor ecx, ecx
call qword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.14004e2a0
call fcn.14004e620
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400bd930
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret