Function at 0x140074c70
Capabilities:
Hide graphical window
Terminate process

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1400ca040]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
call fcn.140074ad0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0xa0], rax
mov dx, 1
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov dword [rsp + 0x110], 0x50
mov dword [rsp + 0x114], 0x40
lea rax, [0x140073060]
mov qword [rsp + 0x118], rax
mov dword [rsp + 0x120], 0
mov dword [rsp + 0x124], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x140], 0
mov qword [rsp + 0x148], 0
lea rax, [0x140092e68]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], 0
lea rcx, [rsp + 0x110]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0xcf0000
lea r8, str.ExternalProB1
mov rdx, qword [rsp + 0x150]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140072ee0
movzx eax, al
test eax, eax
jne 0x140074df7
call fcn.140072fc0
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 1
jmp 0x1400754b3
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov r9d, 8
mov r8d, 0x3dc
mov edx, 0x1550
lea rcx, str.1.80_WIP
call fcn.14001bf50
xor ecx, ecx
call fcn.14000bd10
call fcn.14000bee0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
bts eax, 0xa
mov rcx, qword [rsp + 0x68]
mov dword [rcx], eax
mov rax, qword [rsp + 0x68]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x68]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
movss xmm2, dword [0x1400c4e24]
lea rdx, str.D:projectscppImGui_External_Base_mainExternalBaseUbuntu_R.ttf
mov rcx, qword [rsp + 0xa8]
call fcn.14004b6d0
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x140074f09
lea rdx, str.Failed_to_load_font.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140076b00
mov qword [rsp + 0xb0], rax
lea rdx, [0x140076ee0]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140074f1d
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0xb0], rcx
mov rdx, qword [rsp + 0x68]
lea rcx, [0x1400ca928]
call fcn.1400731d0
call fcn.140008450
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
and eax, 0x400
test eax, eax
je 0x140074f82
mov rax, qword [rsp + 0x98]
movss xmm0, dword [0x1400c4dec]
movss dword [rax + 0xc], xmm0
mov eax, 0x10
imul rax, rax, 2
mov rcx, qword [rsp + 0x98]
movss xmm0, dword [0x1400c4da8]
movss dword [rcx + rax + 0xc8], xmm0
mov rcx, qword [rsp + 0x78]
call fcn.140055420
mov rcx, qword [0x1400cabe0]
call fcn.1400546f0
mov byte [rsp + 0x60], 1
lea rdx, str.kursach
lea rcx, [rsp + 0x178]
call fcn.14006ff80
nop
lea rcx, [rsp + 0x178]
call fcn.14006fcf0
mov qword [rsp + 0xb8], rax
movss xmm2, dword [0x1400c4e8c]
movss xmm1, dword [0x1400c4e94]
lea rcx, [rsp + 0x168]
call fcn.140001580
mov dword [rsp + 0x80], 0x12a
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x14007545d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x198]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14007504b
lea rcx, [rsp + 0x198]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x198]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rsp + 0x1a0], 0x12
jne 0x140075049
mov byte [rsp + 0x60], 0
jmp 0x140074ffc
movzx eax, byte [rsp + 0x60]
test eax, eax
jne 0x140075059
jmp 0x14007545d
call fcn.140008450
mov qword [rsp + 0xe8], rax
call fcn.140054aa0
call fcn.1400562d0
call fcn.14000e1b0
movzx eax, byte [0x1400ca0b8]
test eax, eax
je 0x1400752a0
movzx eax, byte [0x1400ca0b9]
test eax, eax
je 0x1400750a5
xor edx, edx
lea rcx, [rsp + 0x168]
call fcn.14001baa0
mov byte [0x1400ca0b9], 0
movss xmm0, dword [0x1400c4da8]
call fcn.14001bc20
mov r8d, dword [rsp + 0x80]
lea rdx, [0x1400ca0b8]
mov rcx, qword [rsp + 0xb8]
call fcn.140016300
cmp dword [0x1400ca920], 1
jne 0x1400750de
call fcn.140078120
jmp 0x1400750ec
cmp dword [0x1400ca920], 2
jne 0x1400750ec
call fcn.140079310
cmp dword [0x1400ca920], 0
jne 0x14007521a
lea rcx, [rsp + 0x160]
call fcn.14001ced0
movss xmm0, dword [0x1400c4e7c]
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [0x1400c4e4c]
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [rsp + 0x160]
subss xmm0, dword [rsp + 0x64]
divss xmm0, dword [0x1400c4dcc]
call fcn.14001c970
movss xmm0, dword [rsp + 0x70]
mulss xmm0, dword [0x1400c4dcc]
addss xmm0, dword [0x1400c4e0c]
movss xmm1, dword [rsp + 0x164]
subss xmm1, xmm0
movaps xmm0, xmm1
divss xmm0, dword [0x1400c4dcc]
call fcn.14001c9e0
movss xmm2, dword [rsp + 0x70]
movss xmm1, dword [rsp + 0x64]
lea rcx, [rsp + 0xf0]
call fcn.140001580
mov rdx, rax
lea rcx, str.Teacher
call fcn.14005a090
movzx eax, al
test eax, eax
je 0x1400751aa
mov dword [0x1400ca920], 1
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0xf8]
call fcn.140001580
mov rcx, rax
call fcn.14005b950
movss xmm0, dword [rsp + 0x160]
subss xmm0, dword [rsp + 0x64]
divss xmm0, dword [0x1400c4dcc]
call fcn.14001c970
movss xmm2, dword [rsp + 0x70]
movss xmm1, dword [rsp + 0x64]
lea rcx, [rsp + 0x100]
call fcn.140001580
mov rdx, rax
lea rcx, str.Student
call fcn.14005a090
movzx eax, al
test eax, eax
je 0x14007521a
mov dword [0x1400ca920], 2
lea rcx, [rsp + 0x170]
call fcn.14001b810
movss xmm0, dword [0x1400c4e58]
movss dword [rsp + 0x74], xmm0
movss xmm0, dword [rsp + 0x170]
subss xmm0, dword [rsp + 0x74]
subss xmm0, dword [0x1400c4df4]
call fcn.14001c970
movss xmm0, dword [0x1400c4e48]
call fcn.14001c9e0
movss xmm2, dword [0x1400c4e34]
movss xmm1, dword [rsp + 0x74]
lea rcx, [rsp + 0x108]
call fcn.140001580
mov rdx, rax
lea rcx, str.Exit
call fcn.14005a090
movzx eax, al
test eax, eax
je 0x140075299
mov dword [0x1400ca920], 0
call fcn.14001aa00
jmp 0x1400752a8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.140010250
mov rax, qword [0x1400cabe0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rsp + 0xc0], rax
xor r8d, r8d
mov edx, 7
mov rcx, qword [0x1400cabe0]
call qword [rsp + 0xc0]
mov rax, qword [0x1400cabe0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rsp + 0xc8], rax
xor r8d, r8d
mov edx, 0x1b
mov rcx, qword [0x1400cabe0]
call qword [rsp + 0xc8]
mov rax, qword [0x1400cabe0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rsp + 0xd0], rax
xor r8d, r8d
mov edx, 0xae
mov rcx, qword [0x1400cabe0]
call qword [rsp + 0xd0]
mov rax, qword [0x1400cabe0]
mov rax, qword [rax]
mov rax, qword [rax + 0x158]
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x30], 0
movss xmm0, dword [0x1400c4da8]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
mov r9d, 3
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1400cabe0]
call qword [rsp + 0xd8]
mov rax, qword [0x1400cabe0]
mov rax, qword [rax]
mov rcx, qword [0x1400cabe0]
call qword [rax + 0x148]
test eax, eax
jl 0x1400753ce
call fcn.140010680
call fcn.14000bf00
mov rcx, rax
call fcn.140053d50
mov rax, qword [0x1400cabe0]
mov rax, qword [rax]
mov rcx, qword [0x1400cabe0]
call qword [rax + 0x150]
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
and eax, 0x400
test eax, eax
je 0x1400753ec
call fcn.140029220
xor edx, edx
xor ecx, ecx
call fcn.140029920
mov rax, qword [0x1400cabe0]
mov rax, qword [rax]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1400cabe0]
call qword [rsp + 0xe0]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0x88760868
jne 0x140075458
mov rax, qword [0x1400cabe0]
mov rax, qword [rax]
mov rcx, qword [0x1400cabe0]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140075458
call fcn.140073020
jmp 0x140074fef
call fcn.140054780
call fcn.140055700
xor ecx, ecx
call fcn.14000bdc0
call fcn.140072fc0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov dword [rsp + 0x88], 0
lea rcx, [rsp + 0x178]
call fcn.14006fe90
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.1400795a0
add rsp, 0x1d8
ret