Function at 0x140001a60
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rsi
push r14
push r15
sub rsp, 0x2a8
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rsi, rcx
xor edx, edx
mov ecx, 2
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001ae1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str._Error__CreateToolhelp32Snapshot_failed.
call fcn.140004990
lea rdx, [0x140004b70]
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]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
jmp 0x140001c16
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140001b29
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str._Error__Process32First_failed.
call fcn.140004990
lea rdx, [0x140004b70]
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 rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001ac7
mov qword [rsp + 0x2e0], rbx
mov qword [rsp + 0x2a0], rdi
nop dword [rax]
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.1400012b0
mov rbx, qword [r14]
mov rdi, qword [r14 + 8]
cmp rbx, rdi
je 0x140001b95
nop dword [rax + rax]
cmp qword [rsp + 0x48], 0xf
lea rdx, [rsp + 0x30]
mov rcx, rbx
cmova rdx, qword [rsp + 0x30]
cmp qword [rbx + 0x18], 0xf
jbe 0x140001b7e
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001c37
add rbx, 0x20
cmp rbx, rdi
jne 0x140001b60
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140001bd2
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bcd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c53
call fcn.1400054f4
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001b40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
mov rbx, qword [rsp + 0x2e0]
mov rdi, qword [rsp + 0x2a0]
mov rax, rsi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400053c0
add rsp, 0x2a8
pop r15
pop r14
pop rsi
pop rbp
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140001c06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3