Function at 0x140001640
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2b0
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001697
lea rdx, str._Error__Unable_to_create_tool_help_snapshot_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002c70
jmp 0x140001866
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000185d
nop word [rax + rax]
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x280]
call fcn.140002400
nop
mov r10, qword [0x140008940]
mov r8, qword [0x140008938]
mov rsi, qword [rsp + 0x298]
mov rdi, qword [rsp + 0x280]
cmp r8, r10
je 0x140001810
mov r11, qword [rsp + 0x290]
nop dword [rax]
nop word [rax + rax]
lea rax, [rsp + 0x280]
cmp rsi, 7
cmova rax, rdi
mov r9, r8
cmp qword [r8 + 0x18], 7
jbe 0x14000172d
mov r9, qword [r8]
mov rdx, qword [r8 + 0x10]
cmp rdx, r11
jne 0x140001756
test rdx, rdx
je 0x14000175f
sub r9, rax
nop
movzx ecx, word [rax]
cmp word [r9 + rax], cx
jne 0x140001756
add rax, 2
sub rdx, 1
jne 0x140001740
jmp 0x14000175f
add r8, 0x20
cmp r8, r10
jne 0x140001710
cmp r8, r10
je 0x140001810
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140001480
mov rbx, rax
lea rdx, str.____Suspicious_Process_Detected:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002c70
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000179a
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.1400033b0
lea rdx, str.__PID:
mov rcx, rax
call fcn.140002c70
mov rcx, rax
mov edx, dword [rsp + 0x48]
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]
mov rcx, rax
lea rdx, [0x140005600]
call fcn.140002c70
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140001810
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000180a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000188f
call fcn.140003bcc
nop
cmp rsi, 7
jbe 0x140001847
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000183f
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001896
mov rcx, rdi
call fcn.140003bcc
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400016c0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140003860
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3