Function at 0x140041a30
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 0x140041aad
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140041aad
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 0x140041aa9
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140041a80
jmp 0x140041aad
mov edi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140041bc6
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], 0x513fcda9
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 0x140041bc6
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x140041bbe
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140041c29
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 0x140041c34
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140041c34
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 0x140041c30
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140041c00
jmp 0x140041c34
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 0x140041d4d
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], 0x513fcda9
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 0x140041d4d
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x140041d45
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140041da9
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 0x140041db4
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140041db4
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 0x140041db0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140041d80
jmp 0x140041db4
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 0x140041ecd
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], 0x513fcda9
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 0x140041ecd
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x140041ec5
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140041f29
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 0x140041f34
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140041f34
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 0x140041f30
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140041f00
jmp 0x140041f34
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 0x14004204d
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], 0x513fcda9
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 0x14004204d
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x140042045
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1400420a9
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 0x1400420b4
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400420b4
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 0x1400420b0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140042080
jmp 0x1400420b4
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 0x1400421cd
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], 0x513fcda9
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 0x1400421cd
sub r14, rsi
sar r14, 2
lea rdx, [r14*4]
cmp rdx, 0x1000
jb 0x1400421c5
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140042229
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 0x140042234
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140042234
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 0x140042230
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140042200
jmp 0x140042234
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 0x140042348
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], 0x513fcda9
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 0x140042348
sub rsi, r14
and rsi, 0xfffffffffffffffc
cmp rsi, 0x1000
jb 0x14004233d
add rsi, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14004235f
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