Function at 0x14002f8d0
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, 0x390
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x130
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14002fb5c
movabs r13, 0x7ffffffffffffffe
lea r12, str.GTAProcess
xor r15d, r15d
lea rax, [rsp + 0x180]
mov dword [rsp + 0x28], 0x104
mov ebx, 0xa
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x7c]
xor edx, edx
xor ecx, ecx
movabs rsi, 0x7fffffffffffffff
lea r9d, [rbx - 0xb]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
lea rax, [rsp + 0x180]
movups xmmword [rsp + 0x30], xmm0
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x14002f980
cmp rdi, r13
ja 0x14002fba1
cmp rdi, 7
ja 0x14002f9da
lea rbx, [rdi + rdi]
mov qword [rsp + 0x40], rdi
mov r8, rbx
mov qword [rsp + 0x48], 7
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x30], r15w
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
jmp 0x14002fa79
mov rbp, rdi
or rbp, 7
cmp rbp, r13
jbe 0x14002f9ef
mov rbp, r13
lea rcx, [rsi + rsi]
jmp 0x14002fa10
cmp rbp, 0xa
cmovb rbp, rbx
lea rcx, [rbp + 1]
cmp rcx, rsi
ja 0x14002fb9b
add rcx, rcx
cmp rcx, 0x1000
jb 0x14002fa3c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002fb9b
mov rcx, rax
call fcn.140092448
test rax, rax
je 0x14002fb88
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14002fa4e
test rcx, rcx
je 0x14002fa4b
call fcn.140092448
mov rsi, rax
jmp 0x14002fa4e
mov rsi, r15
lea rbx, [rdi + rdi]
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x180]
mov qword [rsp + 0x48], rbp
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r15w
cmp rbp, 7
lea r10, [rsp + 0x30]
cmova r10, rsi
cmp rdi, 0xa
jb 0x14002fb02
movzx r9d, word [str.GTAProcess]
lea r11, [rdi - 9]
lea r11, [r10 + r11*2]
mov rbx, r10
nop
mov rax, r11
mov rcx, r15
sub rax, rbx
sar rax, 1
je 0x14002faca
cmp word [rbx], r9w
je 0x14002fac7
cmp rax, 1
je 0x14002faca
add rbx, 2
dec rax
cmp word [rbx], r9w
jne 0x14002fab4
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x14002fb02
mov r8, rbx
mov edx, 0xa
sub r8, r12
mov rcx, r12
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14002fafc
add rcx, 2
sub rdx, 1
jne 0x14002fae0
sub rbx, r10
sar rbx, 1
jmp 0x14002fb09
add rbx, 2
jmp 0x14002faa0
mov rbx, 0xffffffffffffffff
cmp rbp, 7
jbe 0x14002fb40
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14002fb38
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fb88
mov rcx, rsi
call fcn.1400922b0
mov rcx, r14
cmp rbx, 0xffffffffffffffff
jne 0x14002fb8f
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14002f92f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r11, [rsp + 0x390]
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
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 + 0x58]
jmp 0x14002fb67
call fcn.14002b920
int3
call fcn.14002f000
int3