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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455c1d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x46f008]
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 0x40bc0f
mov eax, dword fs:[0x30]
cmp dword [eax + 0xa4], 6
jne 0x40bda2
cmp dword [eax + 0xa8], 2
jb 0x40bda2
mov dword [ebp - 0x28], 0
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
mov dword [ebp - 4], 0xffffffff
call fcn.00401680
mov dword [ebp - 4], 1
cmp esi, 0x46faa4
je 0x40bc66
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x40bc5a
mov esi, dword [esi]
push eax
push esi
mov ecx, 0x46faa4
call fcn.00401680
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40bc72
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, 0x46fabc
push eax
call fcn.00401680
cmp dword [0x46faec], 8
mov eax, 0x46fad8
mov dword [0x46fad4], 2
jb 0x40bc9d
mov eax, dword [0x46fad8]
xor ecx, ecx
mov dword [0x46fae8], 0
mov word [eax], cx
push dword [0x46faf0]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x46faa0
mov edx, 0x46faa4
mov ecx, 0x40a560
call fcn.00406230
add esp, 4
test al, al
jne 0x40bcda
mov esi, 2
jmp 0x40bcfa
push 0x1388
push dword [0x46faf0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 2
test eax, eax
jne 0x40bcfa
mov esi, dword [0x46fad4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40bd3b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bd31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40be2b
push edx
push ecx
call fcn.0041fbbf
add esp, 8
sub esi, 0
je 0x40bda2
sub esi, 1
je 0x40bdc1
sub esi, 1
jne 0x40bdc1
lea eax, [ebp - 0x40]
push str._EAC_Service___Error__Certificate_validation_timed_out_
push eax
call fcn.00412330
add esp, 8
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
jb 0x40bd67
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40bda2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bd98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40be30
push edx
push ecx
call fcn.0041fbbf
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.0041fb7c
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0x14], 8
jb 0x40bdc9
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x58]
push str._EAC_Service___Error__Certificate_validation_failed____s_
push eax
call fcn.004123f0
add esp, 0xc
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
jb 0x40bde7
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40be24
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40be1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40be35
push edx
push ecx
call fcn.0041fbbf
add esp, 8
xor al, al
jmp 0x40bda4
call fcn.00439d3f
call fcn.00439d3f
call fcn.00439d3f
int3