Function at 0x40c050
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
xor bl, bl
push esi
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 1
push str.D:_A_OICI_GA___BG__A_OICI_GA___AN__A_OICI_GRGWGX___AU__A_OICI_GA___BA_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x40c1df
push str.GlobalEasyAntiCheatBin
push 0x400000
push 0
push 4
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x46b8a4], eax
test eax, eax
je 0x40c197
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x46b8a8], eax
test eax, eax
je 0x40c197
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push str.GlobalEasyAntiCheatEventModule
push 0
mov dword [eax], 0
lea eax, [ebp - 0x28]
push 1
push eax
call esi
mov dword [0x46b8b0], eax
test eax, eax
je 0x40c140
push str.GlobalEasyAntiCheatEventDriver
push 0
push 1
lea eax, [ebp - 0x28]
push eax
call esi
mov dword [0x46b8b4], eax
test eax, eax
je 0x40c140
push str.GlobalEasyAntiCheatEventGame
push 0
push 1
lea eax, [ebp - 0x28]
push eax
call esi
mov dword [0x46b8b8], eax
test eax, eax
je 0x40c140
push dword [ebp - 0x24]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b636
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push str._EAC_Service___Error__CreateEvent_failed_with__i.
push eax
call fcn.004122f0
add esp, 0xc
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
jb 0x40c164
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x40c1c4
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c1ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c24c
jmp 0x40c1ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push str._EAC_Service___Error__CreateFileMapping_MapViewOfFile_failed_with__i.
push eax
call fcn.004122f0
add esp, 0xc
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
jb 0x40c164
jmp 0x40c161
push edx
push ecx
call fcn.0041b677
add esp, 8
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b636
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push str._EAC_Service___Error__ConvertStringSecurityDescriptorToSecurityDescriptor_failed_with__i.
push eax
call fcn.004122f0
add esp, 0xc
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
jb 0x40c203
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x40c23a
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c230
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c24c
push edx
push ecx
call fcn.0041b677
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b636
mov esp, ebp
pop ebp
ret
call fcn.00436a99
int3