Function at 0x1000a330
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 edi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1000a4c4
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 0x1000a3ef
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._nW_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 0x1000a4ac
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.W_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 edi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x1000a4d8
mov al, 1
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 0x1000a550
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._n_W_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 0x1000a609
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.W_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.1000a660
int3