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

Disassembly:
push rdi
sub rsp, 0x5a0
mov rax, qword [0x1401eb3c0]
xor rax, rsp
mov qword [rsp + 0x598], rax
lea rcx, [0x1402b16e8]
call fcn.14003c2b0
lea rcx, [0x1402b13f8]
call fcn.14003c210
lea rcx, [0x1402b1780]
call fcn.14003c170
lea rcx, [0x1402b0678]
call fcn.14003c0f0
lea rcx, [0x1402b1428]
call fcn.14003c070
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0x30]
call fcn.14003bb50
mov rcx, rax
call fcn.14003c030
lea r8, [0x1402b1218]
mov rdx, rax
lea rcx, [rsp + 0x280]
call fcn.14003fa20
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r8, [0x1401abae8]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x260]
call fcn.14003fbd0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea r8, [0x1402b1238]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x578]
call fcn.14003fc20
nop
lea rcx, [rsp + 0x260]
call fcn.140009e50
nop
lea rcx, [rsp + 0x280]
call fcn.140009e50
lea rcx, [rsp + 0x578]
call fcn.1400250a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x31]
call fcn.14003bbf0
mov rcx, rax
call fcn.14003c010
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140027480
lea rcx, [0x1402b1450]
call fcn.140115780
movzx eax, byte [0x1402b1660]
test eax, eax
jne 0x14003b279
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x32]
call fcn.14003bc20
mov rcx, rax
call fcn.14003c1f0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.140027480
lea rdx, [0x1402b1668]
mov rcx, rax
call fcn.14003fe90
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]
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x33]
call fcn.14003bcc0
mov rcx, rax
call fcn.14003bff0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.140027480
lea rcx, [rsp + 0x538]
call fcn.140009ee0
nop
lea rcx, [rsp + 0x558]
call fcn.140009ee0
nop
lea rcx, [rsp + 0x518]
call fcn.140009ee0
nop
lea rdx, [rsp + 0x510]
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]
mov eax, dword [rsp + 0x510]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
je 0x14003b347
cmp dword [rsp + 0x40], 2
je 0x14003b4c8
cmp dword [rsp + 0x40], 3
je 0x14003b762
cmp dword [rsp + 0x40], 4
je 0x14003b8e3
jmp 0x14003b991
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x34]
call fcn.14003bd60
mov rcx, rax
call fcn.14003bfd0
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.140027480
lea rdx, [rsp + 0x538]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14003ffc0
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x2e8]
lea rcx, [rsp + 0x35]
call fcn.14003be00
mov rcx, rax
call fcn.14003bfb0
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call fcn.140027480
lea rdx, [rsp + 0x558]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14003ffc0
lea rax, [rsp + 0x378]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x558]
mov rcx, qword [rsp + 0xc0]
call fcn.140025290
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x398]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x538]
mov rcx, qword [rsp + 0xd8]
call fcn.140025290
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xf0], rax
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [0x1402b1450]
call fcn.1401186c0
jmp 0x14003b9fe
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x36]
call fcn.14003bd60
mov rcx, rax
call fcn.14003bfd0
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
call fcn.140027480
lea rdx, [rsp + 0x538]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14003ffc0
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x37]
call fcn.14003be00
mov rcx, rax
call fcn.14003bfb0
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call fcn.140027480
lea rdx, [rsp + 0x558]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14003ffc0
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x38]
call fcn.14003bea0
mov rcx, rax
call fcn.14003bf90
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x120]
call fcn.140027480
lea rdx, [rsp + 0x518]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14003ffc0
lea rax, [rsp + 0x3b8]
mov qword [rsp + 0x128], rax
lea rdx, [0x1401a749f]
mov rcx, qword [rsp + 0x128]
call fcn.140009e80
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x3d8]
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x518]
mov rcx, qword [rsp + 0x140]
call fcn.140025290
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x188], rax
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x158], rax
lea rdx, [rsp + 0x558]
mov rcx, qword [rsp + 0x158]
call fcn.140025290
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x418]
mov qword [rsp + 0x170], rax
lea rdx, [rsp + 0x538]
mov rcx, qword [rsp + 0x170]
call fcn.140025290
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x188]
mov r8, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x198]
lea rcx, [0x1402b1450]
call fcn.14011a870
jmp 0x14003b9fe
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x348]
lea rcx, [rsp + 0x39]
call fcn.14003bd60
mov rcx, rax
call fcn.14003bfd0
mov qword [rsp + 0x1a0], rax
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a8]
call fcn.140027480
lea rdx, [rsp + 0x538]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14003ffc0
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x2b8]
lea rcx, [rsp + 0x3a]
call fcn.14003bea0
mov rcx, rax
call fcn.14003bf90
mov qword [rsp + 0x1b0], rax
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1b8]
call fcn.140027480
lea rdx, [rsp + 0x518]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14003ffc0
lea rax, [rsp + 0x438]
mov qword [rsp + 0x1c0], rax
lea rdx, [rsp + 0x518]
mov rcx, qword [rsp + 0x1c0]
call fcn.140025290
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1e8], rax
lea rax, [rsp + 0x458]
mov qword [rsp + 0x1d8], rax
lea rdx, [rsp + 0x538]
mov rcx, qword [rsp + 0x1d8]
call fcn.140025290
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1f0], rax
mov r8, qword [rsp + 0x1e8]
mov rdx, qword [rsp + 0x1f0]
lea rcx, [0x1402b1450]
call fcn.14011df80
jmp 0x14003b9fe
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x200], rax
lea rax, [rsp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x3b]
call fcn.14003bea0
mov rcx, rax
call fcn.14003bf90
mov qword [rsp + 0x1f8], rax
mov rdx, qword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x200]
call fcn.140027480
lea rdx, [rsp + 0x518]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14003ffc0
lea rax, [rsp + 0x478]
mov qword [rsp + 0x208], rax
lea rdx, [rsp + 0x518]
mov rcx, qword [rsp + 0x208]
call fcn.140025290
mov qword [rsp + 0x210], rax
mov rdx, qword [rsp + 0x210]
lea rcx, [0x1402b1450]
call fcn.140117110
jmp 0x14003b9fe
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x220], rax
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x498]
lea rcx, [rsp + 0x3c]
call fcn.14003bf40
mov rcx, rax
call fcn.14003bf70
mov qword [rsp + 0x218], rax
mov rdx, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x220]
call fcn.140027480
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]
movzx eax, byte [0x1402b1660]
test eax, eax
jne 0x14003ba7f
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x3d]
call fcn.14003bc20
mov rcx, rax
call fcn.14003c1f0
mov qword [rsp + 0x228], rax
mov rdx, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x48]
call fcn.140027480
lea rdx, [0x1402b1668]
mov rcx, rax
call fcn.14003fe90
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]
call fcn.14003a160
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x518]
call fcn.140009e50
nop
lea rcx, [rsp + 0x558]
call fcn.140009e50
nop
lea rcx, [rsp + 0x538]
call fcn.140009e50
nop
lea rcx, [rsp + 0x578]
call fcn.140009e50
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x598]
xor rcx, rsp
call fcn.140187cd0
add rsp, 0x5a0
pop rdi
ret