Function at 0x1400411e0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004125b
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004125b
nop word [rax + rax]
lea rdx, [0x1400fa838]
lea rcx, [rbp - 0x34]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140041258
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140041230
jmp 0x14004125b
mov edi, dword [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14004147b
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 rsi, rax
mov dword [rbp + 0x240], 0x50
mov dword [rbp + 0x244], Ordinal_217
mov ecx, 8
call fcn.1400ad2a4
mov r14, rax
mov qword [rsp + 0x50], rax
lea r13, [rax + 8]
mov qword [rsp + 0x60], r13
mov rcx, qword [rbp + 0x240]
mov qword [rax], rcx
mov qword [rsp + 0x58], r13
mov dword [rbp + 0x248], 0x50
mov dword [rbp + 0x24c], 0xdc
mov ecx, 8
call fcn.1400ad2a4
mov r15, rax
mov qword [rsp + 0x70], rax
lea r12, [rax + 8]
mov qword [rbp - 0x80], r12
mov rax, qword [rbp + 0x248]
mov qword [r15], rax
mov qword [rsp + 0x78], r12
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 rdx, [rax + 8]
mov qword [rsp + 0x40], rdx
mov rcx, qword [r14]
mov qword [rax], rcx
mov qword [rsp + 0x38], rdx
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x2140688]
mov rcx, rsi
call fcn.140039830
mov rdi, 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 [r15]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x2140688]
mov rcx, rsi
call fcn.140039830
mov rbx, rax
mov dword [rbp + 0x230], 0x41a00000
mov dword [rbp + 0x238], 0x41a00000
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x230]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x238]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r15, r15
je 0x14004143e
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140041435
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x1400414d8
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
nop
test r14, r14
je 0x14004147b
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140041473
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x1400414df
mov r14, rcx
mov rcx, r14
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 0x1400414e9
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400414e9
nop dword [rax]
lea rdx, str.FiveM_b2944_GTAProcess.exe
lea rcx, [rbp - 0x34]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400414e6
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400414b0
jmp 0x1400414e9
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 - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140041709
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 rsi, rax
mov dword [rbp + 0x240], 0x50
mov dword [rbp + 0x244], Ordinal_217
mov ecx, 8
call fcn.1400ad2a4
mov r14, rax
mov qword [rsp + 0x70], rax
lea r13, [rax + 8]
mov qword [rbp - 0x80], r13
mov rcx, qword [rbp + 0x240]
mov qword [rax], rcx
mov qword [rsp + 0x78], r13
mov dword [rbp + 0x248], 0x50
mov dword [rbp + 0x24c], 0xdc
mov ecx, 8
call fcn.1400ad2a4
mov r15, rax
mov qword [rsp + 0x50], rax
lea r12, [rax + 8]
mov qword [rsp + 0x60], r12
mov rax, qword [rbp + 0x248]
mov qword [r15], rax
mov qword [rsp + 0x58], r12
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 rdx, [rax + 8]
mov qword [rsp + 0x40], rdx
mov rcx, qword [r14]
mov qword [rax], rcx
mov qword [rsp + 0x38], rdx
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x2053218]
mov rcx, rsi
call fcn.140039830
mov rdi, 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 [r15]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x2053218]
mov rcx, rsi
call fcn.140039830
mov rbx, rax
mov dword [rbp + 0x230], 0x41a00000
mov dword [rbp + 0x238], 0x41a00000
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x230]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x238]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r15, r15
je 0x1400416cc
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x1400416c3
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140041768
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
nop
test r14, r14
je 0x140041709
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140041701
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14004176f
mov r14, rcx
mov rcx, r14
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 0x140041779
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140041779
nop word [rax + rax]
lea rdx, str.FiveM_b2802_GTAProcess.exe
lea rcx, [rbp - 0x34]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140041776
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140041740
jmp 0x140041779
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 - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140041999
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 rsi, rax
mov dword [rbp + 0x240], 0x50
mov dword [rbp + 0x244], Ordinal_217
mov ecx, 8
call fcn.1400ad2a4
mov r14, rax
mov qword [rsp + 0x70], rax
lea r13, [rax + 8]
mov qword [rbp - 0x80], r13
mov rcx, qword [rbp + 0x240]
mov qword [rax], rcx
mov qword [rsp + 0x78], r13
mov dword [rbp + 0x248], 0x50
mov dword [rbp + 0x24c], 0xdc
mov ecx, 8
call fcn.1400ad2a4
mov r15, rax
mov qword [rsp + 0x50], rax
lea r12, [rax + 8]
mov qword [rsp + 0x60], r12
mov rax, qword [rbp + 0x248]
mov qword [r15], rax
mov qword [rsp + 0x58], r12
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 rdx, [rax + 8]
mov qword [rsp + 0x40], rdx
mov rcx, qword [r14]
mov qword [rax], rcx
mov qword [rsp + 0x38], rdx
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x2024890]
mov rcx, rsi
call fcn.140039830
mov rdi, 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 [r15]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x2024890]
mov rcx, rsi
call fcn.140039830
mov rbx, rax
mov dword [rbp + 0x230], 0x41a00000
mov dword [rbp + 0x238], 0x41a00000
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x230]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x238]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r15, r15
je 0x14004195c
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140041953
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x1400419f8
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
nop
test r14, r14
je 0x140041999
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140041991
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x1400419ff
mov r14, rcx
mov rcx, r14
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 0x140041a09
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140041a09
nop word [rax + rax]
lea rdx, str.FiveM_b2612_GTAProcess.exe
lea rcx, [rbp - 0x34]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140041a06
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400419d0
jmp 0x140041a09
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 - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140041c29
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 rsi, rax
mov dword [rbp + 0x240], 0x50
mov dword [rbp + 0x244], Ordinal_217
mov ecx, 8
call fcn.1400ad2a4
mov r14, rax
mov qword [rsp + 0x70], rax
lea r13, [rax + 8]
mov qword [rbp - 0x80], r13
mov rcx, qword [rbp + 0x240]
mov qword [rax], rcx
mov qword [rsp + 0x78], r13
mov dword [rbp + 0x248], 0x50
mov dword [rbp + 0x24c], 0xdc
mov ecx, 8
call fcn.1400ad2a4
mov r15, rax
mov qword [rsp + 0x50], rax
lea r12, [rax + 8]
mov qword [rsp + 0x60], r12
mov rax, qword [rbp + 0x248]
mov qword [r15], rax
mov qword [rsp + 0x58], r12
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 rdx, [rax + 8]
mov qword [rsp + 0x40], rdx
mov rcx, qword [r14]
mov qword [rax], rcx
mov qword [rsp + 0x38], rdx
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x2051258]
mov rcx, rsi
call fcn.140039830
mov rdi, 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 [r15]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x2051258]
mov rcx, rsi
call fcn.140039830
mov rbx, rax
mov dword [rbp + 0x230], 0x41a00000
mov dword [rbp + 0x238], 0x41a00000
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x230]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x238]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r15, r15
je 0x140041bec
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140041be3
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140041c88
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
nop
test r14, r14
je 0x140041c29
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140041c21
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140041c8f
mov r14, rcx
mov rcx, r14
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 0x140041c99
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140041c99
nop word [rax + rax]
lea rdx, str.FiveM_b3095_GTAProcess.exe
lea rcx, [rbp - 0x34]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140041c96
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140041c60
jmp 0x140041c99
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 - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140041eb9
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 rsi, rax
mov dword [rbp + 0x240], 0x50
mov dword [rbp + 0x244], Ordinal_217
mov ecx, 8
call fcn.1400ad2a4
mov r14, rax
mov qword [rsp + 0x70], rax
lea r12, [rax + 8]
mov qword [rbp - 0x80], r12
mov rcx, qword [rbp + 0x240]
mov qword [rax], rcx
mov qword [rsp + 0x78], r12
mov dword [rbp + 0x248], 0x50
mov dword [rbp + 0x24c], 0xdc
mov ecx, 8
call fcn.1400ad2a4
mov r15, rax
mov qword [rsp + 0x50], rax
lea r13, [rax + 8]
mov qword [rsp + 0x60], r13
mov rax, qword [rbp + 0x248]
mov qword [r15], rax
mov qword [rsp + 0x58], 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 rdx, [rax + 8]
mov qword [rsp + 0x40], rdx
mov rcx, qword [r14]
mov qword [rax], rcx
mov qword [rsp + 0x38], rdx
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x206a778]
mov rcx, rsi
call fcn.140039830
mov rdi, 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 [r15]
mov qword [rax], rcx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x206a778]
mov rcx, rsi
call fcn.140039830
mov rbx, rax
mov dword [rbp + 0x230], 0x41a00000
mov dword [rbp + 0x238], 0x41a00000
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x230]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x238]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r15, r15
je 0x140041e7c
sub r13, r15
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140041e73
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140041f18
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
nop
test r14, r14
je 0x140041eb9
sub r12, r14
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140041eb1
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140041f1f
mov r14, rcx
mov rcx, r14
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 0x140041f29
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140041f29
nop word [rax + rax]
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rbp - 0x34]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140041f26
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140041ef0
jmp 0x140041f29
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 - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1400420c3
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 rsi, rax
mov dword [rbp + 0x240], 0x50
mov dword [rbp + 0x244], Ordinal_217
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rbp + 0x248], 2
lea rdx, [rbp + 0x248]
call fcn.14004aed0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea rcx, [rax + 8]
mov qword [rsp + 0x40], rcx
mov r8, rax
lea rdx, [rbp + 0x248]
lea rcx, [rbp + 0x240]
call fcn.14004ae90
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x248], rdi
lea rcx, [rbp + 0x248]
call fcn.14004ad70
nop
mov dword [rbp + 0x248], 0x50
mov dword [rbp + 0x24c], 0xdc
lea rax, [rbp + 0x248]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x250]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14004a520
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004a430
mov r8, rax
lea rdx, [rbx + 0x212b208]
mov rcx, rsi
call fcn.140039830
mov rdi, rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x78]
call fcn.14004a430
mov r8, rax
lea rdx, [rbx + 0x212b208]
mov rcx, rsi
call fcn.140039830
mov rbx, rax
mov dword [rbp + 0x230], 0x41a00000
mov dword [rbp + 0x238], 0x41a00000
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [rbp + 0x230]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [rbp + 0x238]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
lea rcx, [rsp + 0x70]
call fcn.14004a3d0
nop
lea rcx, [rsp + 0x30]
call fcn.14004a3d0
add rsp, 0x2e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret