Function at 0x140043100
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004317b
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004317b
nop dword [rax]
lea rdx, [0x1400fa838]
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140043178
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140043150
jmp 0x14004317b
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140043378
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 r14, rax
lea rsi, [rbx + 0x2f32010]
mov dword [rbp + 0x208], 0x80
mov dword [rbp + 0x20c], 0xe70
mov ecx, 8
call fcn.1400ad2a4
mov r15, rax
mov qword [rsp + 0x48], rax
add rax, 8
mov qword [rsp + 0x58], rax
mov rcx, qword [rbp + 0x208]
mov qword [r15], rcx
mov qword [rsp + 0x50], rax
mov dword [rbp + 0x210], WSAGetLastError
mov dword [rbp + 0x214], Ordinal_50
mov ecx, 8
call fcn.1400ad2a4
mov r12, rax
mov qword [rsp + 0x60], rax
lea r13, [rax + 8]
mov qword [rsp + 0x70], r13
mov rax, qword [rbp + 0x210]
mov qword [r12], rax
mov qword [rsp + 0x68], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [r15]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x1eb17a8]
mov rcx, r14
call fcn.140039830
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [r12]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, r14
call fcn.140039830
mov dword [rbp + 0x200], 0x1474607a
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x200]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r12, r12
je 0x140043337
sub r13, r12
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x14004332e
add rdx, 0x27
mov rcx, qword [r12 - 8]
sub r12, rcx
lea rax, [r12 - 8]
cmp rax, 0x1f
ja 0x1400433d8
mov r12, rcx
mov rcx, r12
call fcn.1400acfec
nop
test r15, r15
je 0x140043378
lea rax, [r15 + 8]
sub rax, r15
sar rax, 2
lea rdx, [rax*4]
cmp rdx, 0x1000
jb 0x140043370
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x1400433df
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400433e9
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400433e9
nop word [rax + rax]
lea rdx, str.FiveM_b2944_GTAProcess.exe
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400433e6
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400433b0
jmp 0x1400433e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1400435e6
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 r14, rax
lea rsi, [rbx + 0x2ea03c0]
mov dword [rbp + 0x208], 0x80
mov dword [rbp + 0x20c], 0xe70
mov ecx, 8
call fcn.1400ad2a4
mov r15, rax
mov qword [rsp + 0x60], rax
add rax, 8
mov qword [rsp + 0x70], rax
mov rcx, qword [rbp + 0x208]
mov qword [r15], rcx
mov qword [rsp + 0x68], rax
mov dword [rbp + 0x210], WSAGetLastError
mov dword [rbp + 0x214], Ordinal_50
mov ecx, 8
call fcn.1400ad2a4
mov r12, rax
mov qword [rsp + 0x48], rax
lea r13, [rax + 8]
mov qword [rsp + 0x58], r13
mov rax, qword [rbp + 0x210]
mov qword [r12], rax
mov qword [rsp + 0x50], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [r15]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x1df28b8]
mov rcx, r14
call fcn.140039830
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [r12]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, r14
call fcn.140039830
mov dword [rbp + 0x200], 0x1474607a
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x200]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r12, r12
je 0x1400435a5
sub r13, r12
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x14004359c
add rdx, 0x27
mov rcx, qword [r12 - 8]
sub r12, rcx
lea rax, [r12 - 8]
cmp rax, 0x1f
ja 0x14004363c
mov r12, rcx
mov rcx, r12
call fcn.1400acfec
nop
test r15, r15
je 0x1400435e6
lea rax, [r15 + 8]
sub rax, r15
sar rax, 2
lea rdx, [rax*4]
cmp rdx, 0x1000
jb 0x1400435de
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140043643
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004364d
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004364d
lea rdx, str.FiveM_b2802_GTAProcess.exe
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14004364a
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140043614
jmp 0x14004364d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14004384a
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 r14, rax
lea rsi, [rbx + 0x2e18bb0]
mov dword [rbp + 0x208], 0x80
mov dword [rbp + 0x20c], 0xe70
mov ecx, 8
call fcn.1400ad2a4
mov r15, rax
mov qword [rsp + 0x60], rax
add rax, 8
mov qword [rsp + 0x70], rax
mov rcx, qword [rbp + 0x208]
mov qword [r15], rcx
mov qword [rsp + 0x68], rax
mov dword [rbp + 0x210], WSAGetLastError
mov dword [rbp + 0x214], Ordinal_50
mov ecx, 8
call fcn.1400ad2a4
mov r12, rax
mov qword [rsp + 0x48], rax
lea r13, [rax + 8]
mov qword [rsp + 0x58], r13
mov rax, qword [rbp + 0x210]
mov qword [r12], rax
mov qword [rsp + 0x50], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [r15]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x1dc74d8]
mov rcx, r14
call fcn.140039830
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [r12]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, r14
call fcn.140039830
mov dword [rbp + 0x200], 0x1474607a
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x200]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r12, r12
je 0x140043809
sub r13, r12
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140043800
add rdx, 0x27
mov rcx, qword [r12 - 8]
sub r12, rcx
lea rax, [r12 - 8]
cmp rax, 0x1f
ja 0x1400438a8
mov r12, rcx
mov rcx, r12
call fcn.1400acfec
nop
test r15, r15
je 0x14004384a
lea rax, [r15 + 8]
sub rax, r15
sar rax, 2
lea rdx, [rax*4]
cmp rdx, 0x1000
jb 0x140043842
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x1400438af
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400438b9
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400438b9
nop dword [rax + rax]
lea rdx, str.FiveM_b3095_GTAProcess.exe
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400438b6
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140043880
jmp 0x1400438b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140043ab6
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 r14, rax
lea rsi, [rbx + 0x2ef5850]
mov dword [rbp + 0x208], 0x80
mov dword [rbp + 0x20c], 0xe70
mov ecx, 8
call fcn.1400ad2a4
mov r15, rax
mov qword [rsp + 0x60], rax
add rax, 8
mov qword [rsp + 0x70], rax
mov rcx, qword [rbp + 0x208]
mov qword [r15], rcx
mov qword [rsp + 0x68], rax
mov dword [rbp + 0x210], WSAGetLastError
mov dword [rbp + 0x214], Ordinal_50
mov ecx, 8
call fcn.1400ad2a4
mov r12, rax
mov qword [rsp + 0x48], rax
lea r13, [rax + 8]
mov qword [rsp + 0x58], r13
mov rax, qword [rbp + 0x210]
mov qword [r12], rax
mov qword [rsp + 0x50], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [r15]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x1e09118]
mov rcx, r14
call fcn.140039830
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [r12]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, r14
call fcn.140039830
mov dword [rbp + 0x200], 0x1474607a
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x200]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r12, r12
je 0x140043a75
sub r13, r12
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140043a6c
add rdx, 0x27
mov rcx, qword [r12 - 8]
sub r12, rcx
lea rax, [r12 - 8]
cmp rax, 0x1f
ja 0x140043b0c
mov r12, rcx
mov rcx, r12
call fcn.1400acfec
nop
test r15, r15
je 0x140043ab6
lea rax, [r15 + 8]
sub rax, r15
sar rax, 2
lea rdx, [rax*4]
cmp rdx, 0x1000
jb 0x140043aae
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140043b13
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140043b1d
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140043b1d
lea rdx, str.FiveM_b2612_GTAProcess.exe
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140043b1a
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140043ae4
jmp 0x140043b1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140043d03
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 r14, rax
lea rsi, [rbx + 0x2db1190]
mov dword [rbp + 0x208], 0x80
mov dword [rbp + 0x20c], 0xe70
mov ecx, 8
call fcn.1400ad2a4
mov r12, rax
mov qword [rsp + 0x60], rax
lea r15, [rax + 8]
mov qword [rsp + 0x70], r15
mov rcx, qword [rbp + 0x208]
mov qword [rax], rcx
mov qword [rsp + 0x68], r15
mov dword [rbp + 0x210], WSAGetLastError
mov dword [rbp + 0x214], Ordinal_50
mov ecx, 8
call fcn.1400ad2a4
mov r13, rax
mov qword [rsp + 0x48], rax
lea rcx, [rax + 8]
mov qword [rsp + 0x58], rcx
mov rax, qword [rbp + 0x210]
mov qword [r13], rax
mov qword [rsp + 0x50], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r9, [rax + 8]
mov qword [rsp + 0x40], r9
mov r8, qword [r12]
mov qword [rax], r8
mov qword [rsp + 0x38], r9
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x1db0ba8]
mov rcx, r14
call fcn.140039830
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor edi, edi
lea ecx, [rdi + 8]
call fcn.1400ad2a4
mov qword [rsp + 0x30], rax
lea r8, [rax + 8]
mov qword [rsp + 0x40], r8
mov rcx, qword [r13]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, r14
call fcn.140039830
mov dword [rbp + 0x200], 0x1474607a
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 4]
lea r8, [rbp + 0x200]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r13, r13
je 0x140043cc9
lea rax, [r13 + 8]
sub rax, r13
sar rax, 2
lea rdx, [rax*4]
cmp rdx, 0x1000
jb 0x140043cc0
add rdx, 0x27
mov rcx, qword [r13 - 8]
sub r13, rcx
lea rax, [r13 - 8]
cmp rax, 0x1f
ja 0x140043d1e
mov r13, rcx
mov rcx, r13
call fcn.1400acfec
nop
test r12, r12
je 0x140043d03
sub r15, r12
and r15, 0xfffffffffffffffc
cmp r15, 0x1000
jb 0x140043cf8
add r15, 0x27
mov rcx, qword [r12 - 8]
sub r12, rcx
lea rax, [r12 - 8]
cmp rax, 0x1f
ja 0x140043d25
mov r12, rcx
mov rdx, r15
mov rcx, r12
call fcn.1400acfec
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3