Function at 0x100501c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9821
mov eax, dword fs:[0]
push eax
sub esp, 0x310
push esi
push edi
lea edi, [ebp - 0x31c]
mov ecx, 0xc4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1011e764]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
cmp esi, esp
call fcn.10004ea8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x100502e9
mov esi, esp
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.10004ea8
cmp dword [0x10120c64], 1
jne 0x10050045
push 1
push 0x40
push 8
push 0x100fd650
lea ecx, [ebp - 0xc4]
call fcn.10005fbf
mov dword [ebp - 4], 0
push 0x100fd660
lea edx, [ebp - 0xc4]
push edx
call fcn.10003bcf
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call fcn.10003bcf
add esp, 8
lea ecx, [ebp - 0xc4]
call fcn.10002f0e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.10001447
cmp dword [0x10120c74], 1
jne 0x10050134
lea edx, [ebp - 0xd4]
push edx
call fcn.1004fd10
add esp, 4
lea eax, [ebp - 0xd4]
push eax
call fcn.1004fcf0
add esp, 4
mov dword [ebp - 0xdc], eax
push 1
push 0x40
push 8
push 0x100fd670
lea ecx, [ebp - 0x190]
call fcn.10005fbf
mov dword [ebp - 4], 1
push 0x100fd674
lea ecx, [ebp - 0x190]
push ecx
call fcn.10003bcf
add esp, 8
mov edx, dword [ebp - 0xdc]
push edx
call fcn.10005353
add esp, 4
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.10003bcf
add esp, 8
push 0x100fd684
lea ecx, [ebp - 0x190]
push ecx
call fcn.10003bcf
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x190]
push eax
call fcn.10003bcf
add esp, 8
push 0x100fd694
lea ecx, [ebp - 0x190]
push ecx
call fcn.10003bcf
add esp, 8
lea ecx, [ebp - 0x190]
call fcn.10002f0e
mov esi, esp
push 2
push 0x100fd6bc
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, esp
call fcn.10004ea8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x190]
call fcn.10001447
mov esi, esp
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
cmp esi, esp
call fcn.10004ea8
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
jbe 0x100502e9
cmp dword [0x10120c64], 1
jne 0x100501e6
push 1
push 0x40
push 8
push 0x100fd6c0
lea ecx, [ebp - 0x24c]
call fcn.10005fbf
mov dword [ebp - 4], 2
push 0x100fd6d0
mov eax, dword [ebp + 8]
push eax
push str._nCN_Close:
lea ecx, [ebp - 0x24c]
push ecx
call fcn.10003bcf
add esp, 8
push eax
call fcn.10003bcf
add esp, 8
push eax
call fcn.10003bcf
add esp, 8
lea ecx, [ebp - 0x24c]
call fcn.10002f0e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10001447
cmp dword [0x10120c74], 1
jne 0x100502e4
lea edx, [ebp - 0x25c]
push edx
call fcn.1004fd10
add esp, 4
lea eax, [ebp - 0x25c]
push eax
call fcn.1004fcf0
add esp, 4
mov dword [ebp - 0x264], eax
push 1
push 0x40
push 8
push 0x100fd700
lea ecx, [ebp - 0x318]
call fcn.10005fbf
mov dword [ebp - 4], 3
push str._nLocal_Time:
lea ecx, [ebp - 0x318]
push ecx
call fcn.10003bcf
add esp, 8
mov edx, dword [ebp - 0x264]
push edx
call fcn.10005353
add esp, 4
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.10003bcf
add esp, 8
push str._cant_be_closed__exiting_game_
mov ecx, dword [ebp + 8]
push ecx
push str.CN_Close:
lea edx, [ebp - 0x318]
push edx
call fcn.10003bcf
add esp, 8
push eax
call fcn.10003bcf
add esp, 8
push eax
call fcn.10003bcf
add esp, 8
push str._n__________________
lea eax, [ebp - 0x318]
push eax
call fcn.10003bcf
add esp, 8
lea ecx, [ebp - 0x318]
call fcn.10002f0e
mov esi, esp
push 2
push 0x100fd76c
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, esp
call fcn.10004ea8
call fcn.10001028
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x318]
call fcn.10001447
jmp 0x100502e9
call fcn.10001028
push edx
mov ecx, ebp
push eax
lea edx, [0x10050318]
call fcn.1000453e
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x31c
cmp ebp, esp
call fcn.10004ea8
mov esp, ebp
pop ebp
ret