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

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x170
mov rsi, rdx
mov dword [rsp + 0x40], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140043d42
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Erro_ao_criar_o_snapshot_do_processo_n
call fcn.140047ed0
xor al, al
mov rsi, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
mov qword [rsp + 0x180], rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140043d9f
nop
lea rdx, str.HD_Player.exe
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140043d8a
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140043d60
jmp 0x140043d9f
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
jne 0x140043dc7
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Processo_alvo_n_o_encontrado_n
call fcn.140047ed0
xor al, al
jmp 0x140043ef7
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140043e11
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Erro_ao_alocar_mem_ria_remota_n
call fcn.140047ed0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140043ef7
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp byte [rsi + r9], 0
jne 0x140043e20
inc r9
mov qword [rsp + 0x20], 0
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], 0
xor edx, edx
mov dword [rsp + 0x28], 0
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, rax
test rax, rax
jne 0x140043ead
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Erro_ao_criar_a_thread_remota_n
call fcn.140047ed0
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]
xor al, al
jmp 0x140043ef7
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
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, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.DLL_injetada_com_sucesso__n
call fcn.140047ed0
mov al, 1
mov rbx, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret