Function at 0x14002c440
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400820c0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, rcx
xor edi, edi
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x2c]
call fcn.14005e8e0
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002c5db
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea r8d, [rdi + 6]
lea rdx, [0x14006e87c]
lea rcx, [rbp - 0x70]
call fcn.140010590
nop
call fcn.140009730
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140009620
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
lea rax, str.CreateToolhelp32Snapshot_failed___
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x24
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rsp + 0x58]
movsd qword [rbp - 0x80], xmm1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.140019af0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002c576
mov edi, esi
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002c576
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002c576
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14002c5b1
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c5ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c74b
call fcn.140038e94
xor al, al
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140038a00
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 0x30], 0x238
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14002c717
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea r8d, [rax + 6]
lea rdx, [0x14006e87c]
lea rcx, [rbp - 0x50]
call fcn.140010590
nop
call fcn.140009730
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140009620
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
lea rax, str.Process32First_failed___
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x1a
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rsp + 0x58]
movsd qword [rbp - 0x80], xmm1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.140019af0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002c6d2
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002c6d2
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002c6d2
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14002c709
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c704
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c74b
call fcn.140038e94
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002c5b1
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14002c751
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
call qword [rax + 0x10]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14002c717
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14002c5b3
call fcn.140042e3c
int3
call fcn.1400371dc
int3