Function at 0x140001e50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140002055
mov dword [rsp + 0x50], 0x130
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000204c
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, 0xffffffff
lea r8, [rsp + 0x7c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
test eax, eax
jle 0x140001fb5
lea rdi, [rbx - 1]
mov r8, qword [rsp + 0x40]
cmp rdi, r8
ja 0x140001f31
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rdi
mov word [rcx + rdi*2], r15w
jmp 0x140001f86
mov rdx, rdi
sub rdx, r8
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x140001f79
mov qword [rsp + 0x40], rdi
lea r9, [rsp + 0x30]
cmp rcx, 7
cmova r9, qword [rsp + 0x30]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140001f6e
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r15w
jmp 0x140001f86
mov r9, rdx
lea rcx, [rsp + 0x30]
call fcn.140005ff0
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rax, qword [rsp + 0x30]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rsp + 0x7c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rdi, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140001fc2
mov rdi, qword [rsi]
lea rax, [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x48]
cmp r9, 7
cmova rax, r8
sub rdi, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x140001ff3
add rax, 2
test ecx, ecx
jne 0x140001fe0
test edx, edx
je 0x140002083
cmp r9, 7
jbe 0x140002036
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x14000202e
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020c9
mov rcx, r8
call fcn.1400069c4
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001ec0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140006720
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400020d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400069c4
mov eax, edi
jmp 0x140002057