Function at 0x140005800
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 - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1400a1080]
xor rax, rsp
mov qword [rbp + 0x290], rax
xor edx, edx
xor r14d, r14d
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140005a56
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140005a4d
lea edi, [r14 + 0xa]
movabs r12, 0x7ffffffffffffffe
movabs r13, 0x7fffffffffffffff
nop dword [rax]
lea rax, [rbp + 0x80]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x7c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], r14
lea rax, [rbp + 0x80]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x1400058e0
cmp rbx, r12
ja 0x140005ad9
cmp rbx, 7
ja 0x140005929
mov qword [rsp + 0x40], rbx
lea rdx, [rbp + 0x80]
add rbx, rbx
mov qword [rsp + 0x48], 7
mov r8, rbx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x30], r14w
jmp 0x1400059cf
mov rsi, rbx
or rsi, 7
cmp rsi, r12
jbe 0x140005942
mov rsi, r12
lea rcx, [r13*2]
jmp 0x140005963
cmp rsi, 0xa
cmovb rsi, rdi
lea rcx, [rsi + 1]
cmp rcx, r13
ja 0x140005ad3
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000598f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005ad3
mov rcx, rax
call fcn.14007def0
test rax, rax
je 0x140005ac2
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400059a1
test rcx, rcx
je 0x14000599e
call fcn.14007def0
mov rdi, rax
jmp 0x1400059a1
mov rdi, r14
mov qword [rsp + 0x40], rbx
lea rdx, [rbp + 0x80]
add rbx, rbx
mov qword [rsp + 0x30], rdi
mov r8, rbx
mov qword [rsp + 0x48], rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r14w
mov edi, 0xa
cmp qword [rsp + 0x48], 7
lea rcx, [rsp + 0x30]
lea rdx, str.VALORANT_Win64_Shipping.exe
cmova rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rdx, qword [rsp + 0x48]
test eax, eax
je 0x140005a89
cmp rdx, 7
jbe 0x140005a37
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a32
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005ac2
call fcn.14007e16c
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140005890
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.14007ded0
lea r11, [rsp + 0x3a0]
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 r14d, dword [rsp + 0x58]
cmp rdx, 7
jbe 0x140005a4d
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ac9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005ac9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e16c
jmp 0x140005a4d
call fcn.140001c40
int3
call fcn.140001ce0
int3