Function at 0x4ce32c
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffcc
mov ebx, eax
mov ebp, 4
mov eax, 0x4ce75c
call fcn.004cdf44
shr eax, 0x10
and eax, 0xff
cmp eax, 5
setg byte [esp]
call fcn.004cde00
test al, al
je 0x4ce378
cmp byte [ebx + 0x2d0], 0
je 0x4ce378
mov eax, dword [0x4da520]
mov eax, dword [eax]
call eax
test eax, eax
je 0x4ce378
cmp byte [esp], 0
jne 0x4ce37c
xor eax, eax
jmp 0x4ce37e
mov al, 1
mov byte [esp + 1], al
cmp byte [esp + 1], 0
je 0x4ce5c1
movzx eax, byte [ebx + 0x2a8]
sub al, 1
jb 0x4ce3a0
je 0x4ce3a7
dec al
je 0x4ce3d1
jmp 0x4ce3e3
mov ebp, 4
jmp 0x4ce3e3
lea edx, [esp + 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebp, dword [esp + 0x20]
lea edx, [esp + 0x24]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
sub ebp, dword [esp + 0x28]
sar ebp, 1
jns 0x4ce3cc
adc ebp, 0
sub ebp, 8
jmp 0x4ce3e3
lea edx, [esp + 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebp, dword [esp + 0x20]
sub ebp, 0x10
cmp byte [ebx + 0x2a9], 1
je 0x4ce3fb
mov eax, ebx
mov si, 0xffc7
call fcn.00405034
test al, al
je 0x4ce410
lea edx, [esp + 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov esi, dword [esp + 0x1c]
sub esi, 0x10
dec esi
jmp 0x4ce412
xor esi, esi
push 0x4ce778
mov eax, ebx
call fcn.00494134
push eax
mov eax, dword [0x4da310]
mov eax, dword [eax]
call eax
mov edi, eax
lea eax, [ebp + 0x10]
push eax
lea eax, [esp + 8]
push eax
lea ecx, [esi + 0x10]
mov edx, ebp
mov eax, esi
call fcn.00430db4
test edi, edi
je 0x4ce5bc
cmp byte [ebx + 0x279], 0
je 0x4ce509
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
jne 0x4ce485
push 0
lea eax, [esp + 8]
push eax
push 8
push 2
mov eax, dword [ebx + 0x270]
call fcn.00451920
push eax
push edi
mov eax, dword [0x4da450]
mov eax, dword [eax]
call eax
jmp 0x4ce5b0
cmp byte [ebx + 0x278], 0
je 0x4ce4b4
push 0
lea eax, [esp + 8]
push eax
push 7
push 2
mov eax, dword [ebx + 0x270]
call fcn.00451920
push eax
push edi
mov eax, dword [0x4da450]
mov eax, dword [eax]
call eax
jmp 0x4ce5b0
cmp byte [ebx + 0x2bd], 0
je 0x4ce4e3
push 0
lea eax, [esp + 8]
push eax
push 7
push 2
mov eax, dword [ebx + 0x270]
call fcn.00451920
push eax
push edi
mov eax, dword [0x4da450]
mov eax, dword [eax]
call eax
jmp 0x4ce5b0
push 0
lea eax, [esp + 8]
push eax
push 5
push 2
mov eax, dword [ebx + 0x270]
call fcn.00451920
push eax
push edi
mov eax, dword [0x4da450]
mov eax, dword [eax]
call eax
jmp 0x4ce5b0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
jne 0x4ce537
push 0
lea eax, [esp + 8]
push eax
push 4
push 2
mov eax, dword [ebx + 0x270]
call fcn.00451920
push eax
push edi
mov eax, dword [0x4da450]
mov eax, dword [eax]
call eax
jmp 0x4ce5b0
cmp byte [ebx + 0x278], 0
je 0x4ce563
push 0
lea eax, [esp + 8]
push eax
push 3
push 2
mov eax, dword [ebx + 0x270]
call fcn.00451920
push eax
push edi
mov eax, dword [0x4da450]
mov eax, dword [eax]
call eax
jmp 0x4ce5b0
cmp byte [ebx + 0x2bd], 0
je 0x4ce58f
push 0
lea eax, [esp + 8]
push eax
push 3
push 2
mov eax, dword [ebx + 0x270]
call fcn.00451920
push eax
push edi
mov eax, dword [0x4da450]
mov eax, dword [eax]
call eax
jmp 0x4ce5b0
push 0
lea eax, [esp + 8]
push eax
push 1
push 2
mov eax, dword [ebx + 0x270]
call fcn.00451920
push eax
push edi
mov eax, dword [0x4da450]
mov eax, dword [eax]
call eax
push edi
mov eax, dword [0x4da470]
mov eax, dword [eax]
call eax
jmp 0x4ce5c1
mov byte [esp + 1], 0
cmp byte [esp + 1], 0
jne 0x4ce747
mov dl, 1
mov eax, dword [0x44d270]
call fcn.00456898
mov edi, eax
cmp byte [ebx + 0x279], 0
je 0x4ce631
cmp byte [ebx + 0x278], 0
je 0x4ce600
mov ecx, 0x4ce794
mov edx, dword [0x4ddc3c]
mov eax, edi
call fcn.0045790c
jmp 0x4ce67d
cmp byte [ebx + 0x2bd], 0
je 0x4ce61d
mov ecx, 0x4ce7b4
mov edx, dword [0x4ddc3c]
mov eax, edi
call fcn.0045790c
jmp 0x4ce67d
mov ecx, 0x4ce7d4
mov edx, dword [0x4ddc3c]
mov eax, edi
call fcn.0045790c
jmp 0x4ce67d
cmp byte [ebx + 0x278], 0
je 0x4ce64e
mov ecx, 0x4ce7f0
mov edx, dword [0x4ddc3c]
mov eax, edi
call fcn.0045790c
jmp 0x4ce67d
cmp byte [ebx + 0x2bd], 0
je 0x4ce66b
mov ecx, 0x4ce810
mov edx, dword [0x4ddc3c]
mov eax, edi
call fcn.0045790c
jmp 0x4ce67d
mov ecx, 0x4ce830
mov edx, dword [0x4ddc3c]
mov eax, edi
call fcn.0045790c
mov dl, 1
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, edi
call fcn.00458664
movzx eax, byte [ebx + 0x2a8]
sub al, 1
jb 0x4ce6a2
je 0x4ce6a9
dec al
je 0x4ce6e0
jmp 0x4ce6fb
mov ebp, 4
jmp 0x4ce6fb
lea edx, [esp + 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebp, dword [esp + 0x20]
lea edx, [esp + 0x24]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
sub ebp, dword [esp + 0x28]
sar ebp, 1
jns 0x4ce6ce
adc ebp, 0
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x4ce6dc
adc eax, 0
sub ebp, eax
jmp 0x4ce6fb
lea edx, [esp + 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebp, dword [esp + 0x20]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x24]
sub ebp, eax
sub ebp, 2
cmp byte [ebx + 0x2a9], 1
je 0x4ce713
mov eax, ebx
mov si, 0xffc7
call fcn.00405034
test al, al
je 0x4ce72e
lea edx, [esp + 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov esi, dword [esp + 0x1c]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x30]
sub esi, eax
dec esi
jmp 0x4ce730
xor esi, esi
push edi
mov ecx, ebp
mov edx, esi
mov eax, dword [ebx + 0x270]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, edi
call fcn.00404da8
add esp, 0x34
pop ebp
pop edi
pop esi
pop ebx
ret