Function at 0x401c62
Capabilities:
Check os version
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x40c363
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov eax, dword [esp + 0xb4]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CDialog::CDialog
lea ebx, [esi + 0x60]
mov dword [esp + 0xbc], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 0x6c]
mov byte [esp + 0xbc], 1
mov dword [esp + 0x1c], edi
lea ecx, [edi + 4]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 8]
mov byte [esp + 0xbc], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0xc]
mov byte [esp + 0xbc], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x10]
mov byte [esp + 0xbc], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x14]
mov byte [esp + 0xbc], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x18]
mov byte [esp + 0xbc], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x24]
mov byte [esp + 0xbc], 7
call sub.MFC42.DLL_CString::CString_1
mov cl, byte [esp + 0x11]
lea ebp, [edi + 0x38]
xor eax, eax
mov dword [esp + 0x18], ebp
mov byte [ebp], cl
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
lea edx, [esp + 0x11]
lea ecx, [ebp + 0x10]
push edx
mov byte [esp + 0xc0], 9
call fcn.00404870
lea eax, [esp + 0x12]
lea ecx, [ebp + 0x20]
push eax
mov byte [esp + 0xc0], 0xa
call fcn.00404870
lea ecx, [esp + 0x13]
mov byte [esp + 0xbc], 0xb
push ecx
lea ecx, [ebp + 0x30]
call fcn.00404870
lea ecx, [edi + 0x78]
mov byte [esp + 0xbc], 0xc
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x7c]
mov byte [esp + 0xbc], 0xd
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x80]
mov byte [esp + 0xbc], 0xe
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x84]
mov byte [esp + 0xbc], 0xf
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0x88]
mov byte [esp + 0xbc], 0x10
call sub.MFC42.DLL_CString::CString_1
push 0x41144c
lea ecx, [esi + 0xfc]
mov byte [esp + 0xc0], 0x11
call sub.MFC42.DLL_CString::CString
push 0x41144c
lea ecx, [esi + 0x100]
mov byte [esp + 0xc0], 0x12
call sub.MFC42.DLL_CString::CString
push 0x41144c
lea ecx, [esi + 0x104]
mov byte [esp + 0xc0], 0x13
call sub.MFC42.DLL_CString::CString
push 0x41144c
lea ecx, [esi + 0x108]
mov byte [esp + 0xc0], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10c]
mov byte [esp + 0xbc], 0x15
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x110]
mov byte [esp + 0xbc], 0x16
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x114]
mov byte [esp + 0xbc], 0x17
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0xbc], 0x18
mov dword [esi], 0x40d5d0
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x41144c
mov ecx, ebx
mov dword [esi + 0x64], eax
call fcn.0040bab0
lea edx, [esp + 0x20]
mov byte [esi + 0x68], 0
push edx
mov dword [esp + 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x401ccf
mov eax, dword [esp + 0x24]
cmp eax, 5
jne 0x401cc6
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x401cb6
mov byte [esi + 0x68], 1
jmp 0x401ccf
cmp eax, 1
je 0x401cc0
cmp eax, 2
jne 0x401ccf
mov byte [esi + 0x68], 2
jmp 0x401ccf
cmp eax, 6
jne 0x401ccf
mov byte [esi + 0x68], 3
mov ecx, dword [esp + 0xb4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 4