Function at 0x140002150
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r14, rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea r8d, [r12 + 7]
lea rdx, str.hl2.exe
lea rcx, [rsp + 0x28]
call fcn.140001890
nop
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov esi, r12d
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
setg r15b
test rax, rax
jg 0x140002209
test r15b, r15b
je 0x1400021ff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x50]
jmp 0x1400022b9
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x74]
call fcn.140046b10
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rdi, qword [rsp + 0x50]
test eax, eax
je 0x1400022aa
nop word [rax + rax]
cmp qword [rsp + 0x38], 0
je 0x140002266
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 7
cmova rdx, qword [rsp + 0x28]
lea rcx, [rbp - 0x64]
call fcn.14002d5b0
test eax, eax
jne 0x140002298
cmp rdi, rsi
je 0x14000227c
mov eax, dword [rsp + 0x78]
mov dword [rdi], eax
add rdi, 4
mov qword [rsp + 0x50], rdi
jmp 0x140002298
lea r8, [rsp + 0x78]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140002bc0
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002240
test r15b, r15b
je 0x1400022b9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x1400022fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002456
call fcn.14002675c
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r12w
mov rbx, qword [rsp + 0x48]
cmp rbx, rdi
jne 0x140002323
mov edi, 0xc0000225
jmp 0x1400023eb
mov edi, dword [rbx]
mov rcx, r14
call fcn.140002460
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
jne 0x14000233f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14000234f
mov r8d, edi
xor edx, edx
mov ecx, 0xd7b
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov rcx, qword [r14]
cmp rax, rcx
je 0x140002368
test rcx, rcx
jle 0x140002365
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14], r15
cmp dword [0x14006704c], 0xa
jb 0x1400023a4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
jne 0x1400023a4
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov rcx, qword [r14]
cmp rax, rcx
je 0x1400023a4
test rcx, rcx
jle 0x1400023a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14], r15
mov r15, qword [r14]
test r15, r15
jg 0x1400023dd
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp r15, rax
je 0x1400023dd
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp r15, rax
je 0x1400023dd
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
jmp 0x1400023eb
mov dword [r14 + 8], edi
mov rcx, r14
call fcn.14000af80
mov edi, eax
test rbx, rbx
je 0x140002423
sub rsi, rbx
and rsi, 0xfffffffffffffffc
mov rax, rbx
cmp rsi, 0x1000
jb 0x140002418
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002450
mov rdx, rsi
mov rcx, rbx
call fcn.14002675c
mov eax, edi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400264c0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14002d454
nop
call fcn.14002d454
nop
int3