Function at 0x10017410
Capabilities:
Create thread
Enumerate processes
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100419db
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x10053064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 2
mov dword [ebp - 0x138], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x138]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100174af
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop
mov eax, edi
lea ecx, [ebp - 0x114]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10017498
test dl, dl
je 0x10017494
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10017498
add ecx, 2
add eax, 2
test dl, dl
jne 0x10017478
xor eax, eax
jmp 0x1001749d
sbb eax, eax
or eax, 1
test eax, eax
je 0x100174d7
lea eax, [ebp - 0x138]
push eax
push esi
call ebx
test eax, eax
jne 0x10017470
cmp esi, 0xffffffff
je 0x100174bb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100198af
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x130]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x10058a04], 1
jne 0x100175b9
sub esp, 8
lea ecx, [ebp - 0x2a0]
push 8
push str.GameGuard_Log.txt
call fcn.100032f0
mov edx, str._nPID_Scan:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a0]
call fcn.10004300
mov edx, edi
lea ecx, [ebp - 0x2a0]
call fcn.10004300
mov eax, dword [ebp - 0x2a0]
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 - 0x2a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2a4], eax
lea ecx, [ebp - 0x29c]
call fcn.10002f40
mov eax, dword [ebp - 0x2a0]
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 - 0x2a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2a4], eax
lea eax, [ebp - 0x238]
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 0x1001770e
lea eax, [ebp - 0x140]
push eax
call fcn.1001f71e
add esp, 4
lea eax, [ebp - 0x140]
push eax
call fcn.1001fa17
push ecx
push 8
push 0x1004a540
lea ecx, [ebp - 0x1f0]
mov esi, eax
call fcn.100032f0
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1f0]
call fcn.10004300
push esi
call fcn.1001e738
add esp, 4
lea ecx, [ebp - 0x1f0]
mov edx, eax
call fcn.10004300
mov edx, str.PID_Scan:
lea ecx, [ebp - 0x1f0]
call fcn.10004300
mov edx, edi
lea ecx, [ebp - 0x1f0]
call fcn.10004300
mov edx, str._n__________________
lea ecx, [ebp - 0x1f0]
call fcn.10004300
lea ecx, [ebp - 0x1ec]
call fcn.10003b40
test eax, eax
jne 0x10017688
mov eax, dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1f0]
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 - 0x1f0]
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 - 0x1f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1f4], eax
lea ecx, [ebp - 0x1ec]
call fcn.10002f40
mov eax, dword [ebp - 0x1f0]
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 - 0x1f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1f4], eax
lea eax, [ebp - 0x188]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1001913a
add esp, 4
mov eax, dword [0x10058a08]
push 0
cmp eax, 1
jne 0x10017740
push 0
push 0
push 0x100173e0
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 0x10017750
push 0
push 0
push 0x100173b0
jmp 0x10017723
cmp eax, 3
jne 0x10017760
push 0
push 0
push 0x10001ed0
jmp 0x10017723
cmp eax, 4
jne 0x1001773a
push 0
push 0
push 0x100182a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.PID_Scan
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10017738