Function at 0x100177c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003242c
mov eax, dword fs:[0]
push eax
sub esp, 0x164
push ebx
push esi
push edi
mov eax, dword [0x1003e6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push str.PROCEXPL
push 0
push 0
call ebx
test eax, eax
je 0x10017b8e
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, 1
cmp dword [0x10044644], edi
jne 0x100178bf
push 8
push str.GameGuard_Log.txt
lea eax, [ebp - 0xc8]
push eax
call fcn.10001fe0
lea ecx, [ebp - 0xc8]
push str._nCN_Close:
push ecx
mov dword [ebp - 4], 0
call fcn.10003a90
lea edx, [ebp - 0xc8]
push str.PROCEXPL
push edx
call fcn.10003a90
add esp, 0x10
lea ecx, [ebp - 0xc4]
call fcn.10002fb0
test eax, eax
jne 0x1001789d
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0xbc]
lea ecx, [ebp + ecx - 0xc8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10017895
or eax, 4
push 0
push eax
call fcn.10001570
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.10002140
lea ecx, [ebp - 0x68]
push ecx
mov dword [ebp - 0x68], vtable.std::ios_base.0
call fcn.10018604
add esp, 4
cmp dword [0x10044654], edi
jne 0x100179c1
lea edx, [ebp - 0x20]
push edx
call fcn.1001a8a0
lea eax, [ebp - 0x20]
add esp, 4
push eax
call fcn.1001a747
add esp, 4
push 8
push 0x10036584
lea ecx, [ebp - 0xc8]
push ecx
mov esi, eax
call fcn.10001fe0
lea edx, [ebp - 0xc8]
push str._nLocal_Time:
push edx
mov dword [ebp - 4], edi
call fcn.10003a90
push esi
call fcn.1001a090
add esp, 0xc
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.10003a90
lea ecx, [ebp - 0xc8]
push str.CN_Close:
push ecx
call fcn.10003a90
lea edx, [ebp - 0xc8]
push str.PROCEXPL
push edx
call fcn.10003a90
lea eax, [ebp - 0xc8]
push str._n__________________
push eax
call fcn.10003a90
add esp, 0x20
lea ecx, [ebp - 0xc4]
call fcn.10002fb0
test eax, eax
jne 0x10017992
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xbc]
lea ecx, [ebp + ecx - 0xc8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x1001798a
or eax, 4
push 0
push eax
call fcn.10001570
push 2
push 0x10036584
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.10002140
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x68], vtable.std::ios_base.0
call fcn.10018604
add esp, 4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.PROCEXPL
push 0
push 0
call ebx
test eax, eax
je 0x10017b8e
cmp dword [0x10044644], edi
jne 0x10017a95
push 8
push str.GameGuard_Log.txt
lea eax, [ebp - 0xc8]
push eax
call fcn.10001fe0
push str._cant_be_closed__exiting_game_
push ecx
push str.PROCEXPL
push ecx
lea ecx, [ebp - 0xc8]
push str._nCN_Close:
push ecx
mov dword [ebp - 4], 2
call fcn.10003a90
add esp, 0xc
push eax
call fcn.10003a90
add esp, 0xc
push eax
call fcn.10003a90
add esp, 8
lea ecx, [ebp - 0xc4]
call fcn.10002fb0
test eax, eax
jne 0x10017a73
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0xbc]
lea ecx, [ebp + ecx - 0xc8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10017a6b
or eax, 4
push 0
push eax
call fcn.10001570
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.10002140
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], vtable.std::ios_base.0
call fcn.10018604
add esp, 4
cmp dword [0x10044654], edi
jne 0x10017b89
lea ecx, [ebp - 0x18]
push ecx
call fcn.1001a8a0
lea edx, [ebp - 0x18]
add esp, 4
push edx
call fcn.1001a747
add esp, 4
push 8
mov esi, eax
push 0x10036584
lea eax, [ebp - 0x170]
push eax
call fcn.10001fe0
lea ecx, [ebp - 0x170]
push str._nLocal_Time:
push ecx
mov dword [ebp - 4], 3
call fcn.10003a90
push esi
call fcn.1001a090
add esp, 0xc
push eax
lea edx, [ebp - 0x170]
push edx
call fcn.10003a90
add esp, 8
push str._cant_be_closed__exiting_game_
push ecx
push str.PROCEXPL
push ecx
lea eax, [ebp - 0x170]
push str.CN_Close:
push eax
call fcn.10003a90
add esp, 0xc
push eax
call fcn.10003a90
add esp, 0xc
push eax
call fcn.10003a90
lea ecx, [ebp - 0x170]
push str._n__________________
push ecx
call fcn.10003a90
add esp, 0x10
lea ecx, [ebp - 0x16c]
call fcn.10002fb0
test eax, eax
jne 0x10017b7c
mov edx, dword [ebp - 0x170]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x164]
lea ecx, [ebp + ecx - 0x170]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10017b74
or eax, 4
push 0
push eax
call fcn.10001570
push 2
push 0x10036584
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.10017760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret