Function at 0x1400020a0
Capabilities:
Create thread
Enumerate processes on remote desktop session host
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xb0]
call fcn.140029c30
mov qword [rsp + 0x58], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 6
mov qword [rsp + 0x78], 7
movsd xmm0, qword [str.X4.exe]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x140037270]
mov dword [rsp + 0x68], eax
xor r15d, r15d
mov word [rsp + 0x6c], r15w
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], r15d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 0xfffffffe
lea rdx, [rsp + 0x44]
xor ecx, ecx
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesExW]
test eax, eax
jne 0x1400021a6
lea rdx, str.Could_not_enumerate_processes._n
lea rcx, [0x14003e410]
call fcn.140004960
mov rcx, rax
lea rdx, str.Error_code:
call fcn.140004960
mov rdx, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rax
call fcn.1400027a0
mov rcx, rax
lea rdx, [0x140037278]
call fcn.140004960
nop
jmp 0x14000223a
mov edi, r15d
mov r9d, r15d
mov r10d, dword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
test r10d, r10d
je 0x140002224
nop dword [rax + rax]
mov ebx, r9d
shl rbx, 6
add rbx, r11
mov rax, qword [rbx + 8]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], di
jne 0x1400021d5
cmp rcx, 6
jne 0x140002257
mov rdx, rcx
lea r8, [rsp + 0x60]
sub r8, rax
nop
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x140002257
add rax, 2
sub rdx, 1
jne 0x1400021f0
lea rdx, str.Found_X4_process__n
lea rcx, [0x14003e410]
call fcn.140004960
mov edi, dword [rbx + 4]
mov r11, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x40]
mov r8d, r10d
mov rdx, r11
mov ecx, 1
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemoryExW]
nop
test edi, edi
jne 0x140002265
lea rdx, str.____Could_not_locate_X4.exe_process_n
lea rcx, [0x14003e410]
call fcn.140004960
mov eax, 0xffffffff
jmp 0x140002594
inc r9d
cmp r9d, r10d
jb 0x1400021c0
jmp 0x140002224
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov r9d, 0x104
lea r8, [rsp + 0xb0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r14, rax
lea rdx, str.AddPlayerMoney
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
lea r8d, [rdx + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140002303
lea rdx, str.____Could_not_allocate_memory_in_remote_X4.exe
lea rcx, [0x14003e410]
call fcn.140004960
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rdi - 1]
jmp 0x140002594
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rsp + 0x58]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000238a
lea rdx, str.____Trouble_writing_memory_to_process___Error_code:
lea rcx, [0x14003e410]
call fcn.140004960
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rsi
call fcn.1400029a0
lea rdx, [0x140037278]
mov rcx, rax
call fcn.140004960
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x140002594
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rsp + 0x88]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rcx, [0x14003e410]
test eax, eax
jne 0x14000242c
lea rdx, str.____Could_not_read_memory_at
call fcn.140004960
mov rdx, rdi
mov rcx, rax
call fcn.140004960
lea rdx, str._in_remote_process._Error_code:
mov rcx, rax
call fcn.140004960
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rsi
call fcn.1400029a0
lea rdx, [0x140037278]
mov rcx, rax
call fcn.140004960
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x140002594
lea rdx, str.___Successfully_wrote_bytes_n
call fcn.140004960
lea rdx, str._.__Attempting_to_execute_AddPlayerMoney_n
lea rcx, [0x14003e410]
call fcn.140004960
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, rsi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov rsi, rax
test rax, rax
jne 0x1400024b5
lea rdx, str.____Could_not_create_remote_thread
lea rcx, [0x14003e410]
call fcn.140004960
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rsi - 1]
jmp 0x140002594
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, str.___Success__Cleaning_up_n
lea rcx, [0x14003e410]
call fcn.140004960
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rdx, str.Press_enter_to_exit
lea rcx, [0x14003e410]
call fcn.140004960
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rcx + rax + 0x40]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rcx, [rsp + 0x48]
call fcn.140004820
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
mov dl, 0xa
mov rcx, rax
call r8
movzx edi, al
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140002579
mov r8, qword [rcx]
call qword [r8 + 0x10]
test rax, rax
je 0x140002579
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
movzx edx, dil
mov rcx, rbx
call fcn.140005f70
mov rcx, rbx
call fcn.140004480
call fcn.1400025d0
xor eax, eax
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140008ce0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret