Function at 0x140046b90
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400da060]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor edi, edi
mov r13d, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140046dd3
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140046dd3
lea r15, [rdi - 1]
nop word [rax + rax]
mov ecx, Ordinal_27
call fcn.1400afa1c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140046c56
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], 1
lea rcx, [rbp - 0x74]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140046eb3
jmp 0x140046c59
mov rbx, rdi
mov qword [rsp + 0x58], rbx
test rbx, rbx
je 0x140046ea8
mov rax, qword [rbx + 8]
test rax, rax
jne 0x140046c7c
mov rcx, qword [rbx]
call fcn.1400b0a00
mov qword [rbx + 8], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8, r15
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140046ca0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140045b30
nop
cmp qword [rbx + 8], 0
jne 0x140046ccb
mov rcx, qword [rbx]
call fcn.1400b0a00
mov qword [rbx + 8], rax
lea rcx, [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x50]
cmp rsi, 0x10
cmovae rcx, rdi
mov qword [rsp + 0x20], 6
lea r9, str.FiveM_
mov r14, qword [rsp + 0x48]
mov rdx, r14
call fcn.14004a7e0
cmp rax, 0xffffffffffffffff
je 0x140046d34
lea rcx, [rsp + 0x38]
cmp rsi, 0x10
cmovae rcx, rdi
mov qword [rsp + 0x20], 0xa
lea r9, str.GTAProcess
mov rdx, r14
call fcn.14004a7e0
cmp rax, 0xffffffffffffffff
jne 0x140046e0f
cmp rsi, 0x10
jb 0x140046d6b
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140046d63
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046ea1
mov rcx, rdi
call fcn.1400af708
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], dil
mov eax, r15d
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140046dbd
mov rcx, qword [rbx]
test rcx, rcx
je 0x140046d9e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140046db0
call fcn.1400af708
mov qword [rbx + 8], rdi
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1400af708
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140046c10
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r13d
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400af130
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r13d, dword [rsp + 0x68]
cmp rsi, 0x10
jb 0x140046e47
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140046e3f
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046ea1
mov rcx, rdi
call fcn.1400af708
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], dil
lock xadd dword [rbx + 0x10], r15d
cmp r15d, 1
jne 0x140046dd3
mov rcx, qword [rbx]
test rcx, rcx
je 0x140046e7d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140046e8f
call fcn.1400af708
mov qword [rbx + 8], rdi
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1400af708
jmp 0x140046dd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x8007000e
call fcn.1400b09f0
nop
mov ecx, 0x8007000e
call fcn.1400b09f0
int3