Function at 0x140044220
Capabilities:
Check for debugger via api
Check for outputdebugstring error
Execute command
Log keystrokes via polling
Print debug messages
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rcx, str.color_a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._n_n_Connecting..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046a50
lea rcx, [0x14015f170]
call fcn.140054a40
movzx eax, byte [0x14015f380]
test eax, eax
jne 0x1400442b3
lea rcx, [0x140127624]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._n_Status:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046a50
lea rdx, [0x14015f388]
mov rcx, rax
call fcn.140046c20
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rdx, str._n_Loader_Version:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046a50
lea rdx, [0x14015f270]
mov rcx, rax
call fcn.140046c20
lea rcx, [0x14015f170]
call fcn.140051970
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x38]
call fcn.1400458d0
nop
lea rcx, [0x140127624]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._nEnter_Licence:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046a50
lea rdx, [rsp + 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140047100
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.1400458f0
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [0x14015f170]
call fcn.140055f70
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [0x14015f380]
test eax, eax
jne 0x1400443af
lea rdx, str._n_Status:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046a50
lea rdx, [0x14015f388]
mov rcx, rax
call fcn.140046c20
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140127624]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rcx, [0x140127624]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.qwertyssddsjdfkjd
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov edx, 0x46
lea rcx, [rsp + 0x58]
call fcn.14003d8a0
nop
lea rcx, [rsp + 0x58]
call fcn.140045690
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140043a50
lea rcx, str.qwertyssddsjdfkjd
call qword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
movzx eax, ax
test eax, eax
jne 0x140044418
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x20], 0
jne 0x14004443a
cmp dword [rsp + 0x20], 1
jne 0x140044442
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str.Using_a_debugger_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140044469
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.140043a50
lea rcx, str.qwertyssddsjdfkjd
call qword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
movzx eax, ax
test eax, eax
jne 0x14004448a
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x20], 0
jne 0x1400444ac
cmp dword [rsp + 0x20], 1
jne 0x1400444b4
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str.Using_a_debugger_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400444db
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.1400398c0
movzx eax, al
test eax, eax
je 0x1400444eb
jmp 0x1400444fb
call fcn.140039250
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140127624]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._n_Please_open_the_game_and_press_F1_in_the_Lobby..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140046a50
xor eax, eax
cmp eax, 1
je 0x140044536
mov ecx, reloc.WS2_32.dll_WSASetLastError
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140044534
jmp 0x140044536
jmp 0x14004451b
lea rcx, str.VALORANT_Win64_Shipping.exe
call fcn.140039990
cmp dword [0x14015ef38], 0
je 0x14004455c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140043c40
nop
lea rcx, [rsp + 0x58]
call fcn.140045770
nop
lea rcx, [rsp + 0x38]
call fcn.140045770
jmp 0x140044575
xor eax, eax
add rsp, 0xa8
ret