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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x584bd6
push eax
mov dword fs:[0], esp
sub esp, 0x158
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push esi
cmp dword [eax], 0x8b55ff8b
je 0x41e4e0
cmp dword [0x6bd78c], 1
jne 0x41e376
push 1
push 0x40
push 8
push str.GameGuard_Log.txt
lea ecx, [ebp - 0x164]
call fcn.0040ba20
lea eax, [ebp - 0x164]
mov dword [ebp - 4], 0
push str._nSP_Scan:
push eax
call fcn.0040a570
lea eax, [ebp - 0x164]
push str.Speed_Hack_detected_
push eax
call fcn.0040a570
add esp, 0x10
lea ecx, [ebp - 0x160]
call fcn.004096e0
test eax, eax
jne 0x41e358
push eax
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x164]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x104]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bb20
lea ecx, [ebp - 0x104]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [0x6bd79c], 1
jne 0x41e45b
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCR120.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCR120.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xbc]
mov esi, eax
push 1
push 0x40
push 8
push 0x58cec4
call fcn.0040ba20
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 1
push str._nLocal_Time:
push eax
call fcn.0040a570
push esi
call dword [sym.imp.MSVCR120.dll_asctime]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0040a570
lea eax, [ebp - 0xbc]
push str.SP_Scan:
push eax
call fcn.0040a570
lea eax, [ebp - 0xbc]
push str.Speed_Hack_detected_
push eax
call fcn.0040a570
lea eax, [ebp - 0xbc]
push str._n__________________
push eax
call fcn.0040a570
add esp, 0x2c
lea ecx, [ebp - 0xb8]
call fcn.004096e0
test eax, eax
jne 0x41e43d
push eax
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x58cec4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x5c]
call fcn.0040bb20
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [0x6bd790]
push 0
cmp eax, 1
jne 0x41e48d
push 0
push 0
push 0x41e210
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 0x41e49d
push 0
push 0
push 0x41e190
jmp 0x41e470
cmp eax, 3
jne 0x41e4ad
push 0
push 0
push 0x40fac0
jmp 0x41e470
cmp eax, 4
jne 0x41e4de
push 0
push 0
push 0x40e7d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.SP_Scan
push str.Speed_Hack_detected_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41e485
jmp 0x41e487
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret