Function at 0x4ea000
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x555c51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push esi
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x18]
mov dword [esp + 0xb4], 1
push eax
mov dword [esp + 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4ea06f
mov esi, dword [esp + 0xbc]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x14], 1
jmp 0x4ea2d9
push ebx
push str.OS:
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
push str.Unable_to_determine_OS
lea ecx, [esp + 0x10]
xor bl, bl
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xb8], 2
sub eax, 0
je 0x4ea149
dec eax
je 0x4ea0e4
dec eax
jne 0x4ea157
mov eax, dword [esp + 0x20]
cmp eax, 4
ja 0x4ea0c0
push str.Windows_NT
jmp 0x4ea14e
cmp eax, 5
jne 0x4ea157
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4ea0d8
push str.Windows_2000
jmp 0x4ea14e
cmp eax, 1
jne 0x4ea157
push str.Windows_XP
jmp 0x4ea14e
mov eax, dword [esp + 0x24]
mov bl, 1
test eax, eax
jne 0x4ea113
push str.Windows_95
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
cmp byte [esp + 0x31], 0x43
jne 0x4ea157
push str._OSR2
lea ecx, [esp + 0x10]
call fcn.00548178
jmp 0x4ea157
cmp eax, 0xa
jne 0x4ea13d
push str.Windows_98
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
cmp byte [esp + 0x31], 0x41
jne 0x4ea157
push 0x5b9abc
lea ecx, [esp + 0x10]
call fcn.00548178
jmp 0x4ea157
cmp eax, 0x5a
jne 0x4ea157
push str.Windows_Me
jmp 0x4ea14e
push str.Windows_3.1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator_2
push 0x57641c
lea ecx, [esp + 0xc]
call fcn.00548178
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x18]
push str.OS_Version__Major:__d__Minor:__d
push edx
mov byte [esp + 0xc8], 3
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0xb8], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
test bl, bl
mov byte [esp + 0xb8], 4
je 0x4ea1eb
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
and ecx, 0xffff
push ecx
push str.Build:__d_
push edx
jmp 0x4ea1fa
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push str.Build:__d_
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0xb8], 2
call sub.MFC42.DLL_CString::CString
push 0x57641c
lea ecx, [esp + 0xc]
call fcn.00548178
lea eax, [esp + 0x30]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 5
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
mov esi, 0x5c5620
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4ea284
test cl, cl
je 0x4ea280
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4ea284
add eax, 2
add esi, 2
test cl, cl
jne 0x4ea25c
xor eax, eax
jmp 0x4ea289
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop ebx
je 0x4ea29c
push 0x57641c
lea ecx, [esp + 8]
call fcn.00548178
mov esi, dword [esp + 0xbc]
lea eax, [esp + 4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 1
mov byte [esp + 0xb4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xac]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xb4
ret 4