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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004086b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x10053064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10058a04], 1
jne 0x10017a0a
sub esp, 8
lea ecx, [ebp - 0x174]
push 8
push str.GameGuard_Log.txt
call fcn.100032f0
mov edx, str._nHT_Scan:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.10004300
mov edx, 0x1004df44
lea ecx, [ebp - 0x174]
call fcn.10004300
lea ecx, [ebp - 0x170]
call fcn.10003b40
test eax, eax
jne 0x1001798a
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
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.10001d60
mov eax, dword [ebp - 0x174]
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 - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x178], eax
lea ecx, [ebp - 0x170]
call fcn.10002f40
mov eax, dword [ebp - 0x174]
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 - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x178], eax
lea eax, [ebp - 0x10c]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1001913a
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x10058a14], 1
jne 0x10017b52
lea eax, [ebp - 0x14]
push eax
call fcn.1001f71e
lea eax, [ebp - 0x14]
push eax
call fcn.1001fa17
push 8
push 0x1004a540
lea ecx, [ebp - 0xc4]
mov esi, eax
call fcn.100032f0
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.10004300
push esi
call fcn.1001e738
add esp, 4
lea ecx, [ebp - 0xc4]
mov edx, eax
call fcn.10004300
mov edx, str._nHT_Scan:
lea ecx, [ebp - 0xc4]
call fcn.10004300
mov edx, 0x1004df44
lea ecx, [ebp - 0xc4]
call fcn.10004300
mov edx, str._n__________________
lea ecx, [ebp - 0xc4]
call fcn.10004300
lea ecx, [ebp - 0xc0]
call fcn.10003b40
test eax, eax
jne 0x10017ad2
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
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.10001d60
push 2
push 0x1004a540
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xc0]
call fcn.10002f40
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc8], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.1001913a
add esp, 4
mov eax, dword [0x10058a08]
push 0
cmp eax, 1
jne 0x10017b84
push 0
push 0
push 0x100178b0
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 0x10017b94
push 0
push 0
push 0x100178b0
jmp 0x10017b67
cmp eax, 3
jne 0x10017ba4
push 0
push 0
push 0x10001ed0
jmp 0x10017b67
cmp eax, 4
jne 0x10017b7e
push 0
push 0
push 0x100182a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.H_Scan
push 0x1004df60
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10017b7c