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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100138f6
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1001f720], 1
jne 0x1001023e
sub esp, 8
lea ecx, [ebp - 0x168]
push 8
push str.GameGuard_Log.txt
call fcn.10001710
mov edx, str._n_I_Scan:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.10002ae0
mov edx, str.Dll_injection_
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 0x10010350
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.I_Scan:
lea ecx, [ebp - 0xc0]
call fcn.10002ae0
mov edx, str.Dll_injection_
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 0x10010382
push 0
push 0
push 0x10010150
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 0x10010392
push 0
push 0
push 0x10010130
jmp 0x10010365
cmp eax, 3
jne 0x100103a2
push 0
push 0
push 0x10001350
jmp 0x10010365
jmp 0x1001037c