Function at 0x14002d870
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r12
push r13
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [0x1402e9060]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r15, rdx
lea rcx, [rsp + 0x44]
xor edx, edx
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x40], 0x238
xor r13b, r13b
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14002d8d3
xor al, al
jmp 0x14002db50
mov qword [rsp + 0x2c0], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x2d0], rsi
mov rcx, r12
mov qword [rsp + 0x2d8], rdi
mov qword [rsp + 0x290], r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14002db23
mov r9d, 0xa
xorps xmm0, xmm0
movabs r10, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
xor edx, edx
movups xmmword [rsp + 0x20], xmm0
lea r8, [r9 - 0xb]
mov rax, r8
inc rax
cmp byte [r15 + rax], r13b
jne 0x14002d934
lea r14, [r15 + rax]
mov qword [rsp + 0x30], rdx
cmp r15, r14
jne 0x14002d96a
mov r10d, 7
mov word [rsp + 0x20], dx
mov r9, qword [rsp + 0x20]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x38], r10
jmp 0x14002da70
mov ebx, 7
mov rdi, r15
mov qword [rsp + 0x38], rbx
mov rsi, rdx
cmp rax, rcx
ja 0x14002db74
cmp rax, 8
jb 0x14002da12
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x14002d99e
mov rbx, rcx
jmp 0x14002d9a6
cmp rbx, 0xa
cmovb rbx, r9
mov rcx, rbx
add rcx, 1
cmovb rcx, r8
cmp rcx, r10
ja 0x14002db6e
add rcx, rcx
cmp rcx, 0x1000
jb 0x14002d9f7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002db6e
mov rcx, rax
call fcn.1400c84b0
mov rcx, rax
test rax, rax
je 0x14002db14
add rax, 0x27
and rax, 0xffffffffffffffe0
xor edx, edx
mov qword [rax - 8], rcx
jmp 0x14002da08
test rcx, rcx
je 0x14002da05
call fcn.1400c84b0
xor edx, edx
jmp 0x14002da08
mov rax, rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rbx
movsx eax, byte [rdi]
lea rcx, [rsp + 0x20]
cmp rbx, 8
cmovae rcx, qword [rsp + 0x20]
inc rdi
mov word [rcx + rsi*2], ax
mov rsi, qword [rsp + 0x30]
inc rsi
mov qword [rsp + 0x30], rsi
cmp rdi, r14
je 0x14002da44
mov rbx, qword [rsp + 0x38]
jmp 0x14002da12
cmp qword [rsp + 0x38], 8
lea rax, [rsp + 0x20]
lea r8, [rsp + 0x20]
cmovae rax, qword [rsp + 0x20]
mov word [rax + rsi*2], dx
mov r10, qword [rsp + 0x38]
mov r9, qword [rsp + 0x20]
cmp r10, 8
cmovae r8, r9
lea rax, [rsp + 0x6c]
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14002da94
add rax, 2
test ecx, ecx
jne 0x14002da80
test edx, edx
je 0x14002dae2
cmp r10, 8
jb 0x14002dacf
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14002dac7
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002db14
mov rcx, r9
call fcn.1400c8744
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14002d901
mov r13b, 1
cmp r10, 8
jb 0x14002db23
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14002db1b
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002db1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.1400c8744
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x2d8]
movzx eax, r13b
mov rsi, qword [rsp + 0x2d0]
mov rbx, qword [rsp + 0x2c0]
mov r14, qword [rsp + 0x290]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400c8490
add rsp, 0x298
pop r15
pop r13
pop r12
pop rbp
ret
call fcn.140004c70
int3
call fcn.140004d10
int3