Function at 0x1400402e0
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 0x14004035b
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004035b
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 0x140040358
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140040330
jmp 0x14004035b
mov edi, dword [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14004057b
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], 0x497423f0
mov dword [rbp + 0x238], 0x497423f0
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 0x14004053e
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140040535
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x1400405d8
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
nop
test r14, r14
je 0x14004057b
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140040573
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x1400405df
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 0x1400405e9
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400405e9
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 0x1400405e6
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400405b0
jmp 0x1400405e9
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 0x140040809
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], 0x497423f0
mov dword [rbp + 0x238], 0x497423f0
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 0x1400407cc
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x1400407c3
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140040868
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
nop
test r14, r14
je 0x140040809
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140040801
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14004086f
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 0x140040879
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140040879
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 0x140040876
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140040840
jmp 0x140040879
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 0x140040a99
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], 0x497423f0
mov dword [rbp + 0x238], 0x497423f0
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 0x140040a5c
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140040a53
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140040af8
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
nop
test r14, r14
je 0x140040a99
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140040a91
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140040aff
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 0x140040b09
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140040b09
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 0x140040b06
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140040ad0
jmp 0x140040b09
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 0x140040d29
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], 0x497423f0
mov dword [rbp + 0x238], 0x497423f0
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 0x140040cec
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140040ce3
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140040d88
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
nop
test r14, r14
je 0x140040d29
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140040d21
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140040d8f
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 0x140040d99
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140040d99
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 0x140040d96
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140040d60
jmp 0x140040d99
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 0x140040fb9
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], 0x497423f0
mov dword [rbp + 0x238], 0x497423f0
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 0x140040f7c
sub r13, r15
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140040f73
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140041018
mov r15, rcx
mov rcx, r15
call fcn.1400acfec
nop
test r14, r14
je 0x140040fb9
sub r12, r14
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140040fb1
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14004101f
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 0x140041029
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140041029
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 0x140041026
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140040ff0
jmp 0x140041029
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 0x1400411c3
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], 0x497423f0
mov dword [rbp + 0x238], 0x497423f0
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