Function at 0x10008770
Capabilities:
Create thread
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100429db
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
push esi
mov eax, dword [0x10055080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, str.PipeKillMessage___called.
mov ecx, 0x10059cc8
call fcn.10004540
push eax
call fcn.10008480
add esp, 4
cmp dword [0x1005aaa4], 1
jne 0x100088bb
sub esp, 8
lea ecx, [ebp - 0x178]
push 8
push str.GameGuard_Log.txt
call fcn.10003390
mov edx, str._nGameGuard_Scan
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x178]
call fcn.10004540
mov edx, dword [0x1005a9dc]
mov ecx, eax
call fcn.10004540
mov edx, str._Not_running_
mov ecx, eax
call fcn.10004540
lea ecx, [ebp - 0x174]
call fcn.10003c30
test eax, eax
jne 0x1000883b
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
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 - 0x178]
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 - 0x178]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x17c], eax
lea ecx, [ebp - 0x174]
call fcn.10002fe0
mov eax, dword [ebp - 0x178]
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 - 0x178]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x17c], eax
lea eax, [ebp - 0x110]
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 0x10008a0e
lea eax, [ebp - 0x18]
push eax
call fcn.10020619
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.10020913
push ecx
push 8
push 0x1004c6a8
lea ecx, [ebp - 0xc8]
mov esi, eax
call fcn.10003390
push esi
mov dword [ebp - 4], 2
call fcn.1001f646
add esp, 4
lea ecx, [ebp - 0xc8]
mov edx, str._nLocal_Time:
mov esi, eax
call fcn.10004540
mov edx, esi
mov ecx, eax
call fcn.10004540
mov edx, 0x1004d2c8
lea ecx, [ebp - 0xc8]
call fcn.10004540
mov edx, dword [0x1005a9dc]
mov ecx, eax
call fcn.10004540
mov edx, str._Not_running_
mov ecx, eax
call fcn.10004540
mov edx, str._n__________________
lea ecx, [ebp - 0xc8]
call fcn.10004540
lea ecx, [ebp - 0xc4]
call fcn.10003c30
test eax, eax
jne 0x1000898e
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
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 - 0xc8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xcc], eax
lea ecx, [ebp - 0xc4]
call fcn.10002fe0
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xcc], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.1001a02b
add esp, 4
mov eax, dword [0x1005aaa8]
cmp eax, 1
jne 0x10008a25
push 0
push 0
push 0
push 0x10008750
jmp 0x10008a47
cmp eax, 2
jne 0x10008a37
push 0
push 0
push 0
push 0x10008730
jmp 0x10008a47
cmp eax, 3
jne 0x10008a6c
push 0
push 0
push 0
push 0x10001f70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x10008a9e
push 0
push 0
push 0
push 0x10019150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.GameGuard_Scan
push dword [0x1005a9dc]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret