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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013e06
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1001f67c]
lea eax, [ebp - 0x34]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x1000d230
cmp dword [0x1001f720], 1
jne 0x1000d0ca
sub esp, 8
lea ecx, [ebp - 0x190]
push 8
push str.GameGuard_Log.txt
call fcn.10001710
mov edx, str._n_FN_Scan:_File_dont_exist_inside_folder:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x190]
call fcn.10002ae0
mov edx, edi
lea ecx, [ebp - 0x190]
call fcn.10002ae0
lea ecx, [ebp - 0x190]
call fcn.10001810
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x190]
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 - 0x190]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x194], eax
lea ecx, [ebp - 0x18c]
call fcn.10001890
lea ecx, [ebp - 0x188]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x130]
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 0x1000d1dc
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVCR120.dll__localtime64]
push ecx
push 8
push 0x100154c0
lea ecx, [ebp - 0xe8]
mov esi, eax
call fcn.10001710
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xe8]
call fcn.10002ae0
push esi
call dword [sym.imp.MSVCR120.dll_asctime]
add esp, 4
lea ecx, [ebp - 0xe8]
mov edx, eax
call fcn.10002ae0
mov edx, str.FN_Scan:_File_dont_exist_inside_folder:
lea ecx, [ebp - 0xe8]
call fcn.10002ae0
mov edx, edi
lea ecx, [ebp - 0xe8]
call fcn.10002ae0
mov edx, str._n__________________
lea ecx, [ebp - 0xe8]
call fcn.10002ae0
lea ecx, [ebp - 0xe8]
call fcn.10001810
push 2
push 0x100154c0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.10001890
mov eax, dword [ebp - 0xe8]
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 - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0x88]
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 0x1000d20e
push 0
push 0
push 0x1000cd20
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 0x1000d21e
push 0
push 0
push 0x1000cd40
jmp 0x1000d1f1
cmp eax, 3
jne 0x1000d22e
push 0
push 0
push 0x10001350
jmp 0x1000d1f1
jmp 0x1000d208
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012bb9
mov esp, ebp
pop ebp
ret