Function at 0x1400013d0
Capabilities:
Allocate or change rwx memory
Enumerate processes
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
sub rsp, 0x778
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x760], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x770], rdi
call section..text
mov r8d, dword [rsp + 0x30]
test r8d, r8d
je 0x14000169a
mov qword [rsp + 0x780], rbx
xor edx, edx
mov ecx, 0x1fffff
mov qword [rsp + 0x788], rbp
call qword [sym.imp.KERNEL32.dll_OpenThread]
xor edx, edx
mov dword [rsp + 0x50], 0x238
mov rbp, rax
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edi, edi
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001497
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000148e
nop dword [rax]
lea rdx, str.RobloxPlayerBeta.exe
lea rcx, [rsp + 0x7c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000148a
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001460
jmp 0x14000148e
mov edi, dword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140001656
test rbp, rbp
je 0x140001656
xor edx, edx
mov qword [rsp + 0x790], rsi
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8d, 0xc8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x14000161e
lea rax, [rsp + 0x40]
mov r9d, 0xc8
lea r8, [0x140005080]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000159b
cmp qword [rsp + 0x40], 0xc8
jne 0x140001586
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Wrote_payload_to_memory_successfully
call fcn.140001760
mov rcx, rax
lea rdx, [0x140001930]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rdx, [rsp + 0x290]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
lea rdx, [rsp + 0x290]
mov qword [rsp + 0x388], rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1400015d1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_write_the_full_payload_to_memory
call fcn.140001760
jmp 0x1400015c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_write_to_memory._Error:
mov ebx, eax
call fcn.140001760
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140001930]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rsi, qword [rsp + 0x790]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x788]
mov rbx, qword [rsp + 0x780]
test rdi, rdi
je 0x1400016bd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400016bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_allocate_memory_in_the_target_process._Error:
mov ebx, eax
call fcn.140001760
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001930]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400015e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_open_process_or_thread_handles._Error:
mov ebx, eax
call fcn.140001760
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001930]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
test rbp, rbp
je 0x1400015f7
jmp 0x1400015ee
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_obtain_target_thread_ID_or_enable_privileges.
call fcn.140001760
mov rcx, rax
lea rdx, [0x140001930]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x770]
test rcx, rcx
je 0x1400016d5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x760]
xor rcx, rsp
call fcn.140001be0
add rsp, 0x778
ret