Function at 0x40c750
Capabilities:
Check os version
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4518e8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x30]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp dword [eax + 0xa4], 6
ja 0x40c7af
mov eax, dword fs:[0x30]
cmp dword [eax + 0xa4], 6
jne 0x40c99b
cmp dword [eax + 0xa8], 2
jb 0x40c99b
push 0x10
xor eax, eax
mov dword [ebp - 0x18], 0
push str.EasyAntiCheat_Oy
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004013c0
mov dword [ebp - 4], 0
cmp esi, 0x46b8c4
je 0x40c7f9
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40c7eb
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, 0x46b8c4
push eax
call fcn.004013c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40c805
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, 0x46b8dc
push eax
call fcn.004013c0
cmp dword [0x46b90c], 8
mov eax, 0x46b8f8
mov dword [0x46b8f4], 2
mov dword [0x46b908], 0
jb 0x40c83a
mov eax, dword [0x46b8f8]
xor ecx, ecx
mov word [eax], cx
push dword [0x46b910]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x46b8c0
mov edx, 0x46b8c4
mov ecx, 0x40aed0
call fcn.00407ec0
add esp, 4
test al, al
jne 0x40c86d
mov esi, 2
jmp 0x40c88d
push 0x1388
push dword [0x46b910]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 2
test eax, eax
jne 0x40c88d
mov esi, dword [0x46b8f4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40c8ce
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c8c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c9ba
push edx
push ecx
call fcn.0041b657
add esp, 8
sub esi, 0
je 0x40c99b
sub esi, 2
je 0x40c947
cmp dword [edi + 0x14], 8
jb 0x40c8e4
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x40]
push str._EAC_Service___Error__Certificate_validation_failed____s_
push eax
call fcn.004123b0
add esp, 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
jb 0x40c902
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40c943
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c939
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c9bf
push edx
push ecx
call fcn.0041b657
add esp, 8
xor al, al
jmp 0x40c99d
lea eax, [ebp - 0x58]
push str._EAC_Service___Error__Certificate_validation_timed_out_
push eax
call fcn.004122c0
add esp, 8
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
jb 0x40c964
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40c99b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c991
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c9c4
push edx
push ecx
call fcn.0041b657
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b616
mov esp, ebp
pop ebp
ret 8
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
int3