Function at 0x140045630
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x178
lea rdx, str.___Process_Attach.
lea rcx, [rsp + 0x148]
call fcn.1400024b0
nop
lea rdx, str.____Error__Restart_Your_Computer.
lea rcx, [rsp + 0x128]
call fcn.1400024b0
nop
lea rdx, str.____Error__Valorant_Stopping
lea rcx, [rsp + 0x108]
call fcn.1400024b0
nop
call fcn.14003a3b0
movzx eax, al
test eax, eax
je 0x140045694
lea rcx, [0x1400b64c8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x14004575e
lea rcx, [0x1400b64c8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.color_c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rsp + 0x128]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140002440
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400460b0
mov qword [rsp + 0x98], rax
jmp 0x1400456f4
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x38], rax
je 0x14004574b
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
movzx edx, byte [rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140047010
mov dword [rsp + 0x58], 0x32
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xf0]
call fcn.140046970
mov rcx, rax
call fcn.140046980
jmp 0x1400456e7
mov ecx, 0xbb8
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 rcx, str.VALORANT_Win64_Shipping.exe
call fcn.14003a460
test eax, eax
je 0x140045a57
mov eax, 0x10
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1400e4154], eax
jle 0x1400457d5
lea rcx, [0x1400e4154]
call fcn.140048354
cmp dword [0x1400e4154], 0xffffffff
jne 0x1400457d5
lea rcx, [0x1400b5e60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400b5e40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e41b8], rax
lea rcx, [0x1400e4154]
call fcn.1400482e8
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor r8d, r8d
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r9d, 0xff
mov r8, qword [rsp + 0x28]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1400e41b8]
mov qword [rsp + 0xa8], rax
lea r9, [rsp + 0x20]
mov r8d, 0x30
mov rdx, qword [rsp + 0x28]
mov ecx, 0x42
call qword [rsp + 0xa8]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x20]
add eax, 0x1f
mov eax, eax
mov qword [rsp + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0xb8], rax
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0x28]
mov edx, 8
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [0x1400e41b8]
mov qword [rsp + 0xc0], rax
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x42
call qword [rsp + 0xc0]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0
cmp qword [rsp + 0x70], 0
je 0x140045989
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x24], 0
jmp 0x14004590c
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x24], eax
jae 0x140045989
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x70]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
and rax, 0xfffffffffffffffe
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
and rax, 1
test rax, rax
je 0x140045984
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0x200000
jne 0x140045984
cmp qword [rsp + 0x78], 0
jne 0x140045984
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0x546e6f43
jne 0x140045984
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x78], rax
jmp 0x140045902
mov rax, qword [rsp + 0x78]
mov qword [0x1400e3748], rax
mov rax, qword [0x1400e3748]
mov qword [0x1400e3800], rax
lea rcx, [0x1400b64c8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rsp + 0x148]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.140002440
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400460b0
mov qword [rsp + 0xd0], rax
jmp 0x1400459f6
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rsp + 0x48], rax
je 0x140045a4d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
movzx edx, byte [rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140047010
mov dword [rsp + 0x64], 0x32
lea rdx, [rsp + 0x64]
lea rcx, [rsp + 0xf8]
call fcn.140046970
mov rcx, rax
call fcn.140046980
jmp 0x1400459e9
call fcn.140044bc0
jmp 0x140045b22
lea rcx, [0x1400b64c8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.color_c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rsp + 0x108]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140002440
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400460b0
mov qword [rsp + 0xe0], rax
jmp 0x140045ab7
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x50], rax
je 0x140045b0e
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
movzx edx, byte [rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140047010
mov dword [rsp + 0x68], 0x32
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x100]
call fcn.140046970
mov rcx, rax
call fcn.140046980
jmp 0x140045aaa
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rsp + 0x108]
call fcn.140002450
nop
lea rcx, [rsp + 0x128]
call fcn.140002450
nop
lea rcx, [rsp + 0x148]
call fcn.140002450
add rsp, 0x178
ret