Function at 0x14003c470
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
xor r15d, r15d
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003c4ed
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003c4ed
nop
lea rdx, [0x1400fa838]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14003c4e9
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003c4c0
jmp 0x14003c4ed
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14003c603
lea rdx, [0x1400fa838]
mov ecx, edi
call fcn.140039790
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov dword [rbp + 0x1d8], 8
mov dword [rbp + 0x1dc], 0x189
mov ecx, 8
call fcn.1400ad2a4
mov rsi, rax
mov qword [rsp + 0x48], rax
lea r14, [rax + 8]
mov qword [rsp + 0x58], r14
mov rcx, qword [rbp + 0x1d8]
mov qword [rax], rcx
mov qword [rsp + 0x50], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [rsi]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x26684d8]
mov rcx, rdi
call fcn.140039830
mov dword [rbp + 0x1d0], r15d
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rbp + 0x1d0]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rsi, rsi
je 0x14003c603
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x14003c5fb
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14003c65d
mov rsi, rcx
mov rcx, rsi
call fcn.1400acfec
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003c668
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003c668
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 0x14003c664
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003c634
jmp 0x14003c668
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 0x14003c77e
lea rdx, str.FiveM_b2944_GTAProcess.exe
mov ecx, edi
call fcn.140039790
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov dword [rbp + 0x1d8], 8
mov dword [rbp + 0x1dc], 0x189
mov ecx, 8
call fcn.1400ad2a4
mov rsi, rax
mov qword [rsp + 0x48], rax
lea r14, [rax + 8]
mov qword [rsp + 0x58], r14
mov rcx, qword [rbp + 0x1d8]
mov qword [rax], rcx
mov qword [rsp + 0x50], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [rsi]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x257bea0]
mov rcx, rdi
call fcn.140039830
mov dword [rbp + 0x1d0], r15d
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rbp + 0x1d0]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rsi, rsi
je 0x14003c77e
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x14003c776
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14003c7d9
mov rsi, rcx
mov rcx, rsi
call fcn.1400acfec
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003c7e4
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003c7e4
nop
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 0x14003c7e0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003c7b0
jmp 0x14003c7e4
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 0x14003c8fa
lea rdx, str.FiveM_b2802_GTAProcess.exe
mov ecx, edi
call fcn.140039790
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov dword [rbp + 0x1d8], 8
mov dword [rbp + 0x1dc], 0x189
mov ecx, 8
call fcn.1400ad2a4
mov rsi, rax
mov qword [rsp + 0x48], rax
lea r14, [rax + 8]
mov qword [rsp + 0x58], r14
mov rcx, qword [rbp + 0x1d8]
mov qword [rax], rcx
mov qword [rsp + 0x50], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [rsi]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x254d448]
mov rcx, rdi
call fcn.140039830
mov dword [rbp + 0x1d0], r15d
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rbp + 0x1d0]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rsi, rsi
je 0x14003c8fa
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x14003c8f2
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14003c959
mov rsi, rcx
mov rcx, rsi
call fcn.1400acfec
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003c964
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003c964
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 0x14003c960
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003c930
jmp 0x14003c964
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 0x14003ca7a
lea rdx, str.FiveM_b3095_GTAProcess.exe
mov ecx, edi
call fcn.140039790
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov dword [rbp + 0x1d8], 8
mov dword [rbp + 0x1dc], 0x189
mov ecx, 8
call fcn.1400ad2a4
mov rsi, rax
mov qword [rsp + 0x48], rax
lea r14, [rax + 8]
mov qword [rsp + 0x58], r14
mov rcx, qword [rbp + 0x1d8]
mov qword [rax], rcx
mov qword [rsp + 0x50], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [rsi]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x1e09118]
mov rcx, rdi
call fcn.140039830
mov dword [rbp + 0x1d0], r15d
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rbp + 0x1d0]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rsi, rsi
je 0x14003ca7a
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x14003ca72
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14003cad9
mov rsi, rcx
mov rcx, rsi
call fcn.1400acfec
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003cae4
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003cae4
nop dword [rax + rax]
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 0x14003cae0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003cab0
jmp 0x14003cae4
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 0x14003cbfa
lea rdx, str.FiveM_GTAProcess.exe
mov ecx, edi
call fcn.140039790
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov dword [rbp + 0x1d8], 8
mov dword [rbp + 0x1dc], 0x189
mov ecx, 8
call fcn.1400ad2a4
mov rsi, rax
mov qword [rsp + 0x48], rax
lea r14, [rax + 8]
mov qword [rsp + 0x58], r14
mov rcx, qword [rbp + 0x1d8]
mov qword [rax], rcx
mov qword [rsp + 0x50], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [rsi]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x247f840]
mov rcx, rdi
call fcn.140039830
mov dword [rbp + 0x1d0], r15d
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rbp + 0x1d0]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rsi, rsi
je 0x14003cbfa
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x14003cbf2
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14003cc59
mov rsi, rcx
mov rcx, rsi
call fcn.1400acfec
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003cc64
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003cc64
nop dword [rax + rax]
lea rdx, str.FiveM_b2612_GTAProcess.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14003cc60
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003cc30
jmp 0x14003cc64
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 0x14003cd75
lea rdx, str.FiveM_b2612_GTAProcess.exe
mov ecx, edi
call fcn.140039790
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov dword [rbp + 0x1d8], 8
mov dword [rbp + 0x1dc], 0x189
mov ecx, 8
call fcn.1400ad2a4
mov r14, rax
mov qword [rsp + 0x48], rax
lea rsi, [rax + 8]
mov qword [rsp + 0x58], rsi
mov rdx, qword [rbp + 0x1d8]
mov qword [rax], rdx
mov qword [rsp + 0x50], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [r14]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x2567db0]
mov rcx, rdi
call fcn.140039830
mov dword [rbp + 0x1d0], r15d
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rbp + 0x1d0]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x14003cd75
sub rsi, r14
and rsi, 0xfffffffffffffffc
cmp rsi, 0x1000
jb 0x14003cd6a
add rsi, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14003cd8c
mov r14, rcx
mov rdx, rsi
mov rcx, r14
call fcn.1400acfec
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3