Function at 0x1000f660
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013dc6
mov eax, dword fs:[0]
push eax
sub esp, 0x160
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1000f8a2
cmp dword [0x1001f720], 1
jne 0x1000f73f
sub esp, 8
lea ecx, [ebp - 0x168]
push 8
push str.GameGuard_Log.txt
call fcn.10001710
mov edx, str._n_WN_Scan:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.10002ae0
mov edx, edi
lea ecx, [ebp - 0x168]
call fcn.10002ae0
lea ecx, [ebp - 0x168]
call fcn.10001810
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x16c], eax
lea ecx, [ebp - 0x164]
call fcn.10001890
lea ecx, [ebp - 0x160]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [0x1001f734], 1
jne 0x1000f84e
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCR120.dll__localtime64]
push ecx
push 8
push 0x100154c0
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.10001710
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc0]
call fcn.10002ae0
push esi
call dword [sym.imp.MSVCR120.dll_asctime]
add esp, 4
lea ecx, [ebp - 0xc0]
mov edx, eax
call fcn.10002ae0
mov edx, str.WN_Scan:
lea ecx, [ebp - 0xc0]
call fcn.10002ae0
mov edx, edi
lea ecx, [ebp - 0xc0]
call fcn.10002ae0
mov edx, str._n__________________
lea ecx, [ebp - 0xc0]
call fcn.10002ae0
lea ecx, [ebp - 0xc0]
call fcn.10001810
push 2
push 0x100154c0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xbc]
call fcn.10001890
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
mov eax, dword [sym.imp.MSVCP120.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
mov dword [ebp + ecx - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [0x1001f724]
push 0
cmp eax, 1
jne 0x1000f880
push 0
push 0
push 0x1000f640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x1000f890
push 0
push 0
push 0x1000f620
jmp 0x1000f863
cmp eax, 3
jne 0x1000f8a0
push 0
push 0
push 0x10001350
jmp 0x1000f863
jmp 0x1000f87a
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret