Function at 0x4e8710
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x58bf7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x20]
xor esi, esi
mov ecx, dword [edi + 0x88]
push eax
push esi
push 0x101b
push ecx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0x96
mov dword [esp + 0x3c], str.Key_No
mov dword [esp + 0x44], 1
call ebp
mov eax, dword [edi + 0x88]
lea edx, [esp + 0x20]
push edx
push 1
push 0x101b
push eax
mov dword [esp + 0x38], 0x6e
mov dword [esp + 0x3c], str.Modified
mov dword [esp + 0x44], 2
call ebp
mov ecx, dword [edi + 0x88]
push 0x68
push esi
push 0x1036
push ecx
mov dword [esp + 0x68], 3
mov dword [esp + 0x70], esi
call ebp
mov edx, dword [edi + 0x88]
push 0x5dc
push esi
push 0x1047
push edx
call ebp
mov eax, dword [edi + 0x88]
push esi
push esi
push 0x103f
push eax
call ebp
mov ecx, dword [edi + 0x88]
push eax
push esi
push 0x103e
push ecx
call ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x64]
lea ecx, [esp + 0x14]
add edx, 0x470
mov dword [esp + 0x488], esi
push edx
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x14]
mov byte [esp + 0x488], 1
cmp dword [eax - 8], esi
jne 0x4e8833
mov ecx, dword [edi + 0x64]
mov edx, dword [ecx + 0x2c]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [0x667108]
push esi
lea edx, [esp + 0x1c]
mov ecx, dword [eax + 4]
push ecx
push str._sTableHistory_1.1i
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0x10
lea edx, [esp + 0x10]
push 0
push eax
push ecx
mov ecx, dword [0x64b2e0]
push edx
call sub.MFC42.DLL_CWinApp::GetProfileStringA
mov eax, dword [esp + 0x10]
mov byte [esp + 0x488], 2
mov ebx, dword [eax - 8]
test ebx, ebx
je 0x4e89ee
cmp ebx, 0x400
jge 0x4e89ee
push eax
lea eax, [esp + 0x84]
push 0x400
push eax
call fcn.004455f0
push 0x20
lea ecx, [esp + 0x50]
push 8
push ecx
call fcn.0044e2c0
push 0x20
lea edx, [esp + 0x68]
push 8
push edx
call fcn.0044e2c0
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x70]
push eax
push ecx
call fcn.0044dd90
lea edx, [esp + ebx + 0x9b]
push 8
lea eax, [esp + 0x70]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [edi + 0x64]
xor eax, eax
push 0x20
mov edx, dword [ecx + 0x28]
lea ecx, [esp + 0xbc]
mov al, byte [edx + 0x30]
push eax
push ecx
call fcn.0044e2c0
mov edx, dword [esp + 0x54]
add esp, 0x44
lea eax, [esp + 0x80]
push edx
push eax
call fcn.0044dab0
mov eax, dword [edi + 0x88]
add esp, 8
lea edx, [esp + 0x58]
lea ecx, [esp + 0x80]
push edx
push 0
push 0x1007
push eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 2
mov dword [esp + 0x84], esi
call ebp
lea ecx, [esp + 0x40]
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0044caf0
mov eax, dword [eax]
mov byte [esp + 0x490], 3
push eax
lea eax, [esp + 0x8c]
push 0x400
push eax
call fcn.004455f0
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0x488], 2
call sub.MFC42.DLL_CString::CString
push 0x5fd204
lea ecx, [esp + 0x84]
push 0x400
push ecx
call fcn.00445620
lea edx, [esp + 0x58]
lea eax, [esp + 0x8c]
push edx
push 0x400
push eax
call fcn.00445620
add esp, 0x18
lea ecx, [esp + 0x80]
push ecx
push 1
push esi
lea ecx, [edi + 0x68]
call sub.MFC42.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x10]
mov byte [esp + 0x488], 1
call sub.MFC42.DLL_CString::CString
inc esi
cmp esi, 0xa
jl 0x4e8833
jmp 0x4e89ff
lea ecx, [esp + 0x10]
mov byte [esp + 0x488], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x488], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x488], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x480]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x47c
ret