Function at 0x140039c50
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
xor r12d, r12d
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140039ccd
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140039ccd
lea rdx, [0x14007b0a8]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140039cc9
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140039ca0
jmp 0x140039ccd
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140039e01
lea rdx, [0x14007b0a8]
mov ecx, edi
call fcn.1400307b0
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
lea rdi, [rbx + 0x2140688]
mov dword [rbp + 0x1e8], 0x30
mov dword [rbp + 0x1ec], 0x2b4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, 8
call fcn.14003e0ac
mov r14, rax
mov qword [rsp + 0x48], rax
lea r15, [rax + 8]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp + 0x1e8]
mov qword [r14], rax
lea rax, [r14 + 8]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.14003e0ac
mov qword [rsp + 0x30], rax
lea rbx, [rax + 8]
mov qword [rsp + 0x40], rbx
mov r8d, 8
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call fcn.140030850
mov dword [rbp + 0x1e0], 0xe
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1e0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x140039e01
sub r15, r14
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x140039df9
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140039e5d
mov r14, rcx
mov rcx, r14
call fcn.14003ddf4
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140039e68
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140039e68
lea rdx, str.FiveM_b2944_GTAProcess.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140039e64
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140039e34
jmp 0x140039e68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140039f9c
lea rdx, str.FiveM_b2944_GTAProcess.exe
mov ecx, edi
call fcn.1400307b0
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
lea rdi, [rbx + 0x2053218]
mov dword [rbp + 0x1e8], 0x30
mov dword [rbp + 0x1ec], 0x2b4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, 8
call fcn.14003e0ac
mov r14, rax
mov qword [rsp + 0x48], rax
lea r15, [rax + 8]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp + 0x1e8]
mov qword [r14], rax
lea rax, [r14 + 8]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.14003e0ac
mov qword [rsp + 0x30], rax
lea rbx, [rax + 8]
mov qword [rsp + 0x40], rbx
mov r8d, 8
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call fcn.140030850
mov dword [rbp + 0x1e0], 0xe
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1e0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x140039f9c
sub r15, r14
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x140039f94
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140039ff9
mov r14, rcx
mov rcx, r14
call fcn.14003ddf4
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003a004
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003a004
nop
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14003a000
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140039fd0
jmp 0x14003a004
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14003a138
lea rdx, str.FiveM_GTAProcess.exe
mov ecx, edi
call fcn.1400307b0
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
lea rdi, [rbx + 0x212b208]
mov dword [rbp + 0x1e8], 0x30
mov dword [rbp + 0x1ec], 0x2b4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, 8
call fcn.14003e0ac
mov r14, rax
mov qword [rsp + 0x48], rax
lea r15, [rax + 8]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp + 0x1e8]
mov qword [r14], rax
lea rax, [r14 + 8]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.14003e0ac
mov qword [rsp + 0x30], rax
lea rbx, [rax + 8]
mov qword [rsp + 0x40], rbx
mov r8d, 8
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call fcn.140030850
mov dword [rbp + 0x1e0], 0xe
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1e0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x14003a138
sub r15, r14
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x14003a130
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14003a199
mov r14, rcx
mov rcx, r14
call fcn.14003ddf4
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003a1a4
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003a1a4
nop dword [rax + rax]
lea rdx, str.FiveM_b2372_GTAProcess.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14003a1a0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003a170
jmp 0x14003a1a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14003a2d8
lea rdx, str.FiveM_b2372_GTAProcess.exe
mov ecx, edi
call fcn.1400307b0
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
lea rdi, [rbx + 0x205c2c8]
mov dword [rbp + 0x1e8], 0x30
mov dword [rbp + 0x1ec], 0x2b4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, 8
call fcn.14003e0ac
mov r14, rax
mov qword [rsp + 0x48], rax
lea r15, [rax + 8]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp + 0x1e8]
mov qword [r14], rax
lea rax, [r14 + 8]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.14003e0ac
mov qword [rsp + 0x30], rax
lea rbx, [rax + 8]
mov qword [rsp + 0x40], rbx
mov r8d, 8
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call fcn.140030850
mov dword [rbp + 0x1e0], 0xe
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1e0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x14003a2d8
sub r15, r14
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x14003a2d0
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14003a339
mov r14, rcx
mov rcx, r14
call fcn.14003ddf4
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003a344
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003a344
nop dword [rax + rax]
lea rdx, str.FiveM_b2802_GTAProcess.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14003a340
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003a310
jmp 0x14003a344
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14003a478
lea rdx, str.FiveM_b2802_GTAProcess.exe
mov ecx, edi
call fcn.1400307b0
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
lea rdi, [rbx + 0x2024890]
mov dword [rbp + 0x1e8], 0x30
mov dword [rbp + 0x1ec], 0x2b4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, 8
call fcn.14003e0ac
mov r14, rax
mov qword [rsp + 0x48], rax
lea r15, [rax + 8]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp + 0x1e8]
mov qword [r14], rax
lea rax, [r14 + 8]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.14003e0ac
mov qword [rsp + 0x30], rax
lea rbx, [rax + 8]
mov qword [rsp + 0x40], rbx
mov r8d, 8
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call fcn.140030850
mov dword [rbp + 0x1e0], 0xe
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1e0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x14003a478
sub r15, r14
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x14003a470
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14003a4d9
mov r14, rcx
mov rcx, r14
call fcn.14003ddf4
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003a4e4
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003a4e4
nop dword [rax + rax]
lea rdx, str.FiveM_b3095_GTAProcess.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14003a4e0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003a4b0
jmp 0x14003a4e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14003a613
lea rdx, str.FiveM_b3095_GTAProcess.exe
mov ecx, edi
call fcn.1400307b0
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
lea rdi, [rbx + 0x206a778]
mov dword [rbp + 0x1e8], 0x30
mov dword [rbp + 0x1ec], 0x2b4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, 8
call fcn.14003e0ac
mov r15, rax
mov qword [rsp + 0x48], rax
lea r14, [rax + 8]
mov qword [rsp + 0x58], r14
mov rax, qword [rbp + 0x1e8]
mov qword [r15], rax
lea rax, [r15 + 8]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.14003e0ac
mov qword [rsp + 0x30], rax
lea rbx, [rax + 8]
mov qword [rsp + 0x40], rbx
mov r8d, 8
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call fcn.140030850
mov dword [rbp + 0x1e0], 0xe
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1e0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r15, r15
je 0x14003a613
sub r14, r15
and r14, 0xfffffffffffffffc
cmp r14, 0x1000
jb 0x14003a608
add r14, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x14003a625
mov r15, rcx
mov rdx, r14
mov rcx, r15
call fcn.14003ddf4
add rsp, 0x2a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3