Function at 0x140004690
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
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 rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rbx
cmp rbx, 0xffffffffffffffff
je 0x140004994
mov rsi, rbx
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
test eax, eax
je 0x1400047c9
mov rdi, qword [rsp + 0x38]
nop word [rax + rax]
lea rcx, [rbp - 0x24]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140004780
lea rcx, [rsp + 0x28]
cmp r15, 0xf
cmova rcx, r14
cmp rdi, rax
jne 0x1400047b5
test rdi, rdi
je 0x14000480a
mov r8, rdi
lea rdx, [rbp - 0x24]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
jne 0x14000480a
mov rsi, rbx
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140004770
test rsi, rsi
je 0x1400047d8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp r15, 0xf
jbe 0x140004827
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14000481f
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000481f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r12d, dword [rbp - 0x48]
test rbx, rbx
je 0x14000481d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1400047d8
mov rcx, r14
call fcn.140005384
test r12d, r12d
je 0x14000491d
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 0x14000494d
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 0x1400048e3
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400048de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005384
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 0x1400048fd
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.140005320
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
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, [0x140008ff8]
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, [0x140008ff8]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3