Function at 0x140002a10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x14007b180]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002c36
movabs r12, 0x7ffffffffffffffe
lea r15, str.GTAProcess
mov r13d, 0xa
xorps xmm0, xmm0
lea rax, [rsp + 0x6c]
movups xmmword [rsp + 0x20], xmm0
movabs rdx, 0x7fffffffffffffff
xor esi, esi
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140002aa4
cmp rdi, r12
ja 0x140002cd4
cmp rdi, 7
ja 0x140002afa
lea rbx, [rdi + rdi]
mov qword [rsp + 0x30], rdi
mov r8, rbx
mov qword [rsp + 0x38], 7
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x20], si
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x20]
jmp 0x140002b91
mov rbp, rdi
or rbp, 7
cmp rbp, r12
jbe 0x140002b0f
mov rbp, r12
lea rcx, [rdx + rdx]
jmp 0x140002b2f
cmp rbp, r13
cmovb rbp, r13
lea rcx, [rbp + 1]
cmp rcx, rdx
ja 0x140002cce
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002b5b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002cce
mov rcx, rax
call fcn.140059158
test rax, rax
je 0x140002cb8
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002b68
test rcx, rcx
je 0x140002b68
call fcn.140059158
mov rsi, rax
lea rbx, [rdi + rdi]
mov qword [rsp + 0x20], rsi
mov r8, rbx
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x6c]
mov qword [rsp + 0x38], rbp
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rbx + rsi], ax
cmp rbp, 7
lea r9, [rsp + 0x20]
cmova r9, rsi
cmp rdi, r13
jb 0x140002bd4
lea r10, [rdi - 9]
mov rbx, r9
lea r10, [r9 + r10*2]
nop
mov rax, r10
sub rax, rbx
sar rax, 1
je 0x140002bd4
nop dword [rax + rax]
cmp word [rbx], 0x47
je 0x140002c72
add rbx, 2
sub rax, 1
jne 0x140002bc0
mov rbx, 0xffffffffffffffff
cmp rbp, 7
jbe 0x140002c16
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140002c0e
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002cb8
mov rcx, rsi
call fcn.1400593d4
mov rcx, r14
cmp rbx, 0xffffffffffffffff
jne 0x140002cbf
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002a84
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400590d0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test rbx, rbx
je 0x140002bd4
mov r8, rbx
mov rdx, r13
sub r8, r15
mov rcx, r15
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140002caf
add rcx, 2
sub rdx, 1
jne 0x140002c90
sub rbx, r9
sar rbx, 1
jmp 0x140002bdb
add rbx, 2
jmp 0x140002bb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x48]
jmp 0x140002c41
call fcn.140001eb0
int3
call fcn.140001f50
int3