Function at 0x14003bacc
Capabilities:
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x220
mov rax, qword [0x1400ccc00]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rcx, [0x1400cdd38]
call fcn.1400369c0
lea rcx, [0x1400cda88]
call fcn.140036a5c
lea rcx, [0x1400cdd50]
call fcn.140036a28
lea rcx, [0x1400cda40]
call fcn.14003698c
lea rcx, [0x1400cda98]
call fcn.1400369f4
nop
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.14002e440
mov rcx, rax
call fcn.140037c78
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.14002c5e0
nop
lea rcx, [rsp + 0xe8]
call fcn.140035680
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x21]
call fcn.14002e754
mov rcx, rax
call fcn.14002dbc0
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140028e38
nop
lea rcx, [0x1400cdac0]
call fcn.14004af80
nop
movzx eax, byte [0x1400cdcd0]
test eax, eax
jne 0x14003bc55
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x22]
call fcn.14002e9a4
mov rcx, rax
call fcn.14002de80
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.140028e38
lea rdx, [0x1400cdcd8]
mov rcx, rax
call fcn.140028a68
nop
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x23]
call fcn.14002ebd4
mov rcx, rax
call fcn.14002dd80
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140028e38
nop
lea rcx, [rsp + 0x158]
call fcn.14002c804
nop
lea rcx, [rsp + 0x138]
call fcn.14002c804
nop
lea rcx, [rsp + 0xc8]
call fcn.14002c804
nop
lea rdx, [rsp + 0x28]
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:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
nop
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 1
je 0x14003bcf2
jmp 0x14003bd97
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x24]
call fcn.14002ec78
mov rcx, rax
call fcn.14002dbe0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140028e38
nop
lea rdx, [rsp + 0xc8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140028754
nop
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x78]
call fcn.14002c550
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [0x1400cdac0]
call fcn.14004c800
nop
call fcn.140032058
nop
jmp 0x14003be06
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x25]
call fcn.14002ecf0
mov rcx, rax
call fcn.14002dce0
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.140028e38
nop
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
movzx eax, byte [0x1400cdcd0]
test eax, eax
jne 0x14003be8f
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x26]
call fcn.14002ed74
mov rcx, rax
call fcn.14002de80
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.140028e38
lea rdx, [0x1400cdcd8]
mov rcx, rax
call fcn.140028a68
nop
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140036730
nop
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0xc8]
call fcn.14002d4e8
nop
lea rcx, [rsp + 0x138]
call fcn.14002d4e8
nop
lea rcx, [rsp + 0x158]
call fcn.14002d4e8
nop
lea rcx, [rsp + 0xe8]
call fcn.14002d4e8
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1400a2370
add rsp, 0x220
pop rdi
ret