Function at 0x140003b10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, r9
mov rdi, r8
mov ebx, edx
xor r14d, r14d
mov dword [rsp + 0x60], r14d
mov edx, 0x10
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14000ba18], eax
jle 0x140003b9b
lea rcx, [0x14000ba18]
call fcn.140004e74
cmp dword [0x14000ba18], 0xffffffff
jne 0x140003b9b
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x14000ba08], rax
lea rcx, [0x14000ba18]
call fcn.140004e08
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], r14b
mov ecx, ebx
test ebx, ebx
je 0x140003c0b
sub ecx, 1
je 0x140003bea
cmp ecx, 1
jne 0x140003fb6
mov edx, 0xc
mov rcx, qword [0x14000ba08]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.ERROR
mov r8d, 5
jmp 0x140003c2a
mov edx, 0xe
mov rcx, qword [0x14000ba08]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.INFO
mov r8d, 4
jmp 0x140003c2a
mov edx, 0xa
mov rcx, qword [0x14000ba08]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.SUCCESS
mov r8d, 7
lea rcx, [rsp + 0x68]
call fcn.140001cc0
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140006660]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x60], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x70], r15
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x68], rax
mov qword [rbp], r14
mov dword [rbp + 8], 4
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, rax
mov qword [rsp + 0x60], rdx
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov r8, rax
lea rdx, [rsp + 0x20]
call fcn.1400012c0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140003d11
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400044d0
lea rdx, [0x1400066e8]
mov rcx, rax
call fcn.1400042b0
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rax
call fcn.1400044d0
lea rdx, [0x1400066e4]
mov rcx, rax
call fcn.1400042b0
mov rcx, rax
mov rdx, rsi
call fcn.1400042b0
mov rcx, rax
lea rdx, [0x1400066e0]
call fcn.1400042b0
mov rcx, rax
mov rdx, rdi
call fcn.1400042b0
mov rcx, rax
lea rdx, [0x1400066dc]
call fcn.1400042b0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140003dce
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003dc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003dc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004dd4
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov r9d, 0xf
mov qword [rsp + 0x38], r9
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x60], 5
movups xmmword [rsp + 0x40], xmm0
mov ecx, dword [rbp + 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140003e24
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x140003e24
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x140003e55
test cl, 4
jne 0x140003e4b
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x140003e4b
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140003e55
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140003e69
lea rcx, [rsp + 0x20]
call fcn.140001cc0
mov r9, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
cmp r9, 0xf
cmova rcx, qword [rsp + 0x20]
call fcn.140002170
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140003ebd
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003eb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003eb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004dd4
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov edx, 0xf
mov rcx, qword [0x14000ba08]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp ebx, 2
jne 0x140003f14
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r15
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.140001ac0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140003f90
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004dd4
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140004b30
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x18
call fcn.140004b50
mov qword [rsp + 0x58], rax
mov rcx, rax
call fcn.1400021d0
mov qword [rsp + 0x60], rax
lea rdx, [0x140008f30]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3