Function at 0x140041fe0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f8]
sub rsp, 0x2f8
xor r14d, r14d
mov edi, r14d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004205b
mov dword [rbp - 0x50], 0x238
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004205b
lea rdx, str.FiveM_GTAProcess.exe
lea rcx, [rbp - 0x24]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140042058
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140042030
jmp 0x14004205b
mov edi, dword [rbp - 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.FiveM_GTAProcess.exe
mov ecx, edi
call fcn.14003c7c0
mov rbx, rax
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x240], rax
lea rax, [rbx + 0x212b208]
mov qword [rbp + 0x248], rax
mov dword [rsp + 0x48], 0x60
mov dword [rsp + 0x4c], 8
mov dword [rsp + 0x50], 0x90
lea rbx, [rsp + 0x48]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov ecx, 0xc
call fcn.14004b2ec
mov r15, rax
mov qword [rsp + 0x68], rax
lea rdi, [rax + 0xc]
mov qword [rsp + 0x78], rdi
mov r8d, 0xc
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea r8, [r15 + 0xc]
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x34], 0x38
mov dword [rsp + 0x38], 0x40
lea rbx, [rsp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov ecx, 0xc
call fcn.14004b2ec
mov rsi, rax
mov qword [rbp - 0x80], rax
lea r12, [rax + 0xc]
mov qword [rbp - 0x70], r12
mov r8d, 0xc
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rsi + 0xc]
mov qword [rbp - 0x78], rbx
mov dword [rsp + 0x58], 0x60
mov dword [rsp + 0x5c], 0x20
mov dword [rsp + 0x60], 0x70
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov ecx, 0xc
call fcn.14004b2ec
mov r14, rax
mov qword [rbp - 0x68], rax
lea r13, [rax + 0xc]
mov qword [rbp - 0x58], r13
mov r8d, 0xc
lea rdx, [rsp + 0x58]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea r8, [r14 + 0xc]
mov qword [rbp - 0x60], r8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
lea rax, [r15 + 0xc]
sub rax, r15
mov qword [rbp + 0x250], rax
sar rax, 2
movabs rcx, 0x3fffffffffffffff
test rax, rax
je 0x140042252
cmp rax, rcx
ja 0x14004256b
lea rbx, [rax*4]
test rbx, rbx
jne 0x1400421ed
xor eax, eax
jmp 0x14004222a
cmp rbx, 0x1000
jb 0x140042222
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140042565
call fcn.14004b2ec
mov rcx, rax
test rax, rax
je 0x1400423c1
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14004222a
mov rcx, rbx
call fcn.14004b2ec
mov qword [rsp + 0x30], rax
add rbx, rax
mov qword [rsp + 0x40], rbx
mov r8, qword [rbp + 0x250]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea rbx, [rsi + 0xc]
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x248]
mov rcx, qword [rbp + 0x240]
call fcn.14003c860
mov qword [rbp + 0x258], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
sub rbx, rsi
mov qword [rbp + 0x250], rbx
sar rbx, 2
test rbx, rbx
je 0x14004231f
movabs rax, 0x3fffffffffffffff
cmp rbx, rax
ja 0x14004256b
lea rbx, [rbx*4]
test rbx, rbx
jne 0x1400422be
xor eax, eax
jmp 0x1400422fb
cmp rbx, 0x1000
jb 0x1400422f3
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140042565
call fcn.14004b2ec
mov rcx, rax
test rax, rax
je 0x1400423c1
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400422fb
mov rcx, rbx
call fcn.14004b2ec
mov qword [rsp + 0x30], rax
add rbx, rax
mov qword [rsp + 0x40], rbx
mov r8, qword [rbp + 0x250]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x248]
mov rcx, qword [rbp + 0x240]
call fcn.14003c860
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
lea rax, [r14 + 0xc]
sub rax, r14
mov qword [rbp + 0x250], rax
mov rbx, rax
sar rbx, 2
test rbx, rbx
je 0x1400423f4
movabs rax, 0x3fffffffffffffff
cmp rbx, rax
ja 0x14004256b
lea rbx, [rbx*4]
test rbx, rbx
jne 0x140042390
xor eax, eax
jmp 0x1400423d0
cmp rbx, 0x1000
jb 0x1400423c8
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140042565
call fcn.14004b2ec
mov rcx, rax
test rax, rax
je 0x1400423c1
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400423d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14004b2ec
mov qword [rsp + 0x30], rax
add rbx, rax
mov qword [rsp + 0x40], rbx
mov r8, qword [rbp + 0x250]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x30]
mov rdx, qword [rbp + 0x248]
mov rcx, qword [rbp + 0x240]
call fcn.14003c860
mov rbx, rax
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [0x1400a8ffc]
mov rdx, qword [rbp + 0x258]
mov rcx, qword [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [0x1400a8ffc]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [0x1400a8ffc]
mov rdx, rbx
mov rcx, qword [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test r14, r14
je 0x1400424cd
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400424c4
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400424c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14004b034
nop
test rsi, rsi
je 0x140042512
sub r12, rsi
sar r12, 2
lea rdx, [r12*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140042509
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042509
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14004b034
nop
test r15, r15
je 0x140042551
sub rdi, r15
and rdi, 0xfffffffffffffffc
mov rax, r15
cmp rdi, 0x1000
jb 0x140042546
add rdi, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042546
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rdi
mov rcx, r15
call fcn.14004b034
add rsp, 0x2f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140039f20
nop
call fcn.14004a8f0
int3