Function at 0x18000ad60
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
cmp dword [rsp + 0x98], 1
jne 0x18000b047
lea rcx, [0x180085c80]
call fcn.180001800
call fcn.1800014d0
movzx eax, al
test eax, eax
je 0x18000ad9d
jmp 0x18000ae06
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x180050df8]
lea rcx, [0x180050dfc]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x180050df8]
lea rcx, [0x180050dfc]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
lea rcx, str._Crashed.
call fcn.180001140
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.1800014d0
lea rcx, str.VALORANT_Win64_Shipping.exe
call fcn.1800016b0
test eax, eax
je 0x18000b047
mov eax, 4
mov eax, eax
mov ecx, dword [0x1800856f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x180085f50], eax
jle 0x18000ae89
lea rcx, [0x180085f50]
call fcn.18004da84
cmp dword [0x180085f50], 0xffffffff
jne 0x18000ae89
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180085f70], rax
lea rcx, [0x180085f50]
call fcn.18004da24
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 [0x180085f70]
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x20]
mov r8d, 0x30
mov rdx, qword [rsp + 0x28]
mov ecx, 0x42
call qword [rsp + 0x58]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x20]
add eax, 0x1f
mov eax, eax
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x28]
mov edx, 8
mov rcx, qword [rsp + 0x68]
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 [0x180085f70]
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x42
call qword [rsp + 0x70]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
cmp qword [rsp + 0x48], 0
je 0x18000b01c
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x24], 0
jmp 0x18000afa8
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x24], eax
jae 0x18000b01c
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
and rax, 0xfffffffffffffffe
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
and rax, 1
test rax, rax
je 0x18000b01a
mov rax, qword [rsp + 0x38]
cmp qword [rax + 8], 0x200000
jne 0x18000b01a
cmp qword [rsp + 0x50], 0
jne 0x18000b01a
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x10], 0x546e6f43
jne 0x18000b01a
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
jmp 0x18000af9e
mov rax, qword [rsp + 0x50]
mov qword [0x180085d18], rax
mov rax, qword [0x180085d18]
mov qword [0x180085da8], rax
call fcn.180001650
mov qword [0x180085df8], rax
call fcn.18000aca0
xor al, al
add rsp, 0x88
ret