Function at 0x40b480
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x46f008]
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 0x40b60f
push str.GlobalEasyAntiCheatBin
push 0x2000000
push 0
push 4
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x46fa84], eax
test eax, eax
je 0x40b5c7
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x46fa88], eax
test eax, eax
je 0x40b5c7
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 [0x46fa90], eax
test eax, eax
je 0x40b570
push str.GlobalEasyAntiCheatEventDriver
push 0
push 1
lea eax, [ebp - 0x28]
push eax
call esi
mov dword [0x46fa94], eax
test eax, eax
je 0x40b570
push str.GlobalEasyAntiCheatEventGame
push 0
push 1
lea eax, [ebp - 0x28]
push eax
call esi
mov dword [0x46fa98], eax
test eax, eax
je 0x40b570
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.0041fb7c
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.00412330
add esp, 0xc
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
jb 0x40b594
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x40b5f4
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b5ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b67c
jmp 0x40b5ea
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.00412330
add esp, 0xc
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
jb 0x40b594
jmp 0x40b591
push edx
push ecx
call fcn.0041fbbf
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.0041fb7c
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.00412330
add esp, 0xc
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
jb 0x40b633
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x40b66a
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b660
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b67c
push edx
push ecx
call fcn.0041fbbf
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fb7c
mov esp, ebp
pop ebp
ret
call fcn.00439d3f
int3