Function at 0x10015410
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003eba1
mov eax, dword fs:[0]
push eax
sub esp, 0x170
push ebx
push esi
push edi
mov eax, dword [0x100525c0]
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 0x100155ac
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x100537bc], 1
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jne 0x100154d3
push 1
push 0x40
push 8
push str.rez_UI_Scripts_1.s
lea ecx, [ebp - 0xcc]
call fcn.10001830
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 0
push str._nCN_Close:
push eax
call fcn.10001100
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.10001100
add esp, 0x10
lea ecx, [ebp - 0xcc]
call fcn.100032c0
push 2
push 0x100406a0
call ebx
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0xffffffff
call fcn.100026a0
cmp dword [0x100537cc], 1
jne 0x10015590
lea eax, [ebp - 0x14]
push eax
call fcn.1001dcd5
lea eax, [ebp - 0x14]
push eax
call fcn.1001dcae
add esp, 8
lea ecx, [ebp - 0xcc]
mov esi, eax
push 1
push 0x40
push 8
push 0x100406a4
call fcn.10001830
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 1
push str._nLocal_Time:
push eax
call fcn.10001100
push esi
call fcn.1001d9c9
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.10001100
lea eax, [ebp - 0xcc]
push str.CN_Close:
push eax
call fcn.10001100
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.10001100
lea eax, [ebp - 0xcc]
push str._n__________________
push eax
call fcn.10001100
add esp, 0x2c
lea ecx, [ebp - 0xcc]
call fcn.100032c0
push 2
push 0x100406a4
call ebx
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0xffffffff
call fcn.100026a0
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 0x100155be
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x100537bc], 1
jne 0x10015636
push 1
push 0x40
push 8
push str.rez_UI_Scripts_1.s
lea ecx, [ebp - 0xcc]
call fcn.10001830
push str._cant_be_closed__exiting_game_
push edi
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 2
push str._nCN_Close:
push eax
call fcn.10001100
add esp, 8
push eax
call fcn.10001100
add esp, 8
push eax
call fcn.10001100
add esp, 8
lea ecx, [ebp - 0xcc]
call fcn.100032c0
push 2
push 0x100406a0
call ebx
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 0xffffffff
call fcn.100026a0
cmp dword [0x100537cc], 1
jne 0x100156ef
lea eax, [ebp - 0x1c]
push eax
call fcn.10008ff0
lea eax, [ebp - 0x1c]
push eax
call fcn.10008fe0
add esp, 8
lea ecx, [ebp - 0x17c]
mov esi, eax
push 1
push 0x40
push 8
push 0x100406a4
call fcn.10001830
lea eax, [ebp - 0x17c]
mov dword [ebp - 4], 3
push str._nLocal_Time:
push eax
call fcn.10001100
push esi
call fcn.1001d9c9
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.10001100
add esp, 0x14
lea eax, [ebp - 0x17c]
push str._cant_be_closed__exiting_game_
push edi
push str.CN_Close:
push eax
call fcn.10001100
add esp, 8
push eax
call fcn.10001100
add esp, 8
push eax
call fcn.10001100
lea eax, [ebp - 0x17c]
push str._n__________________
push eax
call fcn.10001100
add esp, 0x10
lea ecx, [ebp - 0x17c]
call fcn.100032c0
push 2
push 0x100406a4
call ebx
call fcn.10015360
int3