Function at 0x140065390
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14009c040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rcx
xor r12d, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
jne 0x14006540b
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r12b
jmp 0x140065b57
mov ecx, 0xc
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14009cb10], eax
jle 0x1400657e5
lea rcx, [0x14009cb10]
call fcn.1400665f0
cmp dword [0x14009cb10], 0xffffffff
jne 0x1400657e5
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x14009cb18], xmm0
mov qword [0x14009cb28], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 0xf
lea ecx, [rax + 0x20]
call fcn.140066b6c
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0x15
mov qword [rsp + 0x68], 0x1f
movups xmm0, xmmword [str.FiveM_GameProcess.exe]
movups xmmword [rax], xmm0
mov ecx, dword [0x14008d840]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x14008d844]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
mov ecx, 0x20
call fcn.140066b6c
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], 0x1a
mov qword [rbp - 0x78], 0x1f
movups xmm0, xmmword [str.FiveM_b2612_GTAProcess.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14008d7c0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14008d7c8]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 0xf
mov ecx, 0x20
call fcn.140066b6c
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], 0x1a
mov qword [rbp - 0x58], 0x1f
movups xmm0, xmmword [str.FiveM_b2545_GTAProcess.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14008d800]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14008d808]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 0xf
mov ecx, 0x20
call fcn.140066b6c
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x1a
mov qword [rbp - 0x38], 0x1f
movups xmm0, xmmword [str.FiveM_b2802_GTAProcess.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14008d780]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14008d788]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 0xf
mov ecx, 0x20
call fcn.140066b6c
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], 0x14
mov qword [rbp - 0x18], 0x1f
movups xmm0, xmmword [str.FiveM_GTAProcess.exe]
movups xmmword [rax], xmm0
mov ecx, dword [0x14008d858]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r12
mov qword [rbp + 8], 0xf
mov ecx, 0x20
call fcn.140066b6c
mov rdx, rax
mov qword [rbp - 0x10], rax
mov qword [rbp], 0x1b
mov qword [rbp + 8], 0x1f
movups xmm0, xmmword [str.FiveM_b2612_GameProcess.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14008d7e0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14008d7e8]
mov word [rax + 0x18], cx
movzx eax, byte [0x14008d7ea]
mov byte [rdx + 0x1a], al
mov byte [rdx + 0x1b], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 0xf
mov ecx, 0x20
call fcn.140066b6c
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x20], 0x1b
mov qword [rbp + 0x28], 0x1f
movups xmm0, xmmword [str.FiveM_b2545_GameProcess.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14008d820]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14008d828]
mov word [rax + 0x18], cx
movzx ecx, byte [0x14008d82a]
mov byte [rax + 0x1a], cl
mov byte [rax + 0x1b], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], 0xf
mov ecx, 0x20
call fcn.140066b6c
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x40], 0x1b
mov qword [rbp + 0x48], 0x1f
movups xmm0, xmmword [str.FiveM_b2802_GameProcess.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14008d7a0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x14008d7a8]
mov word [rax + 0x18], cx
movzx ecx, byte [0x14008d7aa]
mov byte [rax + 0x1a], cl
mov byte [rax + 0x1b], 0
xorps xmm0, xmm0
movdqu xmmword [0x14009cb18], xmm0
mov qword [0x14009cb28], r12
mov ecx, 0x100
call fcn.140066b6c
mov rbx, rax
mov qword [0x14009cb18], rax
mov qword [0x14009cb20], rax
lea rcx, [rax + 0x100]
mov qword [0x14009cb28], rcx
lea rcx, [0x14009cb18]
mov qword [rsp + 0x30], rcx
lea rdi, [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rcx
nop
mov rdx, rdi
mov rcx, rbx
call fcn.140059750
add rbx, 0x20
mov qword [rbp + 0x58], rbx
add rdi, 0x20
lea rax, [rbp + 0x50]
cmp rdi, rax
jne 0x140065780
mov rdx, rbx
mov rcx, rbx
call fcn.140065d60
mov qword [0x14009cb20], rbx
lea r9, [fcn.1400595d0]
mov edx, 0x20
lea r8d, [rdx - 0x18]
lea rcx, [rsp + 0x50]
call fcn.1400667e4
lea rcx, [0x140068440]
call fcn.140066adc
nop
lea rcx, [0x14009cb10]
call fcn.140066584
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp + 0x94]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x90], 0x130
lea rdx, [rbp + 0x90]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rbp + 0x90]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140065b39
mov rbx, 0xffffffffffffffff
lea r15, str.FiveM
movabs rsi, 0x7fffffffffffffff
movabs r13, 0x8000000000000000
nop dword [rax]
lea rcx, [rbp + 0xbc]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140065860
cmp rax, 5
jb 0x140065b1c
lea rdi, [rbp + 0xb8]
add rdi, rax
lea rax, [rbp + 0xbc]
mov r8, rdi
sub r8, rax
mov edx, 0x46
lea rcx, [rbp + 0xbc]
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140065b1c
nop dword [rax]
nop dword [rax + rax]
mov rcx, r12
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r15 + rcx - 1]
jne 0x1400658d9
cmp rcx, 5
jne 0x1400658c0
mov ecx, r12d
jmp 0x1400658de
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140065902
inc rax
mov r8, rdi
sub r8, rax
mov edx, 0x46
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400658b0
jmp 0x140065b1c
lea rcx, [rbp + 0xbc]
sub rax, rcx
cmp rax, 0xffffffffffffffff
je 0x140065b1c
mov r15, qword [0x14009cb18]
mov rax, qword [0x14009cb20]
mov qword [rsp + 0x30], rax
cmp r15, rax
je 0x140065b15
mov rdx, r15
lea rcx, [rbp + 0x70]
call fcn.140059750
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
lea rax, [rbp + 0xbc]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140065950
cmp rbx, rsi
ja 0x140065d3c
cmp rbx, 0xf
ja 0x14006599d
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], 0xf
mov r8, rbx
lea rdx, [rbp + 0xbc]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0x50], 0
mov rdi, qword [rbp + 0x68]
mov rbx, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x50]
jmp 0x140065a2c
mov rdi, rbx
or rdi, 0xf
cmp rdi, rsi
jbe 0x1400659b2
mov rdi, rsi
lea rax, [r13 + 0x27]
jmp 0x1400659d9
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400659f8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140065d42
mov rcx, rax
call fcn.140066b6c
test rax, rax
je 0x140065ced
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140065a0a
test rcx, rcx
je 0x140065a07
call fcn.140066b6c
mov rsi, rax
jmp 0x140065a0a
mov rsi, r12
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rdi
mov r8, rbx
lea rdx, [rbp + 0xbc]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
lea rdx, [rbp + 0x70]
mov r14, qword [rbp + 0x70]
mov r13, qword [rbp + 0x88]
cmp r13, 0xf
cmova rdx, r14
lea rcx, [rbp + 0x50]
cmp rdi, 0xf
seta byte [rsp + 0x20]
cmova rcx, rsi
cmp rbx, qword [rbp + 0x80]
jne 0x140065a6d
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140065a6d
mov bl, 1
jmp 0x140065a6f
xor bl, bl
cmp byte [rsp + 0x20], 0
je 0x140065aa7
lea rdx, [rdi + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140065a9f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065ced
mov rcx, rsi
call fcn.140066af4
test bl, bl
jne 0x140065b8e
cmp r13, 0xf
jbe 0x140065ae6
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140065ade
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140065d25
mov rcx, r14
call fcn.140066af4
add r15, 0x20
cmp r15, qword [rsp + 0x30]
movabs rsi, 0x7fffffffffffffff
mov rbx, 0xffffffffffffffff
movabs r13, 0x8000000000000000
jne 0x140065932
mov r14, qword [rsp + 0x38]
lea r15, str.FiveM
lea rdx, [rbp + 0x90]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140065850
mov rsi, qword [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rax, rsi
mov dword [rsi + 0x20], r12d
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400664b0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
lea rax, [rbp + 0xbc]
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140065bb0
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x140065d3c
mov qword [rbp + 0x68], 0xf
cmp rdi, 0xf
ja 0x140065c03
mov qword [rbp + 0x60], rdi
mov r8, rdi
lea rdx, [rbp + 0xbc]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi + 0x50], 0
mov rbx, qword [rbp + 0x68]
mov r12, qword [rbp + 0x50]
jmp 0x140065c99
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x140065c3d
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140066b6c
test rax, rax
je 0x140065ced
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x140065c76
mov rbx, rax
cmp rax, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140065c69
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140065d42
jmp 0x140065c1d
test rcx, rcx
je 0x140065c76
call fcn.140066b6c
mov r12, rax
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x68], rbx
mov r8, rdi
lea rdx, [rbp + 0xbc]
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [r12 + rdi], 0
lea rdx, [rbp + 0x50]
cmp rbx, 0xf
cmova rdx, r12
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call fcn.140059630
mov eax, dword [rbp + 0x98]
mov dword [rbx + 0x20], eax
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x140065cfa
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065cf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140065cf4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066af4
nop
cmp r13, 0xf
jbe 0x140065d34
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140065d2c
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140065d2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140066af4
mov rax, rbx
jmp 0x140065b5e
call fcn.140042ea0
int3
call fcn.140042e00
int3