Function at 0x140046f60
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 0x1400471a3
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400471a3
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 0x140047026
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 0x140047283
jmp 0x140047029
mov rbx, rdi
mov qword [rsp + 0x58], rbx
test rbx, rbx
je 0x140047278
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14004704c
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 0x140047070
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140045b30
nop
cmp qword [rbx + 8], 0
jne 0x14004709b
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 0x140047104
lea rcx, [rsp + 0x38]
cmp rsi, 0x10
cmovae rcx, rdi
mov qword [rsp + 0x20], ntohl
lea r9, str.GameProcess
mov rdx, r14
call fcn.14004a7e0
cmp rax, 0xffffffffffffffff
jne 0x1400471df
cmp rsi, 0x10
jb 0x14004713b
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140047133
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047271
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 0x14004718d
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004716e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140047180
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 0x140046fe0
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 0x140047217
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004720f
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047271
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 0x1400471a3
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004724d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004725f
call fcn.1400af708
mov qword [rbx + 8], rdi
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1400af708
jmp 0x1400471a3
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