Function at 0x140004270
Capabilities:
Allocate or change rwx memory
Enumerate processes
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x290
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x288], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x140004552
mov dword [rsp + 0x40], 0x238
mov dword [rsp + 0x280], 0
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140004549
mov r14d, 0xf
nop
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140004533
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
lea r8d, [rdx + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, rbx
test rax, rax
jne 0x14000433e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004533
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140004549
lea rdx, [rsp + 0x280]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140004533
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
cmp dword [rsp + 0x280], 0
jne 0x14000448c
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.___X64_Injectable_t
lea rcx, [0x14004a5a0]
call fcn.1400027a0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r14w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp qword [rdi + 0x28], 0
je 0x1400044d6
lea rdx, str.Process_ID:
lea rcx, [0x14004a5a0]
call fcn.1400027a0
mov rcx, rax
mov edx, dword [rsp + 0x48]
call fcn.140005330
mov rcx, rax
lea rdx, [0x140042a14]
call fcn.1400027a0
lea rdx, str.Process_Name:
lea rcx, [0x14004a740]
call fcn.140006ba0
mov rcx, rax
lea rdx, [rsp + 0x6c]
call fcn.140007050
mov rcx, rax
lea rdx, [0x140042a28]
call fcn.140006ba0
nop
mov edx, dword [rsp + 0x48]
mov rcx, rdi
call qword [rdi + 0x28]
nop
jmp 0x140004480
cmp byte [rdi + 0x30], 0
je 0x140004549
jmp 0x1400044d6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.___X32_Injectable__Need_32_bit_injector_t
lea rcx, [0x14004a5a0]
call fcn.1400027a0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r14w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.Process_ID:
lea rcx, [0x14004a5a0]
call fcn.1400027a0
mov rcx, rax
mov edx, dword [rsp + 0x48]
call fcn.140005330
mov rcx, rax
lea rdx, [0x140042a14]
call fcn.1400027a0
lea rdx, str.Process_Name:
lea rcx, [0x14004a740]
call fcn.140006ba0
mov rcx, rax
lea rdx, [rsp + 0x6c]
call fcn.140007050
mov rcx, rax
lea rdx, [0x140042a28]
call fcn.140006ba0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400042f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.14000e0e0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret