Function at 0x4f0580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
mov edi, ecx
push 0x5c94a8
mov dword [edi + 0x80], eax
mov eax, dword [eax + 8]
mov eax, dword [eax]
push 0x5c873c
push 0
push eax
call sub.MSVCR71.dll___RTDynamicCast
mov esi, dword [edi + 0x78]
add esp, 0x14
mov ebx, eax
call fcn.004903e0
mov esi, eax
mov cl, byte [esi + 4]
xor eax, eax
test cl, cl
sete al
movzx edx, cl
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], edx
test eax, eax
mov dword [esp + 0x34], eax
je 0x4f0640
test ebx, ebx
jne 0x4f05e4
xor ecx, ecx
jmp 0x4f05ee
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 4]
lea ecx, [ecx + ebx + 8]
mov esi, dword [esi + 0xc]
mov eax, dword [esi]
cmp eax, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0xffffffff
je 0x4f0640
mov edx, dword [ecx + 4]
mov dword [esp + 0x20], edx
lea ebx, [ebx]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x20]
cmp dword [ecx + 4], edx
jne 0x4f0622
inc dword [esp + 0x10]
cmp ecx, dword [esp + 0x18]
je 0x4f0630
mov eax, dword [eax]
cmp eax, esi
jne 0x4f0610
jmp 0x4f0640
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x10], 1
je 0x4f0648
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
setne al
mov byte [edi + 0xf8], al
mov byte [edi + 0x190], al
mov byte [edi + 0x228], al
mov byte [edi + 0x2c0], al
mov byte [edi + 0x358], al
mov byte [edi + 0x3f0], al
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
fstp qword [esp + 0x20]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
fst qword [edi + 0x100]
mov esi, dword [edi + 0xf4]
fld qword [esp + 0x20]
test esi, esi
fstp qword [edi + 0x108]
je 0x4f06c4
fld qword [esp + 0x20]
call fcn.00549400
push eax
call fcn.00549400
push eax
mov eax, dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x46f
push eax
call esi
jmp 0x4f06cc
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
fstp st(0)
mov edx, dword [ebx + 0x18]
lea ecx, [ebx + 0x18]
call dword [edx + 8]
fstp qword [esp + 0x18]
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x18]
call dword [eax + 4]
fst qword [edi + 0x198]
mov eax, dword [edi + 0x18c]
fld qword [esp + 0x18]
test eax, eax
fstp qword [edi + 0x1a0]
mov dword [esp + 0x20], eax
je 0x4f0721
fld qword [esp + 0x18]
call fcn.00549400
push eax
call fcn.00549400
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x20]
push eax
push 0x46f
push edx
call esi
jmp 0x4f0723
fstp st(0)
mov eax, dword [ebx]
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
fld qword [eax]
mov edx, dword [ebx]
fstp qword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
call dword [edx + 0x10]
fld qword [eax]
mov eax, dword [edi + 0x224]
fst qword [edi + 0x230]
test eax, eax
fld qword [esp + 0x18]
fstp qword [edi + 0x238]
mov dword [esp + 0x20], eax
je 0x4f0782
fld qword [esp + 0x18]
call fcn.00549400
push eax
call fcn.00549400
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x20]
push eax
push 0x46f
push edx
call esi
jmp 0x4f0784
fstp st(0)
mov eax, dword [ebx]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
fld qword [eax + 8]
mov edx, dword [ebx]
fstp qword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call dword [edx + 0x10]
fld qword [eax + 8]
mov eax, dword [edi + 0x2bc]
fst qword [edi + 0x2c8]
test eax, eax
fld qword [esp + 0x18]
fstp qword [edi + 0x2d0]
mov dword [esp + 0x20], eax
je 0x4f07e5
fld qword [esp + 0x18]
call fcn.00549400
push eax
call fcn.00549400
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x20]
push eax
push 0x46f
push edx
call esi
jmp 0x4f07e7
fstp st(0)
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f07f7
sub esp, 8
jmp 0x4f08c0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f0888
lea ebx, [edi + 0x88]
push 0x57e144
mov ecx, ebx
call sub.MFC71.DLL_CWnd::SetWindowTextA
push 0x57e144
lea ecx, [ebx + 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
lea ebx, [edi + 0x120]
push 0x57e144
mov ecx, ebx
call sub.MFC71.DLL_CWnd::SetWindowTextA
push 0x57e144
lea ecx, [ebx + 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
lea ebx, [edi + 0x1b8]
push 0x57e144
mov ecx, ebx
call sub.MFC71.DLL_CWnd::SetWindowTextA
push 0x57e144
lea ecx, [ebx + 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
lea ebx, [edi + 0x250]
push 0x57e144
mov ecx, ebx
call sub.MFC71.DLL_CWnd::SetWindowTextA
push 0x57e144
lea ecx, [ebx + 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
jmp 0x4f0950
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 4]
mov esi, dword [edx + ebx + 0xc]
mov eax, dword [esp + 0x30]
push 0
call fcn.00448a30
test eax, eax
je 0x4f08a5
mov eax, dword [eax]
jmp 0x4f08a7
xor eax, eax
push 0
push 0x5c94a8
push 0x5c873c
push 0
push eax
call sub.MSVCR71.dll___RTDynamicCast
mov ebx, eax
add esp, 0xc
fld qword [ebx + 0x10]
lea esi, [edi + 0x88]
fstp qword [esp]
call fcn.004e4e40
fld qword [ebx + 0x28]
sub esp, 8
lea esi, [edi + 0x120]
fstp qword [esp]
call fcn.004e4e40
add ebx, 0x30
mov eax, ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
fld qword [esp + 0x20]
mov edx, dword [eax + 0xc]
sub esp, 8
lea esi, [edi + 0x1b8]
fstp qword [esp]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call fcn.004e4e40
mov eax, dword [ebx]
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
fld qword [esp + 0x28]
sub esp, 8
lea esi, [edi + 0x250]
fstp qword [esp]
mov dword [esp + 0x2c], ecx
call fcn.004e4e40
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0xa8]
xor ebx, ebx
test eax, eax
sete bl
push 0
push ebx
push 0xcf
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
lea ecx, [edi + 0x418]
call sub.MFC71.DLL_CWnd::EnableWindow
mov eax, dword [edi + 0x140]
push 0
push ebx
push 0xcf
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [edi + 0x470]
call sub.MFC71.DLL_CWnd::EnableWindow
mov edx, dword [edi + 0x1d8]
push 0
push ebx
push 0xcf
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
lea ecx, [edi + 0x578]
call sub.MFC71.DLL_CWnd::EnableWindow
mov ecx, dword [edi + 0x270]
push 0
push ebx
push 0xcf
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
lea ecx, [edi + 0x5d0]
call sub.MFC71.DLL_CWnd::EnableWindow
mov ebx, dword [esp + 0x34]
push ebx
push 0x76
mov ecx, edi
call sub.MFC71.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC71.DLL_CWnd::EnableWindow
xor eax, eax
test ebx, ebx
sete al
push 0
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x308]
push 0xcf
push eax
call esi
push ebx
lea ecx, [edi + 0x4c8]
call sub.MFC71.DLL_CWnd::EnableWindow
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 0x3a0]
push 0
push ecx
push 0xcf
push edx
call esi
push ebx
lea ecx, [edi + 0x520]
call sub.MFC71.DLL_CWnd::EnableWindow
mov eax, dword [esp + 0x14]
test eax, eax
lea esi, [edi + 0x2e8]
jne 0x4f0a88
mov eax, dword [edi + 0x80]
mov ecx, dword [eax + 8]
fld qword [ecx + 8]
sub esp, 8
fstp qword [esp]
call fcn.004e4e40
mov edx, dword [edi + 0x80]
mov eax, dword [edx + 8]
fld qword [eax + 0x10]
sub esp, 8
lea esi, [edi + 0x380]
fstp qword [esp]
call fcn.004e4e40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x57e144
mov ecx, esi
call sub.MFC71.DLL_CWnd::SetWindowTextA
push 0x57e144
lea ecx, [esi + 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
add edi, 0x380
push 0x57e144
mov ecx, edi
call sub.MFC71.DLL_CWnd::SetWindowTextA
push 0x57e144
lea ecx, [edi + 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4