Function at 0x140038060
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
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 0x1400380e0
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400380e0
lea rdx, [0x1400f0d08]
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400380dd
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400380b5
jmp 0x1400380e0
mov edi, dword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140038231
lea rdx, [0x1400f0d08]
mov ecx, edi
call fcn.140034b10
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 [rsp + 0x30], r12d
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
mov dword [rsp + 0x3c], Ordinal_41
mov dword [rsp + 0x40], Ordinal_217
lea rbx, [rsp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov r14, rax
mov qword [rsp + 0x60], rax
lea r15, [rax + 0x14]
mov qword [rsp + 0x70], r15
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + 0x14]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov qword [rsp + 0x48], rax
lea rbx, [rax + 0x14]
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x50], rbx
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.140034bb0
mov dword [rbp + 0x1f0], 0x41c80000
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1f0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x140038231
sub r15, r14
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x140038229
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14003828a
mov r14, rcx
mov rcx, r14
call fcn.1400a38ac
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140038294
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140038294
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 0x140038291
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140038262
jmp 0x140038294
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 0x1400383e5
lea rdx, str.FiveM_b2944_GTAProcess.exe
mov ecx, edi
call fcn.140034b10
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 [rsp + 0x30], r12d
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
mov dword [rsp + 0x3c], Ordinal_41
mov dword [rsp + 0x40], Ordinal_217
lea rbx, [rsp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov r14, rax
mov qword [rsp + 0x60], rax
lea r15, [rax + 0x14]
mov qword [rsp + 0x70], r15
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + 0x14]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov qword [rsp + 0x48], rax
lea rbx, [rax + 0x14]
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x50], rbx
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.140034bb0
mov dword [rbp + 0x1f0], 0x41c80000
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1f0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x1400383e5
sub r15, r14
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x1400383dd
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140038448
mov r14, rcx
mov rcx, r14
call fcn.1400a38ac
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140038452
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140038452
nop word [rax + rax]
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 0x14003844f
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140038420
jmp 0x140038452
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 0x1400385a3
lea rdx, str.FiveM_b2802_GTAProcess.exe
mov ecx, edi
call fcn.140034b10
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 [rsp + 0x30], r12d
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
mov dword [rsp + 0x3c], Ordinal_41
mov dword [rsp + 0x40], Ordinal_217
lea rbx, [rsp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov r14, rax
mov qword [rsp + 0x60], rax
lea r15, [rax + 0x14]
mov qword [rsp + 0x70], r15
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + 0x14]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov qword [rsp + 0x48], rax
lea rbx, [rax + 0x14]
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x50], rbx
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.140034bb0
mov dword [rbp + 0x1f0], 0x41c80000
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1f0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x1400385a3
sub r15, r14
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x14003859b
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x1400385fc
mov r14, rcx
mov rcx, r14
call fcn.1400a38ac
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140038606
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140038606
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 0x140038603
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400385d4
jmp 0x140038606
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 0x140038757
lea rdx, str.FiveM_b2612_GTAProcess.exe
mov ecx, edi
call fcn.140034b10
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 + 0x2051258]
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
mov dword [rsp + 0x3c], Ordinal_41
mov dword [rsp + 0x40], Ordinal_217
lea rbx, [rsp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov r14, rax
mov qword [rsp + 0x60], rax
lea r15, [rax + 0x14]
mov qword [rsp + 0x70], r15
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + 0x14]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov qword [rsp + 0x48], rax
lea rbx, [rax + 0x14]
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x50], rbx
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.140034bb0
mov dword [rbp + 0x1f0], 0x41c80000
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1f0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x140038757
sub r15, r14
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x14003874f
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x1400387b8
mov r14, rcx
mov rcx, r14
call fcn.1400a38ac
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400387c2
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400387c2
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 0x1400387bf
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140038790
jmp 0x1400387c2
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 0x140038913
lea rdx, str.FiveM_b3095_GTAProcess.exe
mov ecx, edi
call fcn.140034b10
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 [rsp + 0x30], r12d
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
mov dword [rsp + 0x3c], Ordinal_41
mov dword [rsp + 0x40], Ordinal_217
lea rbx, [rsp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov r14, rax
mov qword [rsp + 0x60], rax
lea r15, [rax + 0x14]
mov qword [rsp + 0x70], r15
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + 0x14]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov qword [rsp + 0x48], rax
lea rbx, [rax + 0x14]
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x50], rbx
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.140034bb0
mov dword [rbp + 0x1f0], 0x41c80000
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1f0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x140038913
sub r15, r14
sar r15, 2
lea rdx, [r15*4]
cmp rdx, 0x1000
jb 0x14003890b
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14003896c
mov r14, rcx
mov rcx, r14
call fcn.1400a38ac
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140038976
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140038976
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rbp - 0x54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140038973
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140038944
jmp 0x140038976
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 0x140038ac2
lea rdx, str.FiveM_GTAProcess.exe
mov ecx, edi
call fcn.140034b10
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 [rsp + 0x30], r12d
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
mov dword [rsp + 0x3c], Ordinal_41
mov dword [rsp + 0x40], Ordinal_217
lea rbx, [rsp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov r15, rax
mov qword [rsp + 0x60], rax
lea r14, [rax + 0x14]
mov qword [rsp + 0x70], r14
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + 0x14]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400a3b64
mov qword [rsp + 0x48], rax
lea rbx, [rax + 0x14]
mov qword [rsp + 0x58], rbx
mov r8d, reloc.WS2_32.dll_sendto
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x50], rbx
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.140034bb0
mov dword [rbp + 0x1f0], 0x41c80000
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1f0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r15, r15
je 0x140038ac2
sub r14, r15
and r14, 0xfffffffffffffffc
cmp r14, 0x1000
jb 0x140038ab7
add r14, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140038ade
mov r15, rcx
mov rdx, r14
mov rcx, r15
call fcn.1400a38ac
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3