Function at 0x53be50
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x57ba58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [esp + 0x38]
mov ecx, esi
push edi
mov byte [esp + 0x34], 1
call fcn.0053e960
test eax, eax
je 0x53beb2
mov eax, dword [esi + 0xc4]
mov ecx, dword [esi + 0xa4]
dec eax
cmp ecx, eax
je 0x53c4e0
lea eax, [edi + edi*2]
lea ecx, [esp + 0x10]
push ecx
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
lea ecx, [edi + 0x94]
call sub.MFC42.DLL_CWnd::GetWindowTextA
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
push eax
call fcn.004bd7e0
mov ecx, dword [eax]
add esp, 8
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x1c]
test edx, edx
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x53bf40
push 0x2040
push 0x5b6164
push 0x5bee00
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x53c501
lea edx, [esp + 0x10]
lea ecx, [edi + 0x364]
push edx
call sub.MFC42.DLL_CWnd::GetWindowTextA
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.0053eb90
lea ecx, [esp + 0x38]
mov ebp, eax
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 1]
mov byte [esp + 0x30], 2
cmp eax, 5
ja case.default.0x53bf80
jmp dword [eax*4 + 0x53c518]
push 0x5bede8
jmp 0x53bfaf
push 0x5bedd8
jmp 0x53bfaf
push 0x5bedc0
jmp 0x53bfaf
push 0x5bedb0
jmp 0x53bfaf
push 0x5beda0
jmp 0x53bfaf
push 0x5bed90
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_1
test ebp, ebp
jle 0x53c00a
mov ecx, dword [esp + 0x38]
push 0x2040
push 0x5b6164
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 2
jmp 0x53c501
lea edx, [esp + 0x10]
lea ecx, [edi + 0x634]
push edx
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea eax, [esp + 0x14]
lea ecx, [edi + 0x904]
push eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1c]
push eax
call fcn.004bd7e0
add esp, 8
mov ecx, dword [eax]
mov byte [esp + 0x30], 3
mov eax, dword [ecx - 8]
test eax, eax
jne 0x53c08f
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
push eax
call fcn.004bd7e0
mov ecx, dword [eax]
add esp, 8
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x1c]
test edx, edx
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x53c08f
mov bl, 1
jmp 0x53c091
xor bl, bl
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x53c0f1
push 0x2040
push 0x5b6164
push 0x5bed70
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 3
jmp 0x53c501
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1c]
push eax
call fcn.004bd7e0
add esp, 8
mov ecx, dword [eax]
mov byte [esp + 0x30], 4
mov eax, dword [ecx - 8]
test eax, eax
jle 0x53c156
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
push eax
call fcn.004bd7e0
mov ecx, dword [eax]
add esp, 8
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x1c]
test edx, edx
setg bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x53c156
mov bl, 1
jmp 0x53c158
xor bl, bl
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x53c1b8
push 0x2040
push 0x5b6164
push 0x5bed4c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 4
jmp 0x53c501
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
push eax
call fcn.004bd7e0
mov ecx, dword [eax]
add esp, 8
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x1c]
test edx, edx
setg bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x53c340
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
lea eax, [esp + 0x18]
push edx
push 0x5b622c
push eax
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
push 0x5b6220
push edx
call sub.MFC42.DLL_operator_2
push 0x5ba4cc
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x38], 6
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
mov bl, 7
push eax
push edx
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.19980501
call fcn.0055734e
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x3c], 9
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x38], 5
call sub.LXCalcChk.dll_Ordinal_1_3
test eax, eax
je 0x53c332
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004beb30
mov eax, dword [eax]
add esp, 8
push 0x2040
push 0x5b6164
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 5
jmp 0x53c501
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x18]
jmp 0x53c4cd
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x28]
push eax
call fcn.004bd7e0
mov ecx, dword [eax]
add esp, 8
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x24]
test edx, edx
setg bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x53c4d2
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
lea eax, [esp + 0x1c]
push edx
mov bl, 0xa
push 0x5b622c
push eax
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push 0x5b6220
push edx
call sub.MFC42.DLL_operator_2
push 0x5ba4cc
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x38], 0xb
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x3c], 0xc
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0xd
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.19980501
call fcn.0055734e
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x3c], 0xe
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x38], bl
call sub.LXCalcChk.dll_Ordinal_1_3
mov ecx, dword [esi + 0x78]
test ecx, ecx
jne 0x53c452
mov eax, 0x6d
jmp 0x53c456
test eax, eax
je 0x53c4c4
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.004beb30
mov eax, dword [eax]
add esp, 8
push 0x2040
push 0x5b6164
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 5
jmp 0x53c501
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4