Function at 0x140001540
Capabilities:
Enumerate processes
Execute command
Log keystrokes via polling

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 - 0x640]
sub rsp, 0x740
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x630], rax
lea rcx, [0x140005580]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400015e3
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400015da
lea rdx, [0x140005578]
lea rcx, [rbp - 0x34]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rcx, rbx
test rax, rax
jne 0x14000162b
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400015b3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x140005570]
lea rcx, [rbp - 0x80]
call fcn.1400027b0
nop
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001637
mov r9d, 0x10
lea r8, [0x140005524]
lea rdx, str.Error_Creating_Process_Snapshot
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400016e7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x34]
jmp 0x1400015ea
mov dword [rbp + 0x1e0], 0x238
lea rdx, [rbp + 0x1e0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400016de
nop dword [rax]
lea r8, [rbp + 0x20c]
mov edx, 0x104
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea r8, str.GTAProcess.exe
mov edx, 0x104
lea rcx, [rbp + 0x420]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rbp + 0x420]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, [rbp + 0x420]
lea rcx, [rbp - 0x60]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rcx, rbx
test rax, rax
jne 0x14000174e
lea rdx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001660
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Process_Not_Found
mov r9d, 0x10
lea r8, [0x140005524]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140001afd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001af8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001af8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp + 0x1e8]
test r8d, r8d
je 0x1400016e7
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140001aec
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], rax
movdqu xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x60], rax
lea rdx, str.Finding_Adr_Please_Waitiing..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002bf0
mov rcx, rax
lea rdx, [0x140002dd0]
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]
lea r8, [0x1400056d0]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140001390
lea rcx, [rsp + 0x68]
cmp rcx, rax
je 0x140001808
mov r13, qword [rax]
mov qword [rsp + 0x68], r13
mov r15, qword [rax + 8]
mov qword [rsp + 0x70], r15
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x78], rcx
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
jmp 0x140001812
mov r15, qword [rsp + 0x70]
mov r13, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001855
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001850
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001850
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003660
cmp r13, r15
je 0x140001973
inc dword [0x14000877c]
lea rdx, str.success_step__:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002bf0
mov rcx, rax
mov edx, dword [0x14000877c]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140002dd0]
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]
lea r8, [0x1400056a8]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140001390
lea rcx, [rsp + 0x50]
cmp rcx, rax
je 0x1400018e7
mov r12, qword [rax]
mov qword [rsp + 0x50], r12
mov rdi, qword [rax + 8]
mov qword [rsp + 0x58], rdi
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
jmp 0x1400018f1
mov rdi, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001934
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000192f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000192f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003660
cmp r12, rdi
je 0x14000197d
inc dword [0x14000877c]
lea rdx, str.success_step__:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002bf0
mov rcx, rax
mov edx, dword [0x14000877c]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140002dd0]
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]
jmp 0x14000197d
mov rdi, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
lea rcx, [0x140005580]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop word [rax + rax]
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140001a44
lea rdx, str.enable
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002bf0
mov rcx, rax
lea rdx, [0x140002dd0]
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]
mov r14, r13
cmp r13, r15
je 0x140001a44
nop
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [0x1400056b8]
mov rdx, qword [r14]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rbx, r12
cmp r12, rdi
je 0x140001a3b
nop word [rax + rax]
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [0x1400056bc]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rbx, 8
cmp rbx, rdi
jne 0x140001a10
add r14, 8
cmp r14, r15
jne 0x1400019e0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400019a0
mov r14, r13
cmp r13, r15
je 0x140001ac4
nop
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [0x1400056e0]
mov rdx, qword [r14]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rbx, r12
cmp r12, rdi
je 0x140001abb
nop word [rax + rax]
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [0x1400056f0]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rbx, 8
cmp rbx, rdi
jne 0x140001a90
add r14, 8
cmp r14, r15
jne 0x140001a60
lea rdx, str.disable
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002bf0
mov rcx, rax
lea rdx, [0x140002dd0]
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]
jmp 0x1400019a0
lea rdx, str.Failed_To_Process
jmp 0x1400016ee
call fcn.140003660
xor eax, eax
mov rcx, qword [rbp + 0x630]
xor rcx, rsp
call fcn.140003640
lea r11, [rsp + 0x740]
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