Function at 0x10026f30
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a411
mov eax, dword fs:[0]
push eax
sub esp, 0x170
push esi
push edi
mov eax, dword [0x10041bd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0
push edi
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x100270ff
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x1004206c], 1
jne 0x10027001
push 1
push 0x40
push 8
push 0x1003a848
lea ecx, [ebp - 0xcc]
call fcn.10004a20
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 0
push 0x1003a85c
push eax
call fcn.100045b0
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.100045b0
add esp, 0x10
lea ecx, [ebp - 0xc8]
call fcn.10005500
test eax, eax
jne 0x10026fef
push eax
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0xffffffff
call fcn.10005010
cmp dword [0x1004207c], 1
jne 0x100270e3
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xcc]
mov esi, eax
push 1
push 0x40
push 8
push 0x1003a86c
call fcn.10004a20
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 1
push 0x1003a870
push eax
call fcn.100045b0
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.100045b0
lea eax, [ebp - 0xcc]
push 0x1003a880
push eax
call fcn.100045b0
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.100045b0
lea eax, [ebp - 0xcc]
push 0x1003a890
push eax
call fcn.100045b0
add esp, 0x2c
lea ecx, [ebp - 0xc8]
call fcn.10005500
test eax, eax
jne 0x100270c4
push eax
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x1003a8b8
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0xffffffff
call fcn.10005010
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push edi
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
jne 0x10027110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x1004206c], 1
jne 0x100271a1
push 1
push 0x40
push 8
push 0x1003a8bc
lea ecx, [ebp - 0xcc]
call fcn.10004a20
push 0x1003a8d0
push edi
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 2
push str._nCN_Close:
push eax
call fcn.100045b0
add esp, 8
push eax
call fcn.100045b0
add esp, 8
push eax
call fcn.100045b0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.10005500
test eax, eax
jne 0x1002718f
push eax
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0xffffffff
call fcn.10005010
cmp dword [0x1004207c], 1
jne 0x1002725f
lea eax, [ebp - 0x1c]
push eax
call sub.ucrtbased.dll__time64
lea eax, [ebp - 0x1c]
push eax
call sub.ucrtbased.dll__localtime64
add esp, 8
lea ecx, [ebp - 0x17c]
mov esi, eax
push 1
push 0x40
push 8
push 0x1003a900
call fcn.10004a20
lea eax, [ebp - 0x17c]
mov dword [ebp - 4], 3
push str._nLocal_Time:
push eax
call fcn.100045b0
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.100045b0
add esp, 0x14
lea eax, [ebp - 0x17c]
push str._cant_be_closed__exiting_game_
push edi
push str.CN_Close:
push eax
call fcn.100045b0
add esp, 8
push eax
call fcn.100045b0
add esp, 8
push eax
call fcn.100045b0
lea eax, [ebp - 0x17c]
push str._n__________________
push eax
call fcn.100045b0
add esp, 0x10
lea ecx, [ebp - 0x17c]
call fcn.1000ebd0
push 2
push 0x1003a96c
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.10026e80
int3