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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004351b
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x10055080]
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 [0x1005a9d8]
lea eax, [ebp - 0x34]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x10013744
cmp dword [0x1005aaa4], 1
jne 0x10013576
sub esp, 8
lea ecx, [ebp - 0x1a0]
push 8
push str.GameGuard_Log.txt
call fcn.10003390
mov edx, str._nFN_Scan:____File_not_found:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
call fcn.10004540
mov edx, edi
lea ecx, [ebp - 0x1a0]
call fcn.10004540
lea ecx, [ebp - 0x19c]
call fcn.10003c30
test eax, eax
jne 0x100134f6
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001dd0
mov eax, dword [ebp - 0x1a0]
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 - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1a4], eax
lea ecx, [ebp - 0x19c]
call fcn.10002fe0
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1a4], eax
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1001a02b
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x1005aab4], 1
jne 0x100136c5
lea eax, [ebp - 0x40]
push eax
call fcn.10020619
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.10020913
push ecx
push 8
push 0x1004c6a8
lea ecx, [ebp - 0xf0]
mov esi, eax
call fcn.10003390
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.10004540
push esi
call fcn.1001f646
add esp, 4
lea ecx, [ebp - 0xf0]
mov edx, eax
call fcn.10004540
mov edx, str.FN_Scan:____File_not_found:
lea ecx, [ebp - 0xf0]
call fcn.10004540
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.10004540
mov edx, str._n__________________
lea ecx, [ebp - 0xf0]
call fcn.10004540
lea ecx, [ebp - 0xec]
call fcn.10003c30
test eax, eax
jne 0x1001363f
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001dd0
push 2
push 0x1004c6a8
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xec]
call fcn.10002fe0
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xf4], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x88], vtable.std::ios_base.0
call fcn.1001a02b
add esp, 4
mov eax, dword [0x1005aaa8]
push 0
cmp eax, 1
jne 0x100136f7
push 0
push 0
push 0x100133f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10013707
push 0
push 0
push 0x10013410
jmp 0x100136da
cmp eax, 3
jne 0x10013717
push 0
push 0
push 0x10001f70
jmp 0x100136da
cmp eax, 4
jne 0x100136f1
push 0
push 0
push 0x10019150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.FN_Scan
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100136ef
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.1001a7cf
mov esp, ebp
pop ebp
ret