Function at 0x140036d60
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 0x140036ddb
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140036ddb
nop word [rax + rax]
lea rdx, str.FiveM_b2699_GTAProcess.exe
lea rcx, [rbp - 0x34]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140036dd8
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140036db0
jmp 0x140036ddb
mov edi, dword [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140036ffb
lea rdx, str.FiveM_b2699_GTAProcess.exe
mov ecx, edi
call fcn.140036bc0
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.1400a4d14
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.1400a4d14
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.1400a4d14
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.140036c60
mov rdi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400a4d14
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.140036c60
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 0x140036fbe
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140036fb5
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140037058
mov r15, rcx
mov rcx, r15
call fcn.1400a4a5c
nop
test r14, r14
je 0x140036ffb
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140036ff3
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14003705f
mov r14, rcx
mov rcx, r14
call fcn.1400a4a5c
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140037069
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140037069
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 0x140037066
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140037030
jmp 0x140037069
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 0x140037289
lea rdx, str.FiveM_b2944_GTAProcess.exe
mov ecx, edi
call fcn.140036bc0
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.1400a4d14
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.1400a4d14
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.1400a4d14
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.140036c60
mov rdi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400a4d14
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.140036c60
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 0x14003724c
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140037243
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x1400372e8
mov r15, rcx
mov rcx, r15
call fcn.1400a4a5c
nop
test r14, r14
je 0x140037289
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140037281
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x1400372ef
mov r14, rcx
mov rcx, r14
call fcn.1400a4a5c
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400372f9
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400372f9
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 0x1400372f6
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400372c0
jmp 0x1400372f9
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 0x140037519
lea rdx, str.FiveM_b2802_GTAProcess.exe
mov ecx, edi
call fcn.140036bc0
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.1400a4d14
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.1400a4d14
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.1400a4d14
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.140036c60
mov rdi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400a4d14
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.140036c60
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 0x1400374dc
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x1400374d3
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140037578
mov r15, rcx
mov rcx, r15
call fcn.1400a4a5c
nop
test r14, r14
je 0x140037519
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x140037511
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14003757f
mov r14, rcx
mov rcx, r14
call fcn.1400a4a5c
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140037589
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140037589
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 0x140037586
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140037550
jmp 0x140037589
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 0x1400377a9
lea rdx, str.FiveM_b2612_GTAProcess.exe
mov ecx, edi
call fcn.140036bc0
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.1400a4d14
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.1400a4d14
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.1400a4d14
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.140036c60
mov rdi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400a4d14
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.140036c60
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 0x14003776c
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140037763
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140037808
mov r15, rcx
mov rcx, r15
call fcn.1400a4a5c
nop
test r14, r14
je 0x1400377a9
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x1400377a1
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x14003780f
mov r14, rcx
mov rcx, r14
call fcn.1400a4a5c
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140037819
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140037819
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 0x140037816
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400377e0
jmp 0x140037819
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 0x140037a39
lea rdx, str.FiveM_b3095_GTAProcess.exe
mov ecx, edi
call fcn.140036bc0
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.1400a4d14
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.1400a4d14
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.1400a4d14
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.140036c60
mov rdi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov ecx, 8
call fcn.1400a4d14
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.140036c60
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 0x1400379fc
sub r13, r15
sar r13, 2
lea rdx, [r13*4]
cmp rdx, 0x1000
jb 0x1400379f3
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x140037a98
mov r15, rcx
mov rcx, r15
call fcn.1400a4a5c
nop
test r14, r14
je 0x140037a39
sub r12, r14
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x140037a31
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140037a9f
mov r14, rcx
mov rcx, r14
call fcn.1400a4a5c
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140037aa9
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140037aa9
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 0x140037aa6
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140037a70
jmp 0x140037aa9
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 0x140037c43
lea rdx, str.FiveM_GTAProcess.exe
mov ecx, edi
call fcn.140036bc0
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.140042980
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.140042940
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x248], rdi
lea rcx, [rbp + 0x248]
call fcn.140042820
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.140041e60
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140041d70
mov r8, rax
lea rdx, [rbx + 0x212b208]
mov rcx, rsi
call fcn.140036c60
mov rdi, rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x78]
call fcn.140041d70
mov r8, rax
lea rdx, [rbx + 0x212b208]
mov rcx, rsi
call fcn.140036c60
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.140041d10
nop
lea rcx, [rsp + 0x30]
call fcn.140041d10
add rsp, 0x2e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret