Function at 0x1400013e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, rdx
cmp ecx, 3
je 0x140001435
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140001a20
mov rcx, rax
lea rdx, [0x140001bf0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov eax, 1
jmp 0x140001625
mov rdx, qword [rdx + 8]
lea rcx, [rsp + 0x40]
call fcn.1400016c0
nop
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
call fcn.1400016c0
nop
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
xor r14d, r14d
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x40]
cmp rax, 0xffffffffffffffff
je 0x14000155f
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001556
mov rdi, qword [rsp + 0x50]
nop
lea rcx, [rsp + 0x8c]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400014c0
lea r8, [rsp + 0x40]
cmp rbp, 7
cmova r8, rsi
cmp rdi, rax
jne 0x140001540
mov rdx, rdi
lea rcx, [rsp + 0x8c]
test rdi, rdi
je 0x140001514
lea rax, [rsp + 0x8c]
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140001540
add rcx, 2
sub rdx, 1
jne 0x140001500
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x68]
test ecx, ecx
je 0x14000155f
lea rdx, [rsp + 0x20]
call fcn.1400011c0
test al, al
jne 0x1400015c7
lea rdx, str.____DLL_injection_failed.
jmp 0x140001566
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400014b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.____Could_not_find_target_process.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001800
lea rdx, [0x1400019e0]
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, 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400015d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ebx, r14d
jmp 0x140001587
call fcn.140001d4c
movdqa xmm0, xmmword [0x140003670]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r14w
cmp rbp, 7
jbe 0x140001623
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000161b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000161b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140001d4c
mov eax, ebx
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140001cf0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret