Function at 0x140003ae0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, qword [0x140024fa0]
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov rsi, 0xffffffffffffffff
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x140003b40
add eax, 0x11
movsxd rdi, eax
mov rcx, rdi
call fcn.140016760
mov rbx, rax
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [0x14001a554]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, str.GamingModeState
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140005210
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
mov rbx, rsi
nop dword [rax + rax]
lea rbx, [rbx + 1]
cmp byte [r14 + rbx], 0
jne 0x140003bc0
test al, al
je 0x140003c72
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea eax, [rbx + 0x11]
movsxd rbx, eax
mov rcx, rbx
call fcn.140016760
mov rdi, rax
mov r8, r14
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [0x14001a554]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, str.GamingModeState
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8d, 2
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.1400044a0
nop
cmp qword [rbp + 0x108], 0
jne 0x140003c59
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.ready
lea rcx, [rbp + 0x80]
call fcn.1400059b0
nop
jmp 0x140003f65
lea eax, [rbx + 0x11]
movsxd rbx, eax
mov rcx, rbx
call fcn.140016760
mov rdi, rax
mov r8, r14
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [0x14001a554]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, str.GamingModeState
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov r8, rsi
nop
inc r8
cmp byte [rdi + r8], al
jne 0x140003cd0
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140005de0
nop
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
lea rcx, [rbp + 0x80]
call fcn.140005210
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x80], rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x7c], edx
cmp qword [rbp + 0x110], 0
je 0x140003fac
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
mov rcx, qword [rbp + 0x60]
add rcx, qword [rbp + 0x68]
lea rcx, [rbp + 0x90]
jne 0x140003ddc
call fcn.140005560
test rax, rax
jne 0x140003dc9
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x80]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rbp + 0x80]
call fcn.140003fc0
xor bl, bl
jmp 0x140003e76
call fcn.140005560
test rax, rax
jne 0x140003e08
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x80]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x190]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
jne 0x140003fac
mov rbx, qword [rbp + 0x1b0]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, 0xfffffffffff6c580
add rax, rdx
cmp rbx, rax
setge bl
lea rcx, [rbp + 0x80]
call fcn.140003fc0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140003eb6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003eb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003eb1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400166f0
test bl, bl
je 0x140003ec1
xor bl, bl
jmp 0x140003f73
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
inc rsi
cmp byte [r14 + rsi], 0
jne 0x140003ed5
add esi, 0x11
movsxd rbx, esi
mov rcx, rbx
call fcn.140016760
mov rdi, rax
mov r8, r14
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [0x14001a554]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, str.GamingModeState
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8d, 0x12
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.1400044a0
nop
cmp qword [rbp + 0x108], 0
jne 0x140003f51
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.ready
lea rcx, [rbp + 0x80]
call fcn.1400059b0
nop
lea rcx, [rbp + 0x80]
call fcn.140004080
mov bl, 1
lea rcx, [rsp + 0x50]
call fcn.140003fc0
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400166d0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3