Function at 0x140001380
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rdx
cmp ecx, 3
je 0x1400013e2
lea rdx, str.Usage:_Injector.exe__target_process_name___dll_path_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400017d0
mov rcx, rax
lea rdx, [0x1400019b0]
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 eax, 1
jmp 0x1400015ec
mov rdx, qword [rdx + 8]
lea rcx, [rsp + 0x48]
call fcn.140001690
nop
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x28]
call fcn.140001690
nop
mov qword [rsp + 0x20], 2
lea rcx, [rsp + 0x20]
call fcn.1400019f0
xor r15d, r15d
mov ebp, r15d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x48]
cmp rax, 0xffffffffffffffff
je 0x14000152b
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400014be
mov rbx, qword [rsp + 0x58]
nop dword [rax]
lea rcx, [rsp + 0x9c]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], bp
jne 0x140001470
lea r8, [rsp + 0x48]
cmp r14, 7
cmova r8, rsi
cmp rbx, rax
jne 0x1400014eb
mov rdx, rbx
lea rax, [rsp + 0x9c]
test rbx, rbx
je 0x1400014ba
lea rcx, [rsp + 0x9c]
sub r8, rcx
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x1400014eb
add rax, 2
sub rdx, 1
jne 0x1400014a6
mov ebp, dword [rsp + 0x78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x14000152b
lea rdx, [rsp + 0x28]
mov ecx, ebp
call fcn.1400011c0
test al, al
je 0x140001503
lea rdx, str.Success:_DLL_injected.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x140001511
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001460
jmp 0x1400014be
lea rdx, str.Error:_DLL_injection_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400017d0
lea rdx, [0x1400019b0]
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 ebx, r15d
jmp 0x140001553
lea rdx, str.Error:_Target_process_not_found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400017d0
mov rcx, rax
lea rdx, [0x1400019b0]
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 ebx, 1
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140001598
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001593
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001593
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001ccc
movdqa xmm0, xmmword [0x140003550]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r15w
cmp r14, 7
jbe 0x1400015ea
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400015e2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140001ccc
mov eax, ebx
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140001c70
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret