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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004044b
mov eax, dword fs:[0]
push eax
sub esp, 0x170
push esi
push edi
mov eax, dword [0x10053064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10014570
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x10058954], 1
jne 0x100143a8
sub esp, 8
lea ecx, [ebp - 0x178]
push 8
push str.GameGuard_Log.txt
call fcn.100032c0
mov edx, str._nWindow_Name_Scan:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x178]
call fcn.100042d0
mov edx, edi
lea ecx, [ebp - 0x178]
call fcn.100042d0
lea ecx, [ebp - 0x174]
call fcn.10003b10
test eax, eax
jne 0x10014328
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.10001d30
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.10002f10
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 - 0x110], vtable.std::ios_base.0
call fcn.10017e5a
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x10058964], 1
jne 0x100144f1
lea eax, [ebp - 0x18]
push eax
call fcn.1001e44e
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.1001e747
push ecx
push 8
push 0x10049588
lea ecx, [ebp - 0xc8]
mov esi, eax
call fcn.100032c0
mov edx, str._nLocal_Time:
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.100042d0
push esi
call fcn.1001d468
add esp, 4
lea ecx, [ebp - 0xc8]
mov edx, eax
call fcn.100042d0
mov edx, str.Window_Name_Scan:
lea ecx, [ebp - 0xc8]
call fcn.100042d0
mov edx, edi
lea ecx, [ebp - 0xc8]
call fcn.100042d0
mov edx, str._n__________________
lea ecx, [ebp - 0xc8]
call fcn.100042d0
lea ecx, [ebp - 0xc4]
call fcn.10003b10
test eax, eax
jne 0x10014471
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.10001d30
push 2
push 0x10049588
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.10002f10
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.10017e5a
add esp, 4
mov eax, dword [0x10058958]
push 0
cmp eax, 1
jne 0x10014523
push 0
push 0
push 0x10014230
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 0x10014533
push 0
push 0
push 0x10014200
jmp 0x10014506
cmp eax, 3
jne 0x10014543
push 0
push 0
push 0x10001ed0
jmp 0x10014506
cmp eax, 4
jne 0x1001451d
push 0
push 0
push 0x10016f50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.Window_Name_Scan
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1001451b
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret