Function at 0x1400027e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2f0
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rsp + 0x2e8], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.140003e40
nop
mov r14d, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
mov dword [rsp + 0x90], 0x238
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400028f4
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14000289f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002899
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b8c
call fcn.140005dfc
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x1400028de
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400028d9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002c18
mov rcx, r8
call fcn.140005dfc
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
xor eax, eax
jmp 0x140002beb
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsp + 0x60], rax
mov esi, 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x50], ax
mov r13, qword [rsp + 0x80]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x50]
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xbc]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140002951
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x28]
call fcn.140004990
cmp rsi, 8
jb 0x1400029ac
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400029a4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400029a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140005dfc
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rax, r12
lea r8, [rsp + 0x50]
movq rdi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rsi, xmm0
cmp rsi, 8
cmovae r8, rdi
movq rdx, xmm1
cmp rdx, r13
jne 0x140002a6b
test rdx, rdx
je 0x140002a18
sub r8, rax
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x140002a6b
add rax, 2
sub rdx, 1
jne 0x140002a04
mov r14d, dword [rsp + 0x98]
lea rdx, str.Got_pid__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400044e0
mov rdx, rbx
mov rcx, rax
call fcn.1400046b0
lea rdx, str._ID:
mov rcx, rax
call fcn.1400044e0
mov edx, r14d
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___unsigned_long_int____ptr64]
lea rdx, [0x140004780]
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]
jmp 0x140002a89
lea rdx, [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
mov eax, 0
jne 0x140002930
test r14d, r14d
jne 0x140002ad2
lea rdx, str.Fail_to_find_process
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400044e0
mov rdx, rbx
mov rcx, rax
call fcn.1400046b0
lea rdx, str._nSo_long...
mov rcx, rax
call fcn.1400044e0
lea rdx, [0x140004780]
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]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov r8d, r14d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
lea rdx, str.Handle:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400044e0
mov rdx, r14
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___void_const____ptr64____ptr64]
lea rdx, [0x140004780]
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]
nop
cmp rsi, 8
jb 0x140002b54
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002b4b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140005dfc
nop
mov rax, qword [rsp + 0x88]
cmp rax, 8
jb 0x140002b9c
lea rdx, [rax*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x140002b93
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.140005dfc
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140002bd7
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140002bd2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002c18
mov rcx, r8
call fcn.140005dfc
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rax, r14
mov rcx, qword [rsp + 0x2e8]
xor rcx, rsp
call fcn.140005da0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3