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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032466
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x1003e6c4]
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
push 0
mov esi, ecx
push 2
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x138], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x138]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10016f27
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
mov ecx, esi
lea eax, [ebp - 0x114]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10016f10
test dl, dl
je 0x10016f0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10016f10
add eax, 2
add ecx, 2
test dl, dl
jne 0x10016ef0
xor eax, eax
jmp 0x10016f15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10016f4f
lea ecx, [ebp - 0x138]
push ecx
push edi
call ebx
test eax, eax
jne 0x10016ee4
cmp edi, 0xffffffff
je 0x10016f33
push edi
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.10019013
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x130]
push edx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 1
mov ebx, vtable.std::ios_base.0
cmp dword [0x10044644], edi
jne 0x10016fe0
push 8
push str.GameGuard_Log.txt
lea eax, [ebp - 0x298]
push eax
call fcn.10001fe0
lea ecx, [ebp - 0x298]
push str._nPID_Scan:
push ecx
mov dword [ebp - 4], 0
call fcn.10003a90
lea edx, [ebp - 0x298]
push esi
push edx
call fcn.10003a90
add esp, 0x10
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
call fcn.10002140
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x238], ebx
call fcn.10018604
add esp, 4
cmp dword [0x10044654], edi
jne 0x100170f5
lea ecx, [ebp - 0x148]
push ecx
call fcn.1001a8a0
lea edx, [ebp - 0x148]
add esp, 4
push edx
call fcn.1001a747
add esp, 4
push 8
mov esi, eax
push 0x10036584
lea eax, [ebp - 0x1f0]
push eax
call fcn.10001fe0
lea ecx, [ebp - 0x1f0]
push str._nLocal_Time:
push ecx
mov dword [ebp - 4], edi
call fcn.10003a90
push esi
call fcn.1001a090
add esp, 0xc
push eax
lea edx, [ebp - 0x1f0]
push edx
call fcn.10003a90
lea eax, [ebp - 0x1f0]
push str.PID_Scan:
push eax
call fcn.10003a90
mov ecx, dword [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x1f0]
push edx
call fcn.10003a90
lea eax, [ebp - 0x1f0]
push str._n__________________
push eax
call fcn.10003a90
add esp, 0x20
lea ecx, [ebp - 0x1ec]
call fcn.10002fb0
test eax, eax
jne 0x100170bb
mov ecx, dword [ebp - 0x1f0]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x1e4]
lea ecx, [ebp + ecx - 0x1f0]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x100170b3
or eax, 4
push 0
push eax
call fcn.10001570
push 2
push 0x10036584
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x190]
mov dword [ebp - 4], 0xffffffff
call fcn.10002140
lea edx, [ebp - 0x190]
push edx
mov dword [ebp - 0x190], ebx
call fcn.10018604
mov esi, dword [ebp - 0x13c]
add esp, 4
mov eax, dword [0x10044648]
push 0
cmp eax, edi
jne 0x10017126
push 0
push 0
push 0x10016e40
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 0x10017136
push 0
push 0
push 0x10016e10
jmp 0x10017109
cmp eax, 3
jne 0x10017146
push 0
push 0
push 0x10012f30
jmp 0x10017109
cmp eax, 4
jne 0x10017120
push 0
push 0
push 0x10017bf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.PID_Scan
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1001711e