Function at 0x140001620
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
lea rdx, str.Microsoft.Identity.Health.AgentV15.Service.exe
lea rcx, [rsp + 0x40]
call fcn.140002210
nop
lea rdx, str.MsMpEng.exe
lea rcx, [rsp + 0x60]
call fcn.140002210
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
xor ebx, ebx
mov qword [rbp - 0x70], rbx
lea ecx, [rbx + 0x40]
call fcn.140002900
mov r8, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
add rax, 0x40
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x80]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400025e0
mov qword [rbp - 0x78], rax
lea r9, [0x1400021a0]
lea edx, [rbx + 0x20]
lea r8d, [rbx + 2]
lea rcx, [rsp + 0x40]
call fcn.14000293c
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000173e
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400017b3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140001789
mov rdx, qword [rbp - 0x78]
call fcn.140002350
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001784
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018e8
call fcn.140002a0c
mov rax, rsi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400028e0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rdx, [rbp - 0x14]
lea rcx, [rbp - 0x68]
call fcn.140002210
nop
mov r9, qword [rbp - 0x80]
mov rdi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x68]
mov r10, qword [rbp - 0x78]
cmp r9, r10
je 0x14000183d
mov r8, r9
cmp qword [r9 + 0x18], 7
jbe 0x1400017e3
mov r8, qword [r9]
lea rax, [rbp - 0x68]
cmp rdi, 7
cmova rax, rbx
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140001806
add rax, 2
test ecx, ecx
jne 0x1400017f2
test edx, edx
je 0x140001815
add r9, 0x20
cmp r9, r10
jne 0x1400017d6
jmp 0x14000183d
mov eax, dword [rbp - 0x38]
mov dword [rsp + 0x28], eax
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14000182f
mov dword [rdx], eax
add qword [rsi + 8], 4
jmp 0x14000183d
lea r8, [rsp + 0x28]
mov rcx, rsi
call fcn.140002450
nop
cmp rdi, 7
jbe 0x140001874
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000186c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018e2
mov rcx, rbx
call fcn.140002a0c
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400017b3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140001789
mov rdx, qword [rbp - 0x78]
call fcn.140002350
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001784
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018e8
jmp 0x140001784
call fcn.14000a8a8
nop
call fcn.14000a8a8
int3