Function at 0x140004690
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 - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov r8d, 7
lea rdx, str.cs2.exe
lea rcx, [rsp + 0x28]
call fcn.140003dc0
nop
mov dword [rbp - 0x50], 0x130
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rsi
cmp rsi, 0xffffffffffffffff
je 0x14000499c
mov rdi, rsi
lea rdx, [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32First]
mov r13, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
test eax, eax
je 0x1400047e6
mov rbx, rsi
mov rdx, rsi
mov r8, rsi
mov r15, qword [rsp + 0x38]
lea rcx, [rbp - 0x24]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140004780
lea rcx, [rsp + 0x28]
cmp r13, 0xf
jbe 0x14000479d
mov rcx, r14
mov rdi, rbx
mov rdx, r8
cmp r15, rax
jne 0x1400047b5
mov rdi, rdx
mov r8, r15
lea rdx, [rbp - 0x24]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400047d1
mov rbx, rdi
lea rdx, [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1400047e6
mov rdx, rbx
mov r8, rbx
jmp 0x140004772
mov r12d, dword [rbp - 0x48]
test rsi, rsi
je 0x1400047e4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1400047f5
test rdi, rdi
je 0x1400047f5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp r13, 0xf
jbe 0x14000482f
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140004827
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004827
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140005374
test r12d, r12d
je 0x140004925
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov r8d, r12d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rbx
mov dword [rsp + 0x20], 1
test rbx, rbx
je 0x140004955
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, 0xb
lea rdx, str.._Dexus.dll
lea rcx, [rsp + 0x28]
call fcn.140003dc0
nop
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140001310
movzx edi, al
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400048eb
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400048e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005374
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test dil, dil
lea rdx, str.Dexus_loaded__press_insert.
jne 0x140004905
lea rdx, str.Failed_to_inject.
call fcn.140004ca0
lea rdx, [0x140004e80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140005310
lea r11, [rsp + 0x1f0]
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
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.1400011d0
nop
mov r8, rax
lea rdx, str.OpenProcess_failed:
lea rcx, [rsp + 0x60]
call fcn.140003b80
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140005050
lea rdx, [0x140008f78]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1400011d0
nop
mov r8, rax
lea rdx, str.CreateToolhelp32Snapshot_failed:
lea rcx, [rbp - 0x80]
call fcn.140003b80
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140005050
lea rdx, [0x140008f78]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3