Function at 0x1400047b0
Capabilities:
Enumerate processes
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x230
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x220], rax
xor r12d, r12d
mov dword [rsp + 0xd0], r12d
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rsp + 0xd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rsp + 0xd0]
or edx, 4
mov dword [rsp + 0xd0], edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0x12
lea rdx, str.e_38_2_30_144_255m
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0x1e
lea rdx, str.microcheat___by_Austin__Micro_
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 4
lea rdx, str.e_0m
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 1
lea rdx, [0x1400078d8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
lea rdx, [0x140004ea0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x48], 0xf
mov rbx, qword [str.cs2.exe]
mov dword [rsp + 0x30], ebx
movzx r14d, word [0x14000785c]
mov word [rsp + 0x34], r14w
movzx r15d, byte [0x14000785e]
mov byte [rsp + 0x36], r15b
mov byte [rsp + 0x37], r12b
mov dword [rsp + 0xf0], 0x130
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0xf4]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], 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 [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rsi
cmp rsi, 0xffffffffffffffff
je 0x140004dd9
mov rdi, rsi
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400049e6
mov rcx, rsi
mov rdx, rsi
lea r8, [rsp + 0x11c]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x140004980
cmp rax, 7
jne 0x1400049b1
mov rdi, rcx
cmp ebx, dword [rsp + 0x11c]
jne 0x1400049b1
cmp r14w, word [rsp + 0x120]
jne 0x1400049b1
cmp r15b, byte [rsp + 0x122]
je 0x1400049ce
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x1400049e6
mov rcx, rdi
mov rdx, rdi
jmp 0x140004971
mov ebx, dword [rsp + 0xf8]
test rdx, rdx
je 0x1400049e4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1400049f8
test rdi, rdi
je 0x1400049f5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ebx, r12d
test ebx, ebx
jne 0x140004adc
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov ecx, 0x30
call fcn.140005410
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0x21
mov qword [rsp + 0x68], 0x2f
movups xmm0, xmmword [str.The_target_process_was_not_found.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400078f0]
movups xmmword [rax + 0x10], xmm1
movzx ecx, byte [0x140007900]
mov byte [rax + 0x20], cl
mov byte [rax + 0x21], bl
lea rdx, str._ERROR_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004f90
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400051e0
lea rdx, [0x140004ea0]
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 rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140004adc
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ad6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ad6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005454
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
mov r8d, ebx
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 [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rbx
mov dword [rsp + 0xd0], 1
test rbx, rbx
je 0x140004e2a
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400079f0]
movdqu xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [str.._micro.dll]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x140007850]
mov word [rsp + 0x38], ax
movzx eax, byte [0x140007852]
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140001310
movzx edi, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004bb5
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004bb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005454
test dil, dil
jne 0x140004c9f
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov ecx, 0x20
call fcn.140005410
mov rcx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x19
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.Mapping_was_unsuccessful.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140007918]
movsd qword [rax + 0x10], xmm0
movzx eax, byte [0x140007920]
mov byte [rcx + 0x18], al
mov byte [rcx + 0x19], dil
lea rdx, str._ERROR_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004f90
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400051e0
lea rdx, [0x140004ea0]
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 rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004c9f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005454
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov ecx, 0x20
call fcn.140005410
mov rdx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x1e
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.Successfully_loaded_the_cheat_]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140007938]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140007940]
mov dword [rax + 0x18], ecx
movzx eax, word [0x140007944]
mov word [rdx + 0x1c], ax
mov byte [rdx + 0x1e], 0
lea rdx, str._SUCCESS_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004f90
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400051e0
lea rdx, [0x140004ea0]
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 rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004d8a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005454
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x140004dab
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400053f0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rsp + 0xb0]
call fcn.1400011d0
nop
mov r8, rax
lea rdx, str.CreateToolhelp32Snapshot_failed:
lea rcx, [rsp + 0x50]
call fcn.140004100
nop
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140004ee0
lea rdx, [0x140008f40]
lea rcx, [rsp + 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400011d0
nop
mov r8, rax
lea rdx, str.OpenProcess_failed:
lea rcx, [rsp + 0xb0]
call fcn.140004100
nop
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140004ee0
lea rdx, [0x140008f40]
lea rcx, [rsp + 0x98]
call sub.VCRUNTIME140.dll__CxxThrowException
int3