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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032534
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
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
xor edi, edi
push edi
push 2
mov byte [ebp - 0x141], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x160], esi
cmp esi, 0xffffffff
je 0x1001574e
lea eax, [ebp - 0x140]
push eax
push esi
mov dword [ebp - 0x140], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
lea esp, [esp]
mov ecx, dword [ebp - 0x138]
push ecx
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x150], ebx
cmp ebx, edi
je 0x10015738
lea esi, [ebp - 0x18]
sub esi, 0x1003f6a4
mov dword [ebp - 0x148], 0x1003f6a4
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x154], edi
mov ecx, dword [ebp - 0x148]
lea edx, [ebp - 0x16c]
push edx
mov edx, dword [ecx - 4]
push 8
lea eax, [ebp - 0x18]
push eax
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10015701
mov ecx, 8
cmp dword [ebp - 0x16c], ecx
jne 0x10015701
mov eax, dword [ebp - 0x148]
nop
mov edx, dword [esi + eax]
cmp edx, dword [eax]
jne 0x10015701
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x10015140
push edi
push ebx
mov byte [ebp - 0x141], 1
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x10044644], 1
jne 0x100153e6
push 8
push str.GameGuard_Log.txt
lea eax, [ebp - 0x2c0]
push eax
call fcn.10001fe0
lea ecx, [ebp - 0x2c0]
push str._nD_Scan:
push ecx
mov dword [ebp - 4], edi
call fcn.10003a90
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x2c0]
push eax
call fcn.10003a90
add esp, 0x10
lea esi, [ebp - 0x2bc]
cmp dword [ebp - 0x268], edi
je 0x100151dd
mov ecx, esi
call fcn.100030e0
test al, al
jne 0x100151ca
xor esi, esi
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.1001a82c
add esp, 4
test eax, eax
je 0x100151df
xor esi, esi
lea edx, [ebp - 0x2b4]
mov dword [ebp - 0x2ac], edx
lea eax, [ebp - 0x2b0]
lea ecx, [ebp - 0x2a4]
lea edx, [ebp - 0x2a0]
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x298], edx
mov edx, dword [0x10044564]
lea eax, [ebp - 0x294]
lea ecx, [ebp - 0x290]
mov byte [ebp - 0x26c], 0
mov byte [ebp - 0x273], 0
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x2b0], edi
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x2b4], edi
mov dword [ebp - 0x2a4], edi
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x278], edi
cmp esi, edi
jne 0x1001529e
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x2b4]
lea ecx, [ebp + ecx - 0x2c0]
or eax, 2
cmp dword [ecx + 0x38], edi
jne 0x10015297
or eax, 4
push edi
push eax
call fcn.10001570
mov edx, dword [ebp - 0x2c0]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x164], ecx
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 dword [ebp - 4], 1
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x168], ecx
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x268], edi
je 0x10015319
mov edx, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x274]
cmp dword [edx], ecx
jne 0x10015319
mov eax, dword [ebp - 0x27c]
mov esi, dword [ebp - 0x280]
mov dword [edx], esi
mov edx, dword [ebp - 0x29c]
mov ecx, eax
mov dword [edx], ecx
sub eax, ecx
mov ecx, dword [ebp - 0x28c]
mov dword [ecx], eax
cmp byte [ebp - 0x26c], 0
je 0x1001532d
lea ecx, [ebp - 0x2bc]
call fcn.10002fb0
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x284]
mov ebx, eax
cmp eax, edi
je 0x10015397
mov edi, dword [eax]
test edi, edi
je 0x1001538c
push 0
lea ecx, [ebp - 0x15c]
call fcn.10018ad5
mov eax, dword [edi + 4]
test eax, eax
je 0x1001536a
cmp eax, 0xffffffff
jae 0x1001536a
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x15c]
not esi
call fcn.10018afd
and esi, edi
je 0x1001538c
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.1001a26e
add esp, 4
xor edi, edi
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 1
call fcn.10018b2e
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x260]
mov dword [ebp + edx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10018604
mov ebx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x14c]
add esp, 4
cmp dword [0x10044654], 1
jne 0x100156d0
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.1001a8a0
lea edx, [ebp - 0x2c8]
add esp, 4
push edx
call fcn.1001a747
add esp, 4
push 8
mov esi, eax
push 0x10036584
lea eax, [ebp - 0x218]
push eax
call fcn.10001fe0
lea ecx, [ebp - 0x218]
push str._nLocal_Time:
push ecx
mov dword [ebp - 4], 4
call fcn.10003a90
push esi
call fcn.1001a090
add esp, 0xc
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.10003a90
lea eax, [ebp - 0x218]
push str.D_Scan:
push eax
call fcn.10003a90
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.10003a90
lea eax, [ebp - 0x218]
push str._n__________________
push eax
call fcn.10003a90
add esp, 0x20
lea esi, [ebp - 0x214]
cmp dword [ebp - 0x1c0], edi
je 0x100154ba
mov ecx, esi
call fcn.100030e0
test al, al
jne 0x100154a7
xor esi, esi
mov ecx, dword [ebp - 0x1c0]
push ecx
call fcn.1001a82c
add esp, 4
test eax, eax
je 0x100154bc
xor esi, esi
lea edx, [ebp - 0x20c]
mov dword [ebp - 0x204], edx
lea eax, [ebp - 0x208]
lea ecx, [ebp - 0x1fc]
lea edx, [ebp - 0x1f8]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x1f0], edx
mov edx, dword [0x10044564]
lea eax, [ebp - 0x1ec]
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 0x1c4], 0
mov byte [ebp - 0x1cb], 0
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x1f8], edi
mov dword [ebp - 0x1e8], edi
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x1fc], edi
mov dword [ebp - 0x1ec], edi
mov dword [ebp - 0x1c0], edi
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x1d0], edi
cmp esi, edi
jne 0x1001557b
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x20c]
lea ecx, [ebp + ecx - 0x218]
or eax, 2
cmp dword [ecx + 0x38], edi
jne 0x10015574
or eax, 4
push edi
push eax
call fcn.10001570
push 2
push 0x10036584
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x168], ecx
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 dword [ebp - 4], 5
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x164], ecx
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x1c0], edi
je 0x10015603
mov edx, dword [ebp - 0x204]
lea ecx, [ebp - 0x1cc]
cmp dword [edx], ecx
jne 0x10015603
mov eax, dword [ebp - 0x1d4]
mov esi, dword [ebp - 0x1d8]
mov dword [edx], esi
mov edx, dword [ebp - 0x1f4]
mov ecx, eax
mov dword [edx], ecx
sub eax, ecx
mov ecx, dword [ebp - 0x1e4]
mov dword [ecx], eax
cmp byte [ebp - 0x1c4], 0
je 0x10015617
lea ecx, [ebp - 0x214]
call fcn.10002fb0
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1dc]
mov ebx, eax
test eax, eax
je 0x1001567f
mov edi, dword [eax]
test edi, edi
je 0x10015676
push 0
lea ecx, [ebp - 0x158]
call fcn.10018ad5
mov eax, dword [edi + 4]
test eax, eax
je 0x10015654
cmp eax, 0xffffffff
jae 0x10015654
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x158]
not esi
call fcn.10018afd
and esi, edi
je 0x10015676
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.1001a26e
add esp, 4
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 5
call fcn.10018b2e
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x1b8]
mov dword [ebp + edx - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10018604
mov ebx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x14c]
add esp, 4
xor edi, edi
mov eax, dword [0x10044648]
cmp eax, 1
je 0x10015777
cmp eax, 2
je 0x10015799
cmp eax, 3
je 0x100157bb
cmp eax, 4
je 0x100157dd
cmp eax, edi
je 0x10015792
mov eax, dword [ebp - 0x154]
add dword [ebp - 0x148], 0xc
add eax, 0xc
sub esi, 0xc
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x14c], esi
cmp eax, 0x75c
jb 0x10015102
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x160]
lea ecx, [ebp - 0x140]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100150c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x141]
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
push edi
push edi
push edi
push 0x10015020
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
push edi
push edi
push 0x10014ff0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
push edi
push edi
push 0x10012f30
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
push edi
push edi
push 0x10017bf0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.D_Scan
lea edx, [ebp - 0x11c]
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]