Function at 0x140001ac0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rdx
xor r13d, r13d
mov r12d, r13d
mov dword [rsp + 0x40], r13d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x140001e56
mov dword [rbp - 0x70], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x6c]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001e79
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
lea rax, [rbp - 0x44]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140001b73
lea rcx, [rsp + 0x68]
cmp rdx, 7
ja 0x140001ba5
mov qword [rsp + 0x78], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
lea rdx, [rbp - 0x44]
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + rdi + 0x68], r13w
jmp 0x140001baf
lea r9, [rbp - 0x44]
call fcn.1400022d0
nop
mov qword [rsp + 0x20], r13
mov r8, r13
mov qword [rsp + 0x30], r13
mov r11d, 7
mov qword [rsp + 0x38], r11
mov word [rsp + 0x20], r13w
or r12d, 1
mov dword [rsp + 0x40], r12d
lea rcx, [rsp + 0x68]
mov r10, qword [rbp - 0x80]
cmp r10, 8
setae dl
mov r9, qword [rsp + 0x68]
cmovae rcx, r9
mov rax, qword [rsp + 0x78]
lea r14, [rcx + rax*2]
lea rsi, [rsp + 0x68]
test dl, dl
cmovne rsi, r9
cmp rsi, r14
je 0x140001cc0
nop dword [rax]
movzx edi, word [rsi]
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
call fcn.140002020
movzx edx, di
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
movzx edi, ax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140001c5f
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x140001c5f
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x140001c92
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 8
cmovae rax, qword [rsp + 0x20]
mov word [rax + rcx*2], di
mov word [rax + rcx*2 + 2], r13w
jmp 0x140001ca0
movzx r9d, di
lea rcx, [rsp + 0x20]
call fcn.140002130
add rsi, 2
cmp rsi, r14
jne 0x140001c10
mov r10, qword [rbp - 0x80]
mov r9, qword [rsp + 0x68]
mov r11, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
cmp r10, 8
jb 0x140001d05
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140001cf3
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001dc9
mov rcx, r9
call fcn.14000567c
mov r11, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x78], xmm1
and r12d, 0xfffffffe
mov rax, r15
cmp qword [r15 + 0x18], 8
jb 0x140001d2a
mov rax, qword [r15]
lea r9, [rsp + 0x68]
cmp r11, 8
setae dil
mov r10, qword [rsp + 0x20]
cmovae r9, r10
cmp r8, qword [r15 + 0x10]
jne 0x140001d7d
test r8, r8
je 0x140001dd0
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x140001d7d
sub r9, rax
cmp cx, dx
ja 0x140001d7d
cmp r8, 1
je 0x140001dd0
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jae 0x140001d61
test dil, dil
je 0x140001db7
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140001daf
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e4f
mov rcx, r10
call fcn.14000567c
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140001b48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test dil, dil
je 0x140001e0c
mov rax, qword [rbp - 0x80]
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e4f
call fcn.14000567c
mov edi, dword [rbp - 0x68]
test rbx, rbx
je 0x140001e1d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140005620
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.Could_not_get_process_snapshot.
lea rcx, [rsp + 0x48]
call fcn.140001210
lea rdx, [0x140009150]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.Could_not_find_process.
lea rcx, [rsp + 0x48]
call fcn.140001210
lea rdx, [0x140009150]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3