Function at 0x140042370
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 0x1400423ed
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400423ed
nop
lea rdx, [0x1400ff880]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400423e9
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400423c0
jmp 0x1400423ed
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140042506
lea rdx, [0x1400ff880]
mov ecx, edi
call fcn.14003a6f0
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], 0x80
mov dword [rbp + 0x1dc], reloc.WLDAP32.dll_Ordinal_200
mov ecx, 8
call fcn.1400b1390
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.1400b1390
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 + 0x1eb17a8]
mov rcx, rdi
call fcn.14003a790
mov dword [rbp + 0x1d0], 0x2c9337c1
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 0x140042506
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x1400424fe
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140042569
mov rsi, rcx
mov rcx, rsi
call fcn.1400b10d8
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140042574
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140042574
nop word [rax + rax]
lea rdx, [0x1400ff8b8]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140042570
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140042540
jmp 0x140042574
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 0x14004268d
lea rdx, [0x1400ff8b8]
mov ecx, edi
call fcn.14003a6f0
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], 0x80
mov dword [rbp + 0x1dc], reloc.WLDAP32.dll_Ordinal_200
mov ecx, 8
call fcn.1400b1390
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.1400b1390
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 + 0x1df28b8]
mov rcx, rdi
call fcn.14003a790
mov dword [rbp + 0x1d0], 0x2c9337c1
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 0x14004268d
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x140042685
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1400426e9
mov rsi, rcx
mov rcx, rsi
call fcn.1400b10d8
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400426f4
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400426f4
nop
lea rdx, [0x1400ff8f0]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400426f0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400426c0
jmp 0x1400426f4
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 0x14004280d
lea rdx, [0x1400ff8f0]
mov ecx, edi
call fcn.14003a6f0
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], 0x80
mov dword [rbp + 0x1dc], reloc.WLDAP32.dll_Ordinal_200
mov ecx, 8
call fcn.1400b1390
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.1400b1390
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 + 0x1dc74d8]
mov rcx, rdi
call fcn.14003a790
mov dword [rbp + 0x1d0], 0x2c9337c1
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 0x14004280d
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x140042805
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140042869
mov rsi, rcx
mov rcx, rsi
call fcn.1400b10d8
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140042874
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140042874
nop
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 0x140042870
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140042840
jmp 0x140042874
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 0x14004298d
lea rdx, str.FiveM_b3095_GTAProcess.exe
mov ecx, edi
call fcn.14003a6f0
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], 0x80
mov dword [rbp + 0x1dc], reloc.WLDAP32.dll_Ordinal_200
mov ecx, 8
call fcn.1400b1390
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.1400b1390
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.14003a790
mov dword [rbp + 0x1d0], 0x2c9337c1
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 0x14004298d
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x140042985
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1400429e9
mov rsi, rcx
mov rcx, rsi
call fcn.1400b10d8
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400429f4
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400429f4
nop
lea rdx, [0x1400ff998]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400429f0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400429c0
jmp 0x1400429f4
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 0x140042b0d
lea rdx, [0x1400ff998]
mov ecx, edi
call fcn.14003a6f0
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], 0x80
mov dword [rbp + 0x1dc], reloc.WLDAP32.dll_Ordinal_200
mov ecx, 8
call fcn.1400b1390
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.1400b1390
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 + 0x1cfff08]
mov rcx, rdi
call fcn.14003a790
mov dword [rbp + 0x1d0], 0x2c9337c1
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 0x140042b0d
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x140042b05
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140042b69
mov rsi, rcx
mov rcx, rsi
call fcn.1400b10d8
mov edi, r15d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140042b74
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140042b74
nop
lea rdx, [0x1400ff928]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140042b70
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140042b40
jmp 0x140042b74
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 0x140042c88
lea rdx, [0x1400ff928]
mov ecx, edi
call fcn.14003a6f0
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], 0x80
mov dword [rbp + 0x1dc], reloc.WLDAP32.dll_Ordinal_200
mov ecx, 8
call fcn.1400b1390
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.1400b1390
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 + 0x1db0ba8]
mov rcx, rdi
call fcn.14003a790
mov dword [rbp + 0x1d0], 0x2c9337c1
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 0x140042c88
sub rsi, r14
and rsi, 0xfffffffffffffffc
cmp rsi, 0x1000
jb 0x140042c7d
add rsi, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140042c9f
mov r14, rcx
mov rdx, rsi
mov rcx, r14
call fcn.1400b10d8
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