Function at 0x4f6d00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x568962
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, dword [edi + 0x90]
lea esi, [edi + 0x90]
push edi
push 0x94
mov ecx, esi
mov byte [esi + 0x791], al
call dword [edx + 0x13c]
push 0x6b
mov ecx, edi
call sub.MFC71.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call sub.MFC71.DLL_CWnd::ScreenToClient
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0x15
push 0
push 0
push ecx
push edx
push 0
mov ecx, esi
call sub.MFC71.DLL_CWnd::SetWindowPos
push 0x6b
mov ecx, esi
call sub.MFC71.DLL_CWnd::SetDlgCtrlID
push 1
mov ecx, esi
call sub.MFC71.DLL_CWnd::EnableWindow
push 5
mov ecx, esi
call sub.MFC71.DLL_CWnd::ShowWindow
push edi
lea ebp, [edi + 0x828]
push 0x6c
mov ecx, ebp
call sub.MFC71.DLL_CWnd::SubclassDlgItem
mov eax, dword [ebp + 0x20]
push 1
push 0
push eax
mov byte [ebp + 0x58], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
push 0x64
lea ecx, [edi + 0x884]
call sub.MFC71.DLL_CWnd::SubclassDlgItem
call sub.MFC71.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0x6b
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [edi + 0x8a4]
push eax
push 1
push 0xf7
push ecx
mov dword [edi + 0x9e0], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
lea ebx, [edi + 0x8e8]
push 0x65
mov ecx, ebx
call sub.MFC71.DLL_CWnd::SubclassDlgItem
push edi
lea esi, [edi + 0x980]
push 0x66
mov ecx, esi
call sub.MFC71.DLL_CWnd::SubclassDlgItem
fild dword [0x68d408]
fld qword [0x594cd8]
mov dword [edi + 0x954], esi
mov esi, dword [ebx + 0x6c]
fstp qword [ebx + 0x78]
test esi, esi
fst qword [ebx + 0x80]
je 0x4f6e5e
call fcn.00549400
mov edx, dword [esi + 0x20]
push eax
push 1
push 0x46f
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4f6e60
fstp st(0)
mov eax, dword [edi + 0x9dc]
test eax, eax
mov ecx, dword [edi + 0x9d8]
mov dword [esp + 0x10], eax
je 0x4f6fdf
add ecx, 0xc
lea eax, [esp + 0x10]
call fcn.0040a6c0
mov eax, dword [eax]
fld qword [eax]
fld qword [0x594cf8]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f6ea7
fld qword [0x594cd8]
fdiv st(1)
fstp qword [edi + 0x970]
push str._0.03f
fstp st(0)
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_8]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edi + 0x94c]
mov dword [esp + 0x40], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0x6d
mov ecx, edi
mov byte [edi + 0x958], 1
call sub.MFC71.DLL_CWnd::GetDlgItem
mov edx, dword [edi + 0x9dc]
mov ecx, dword [edi + 0x9d8]
push edx
lea esi, [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.004c36b0
mov esi, 1
mov dword [esp + 0x3c], esi
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
push eax
call sub.MFC71.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [edi + 0x8c]
mov cl, byte [eax + 0x29]
test cl, cl
je 0x4f6f5f
mov eax, dword [eax + 0x1c]
test eax, 0xff000000
jne 0x4f6f5f
push esi
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x20]
push 0
push eax
mov byte [ebp + 0x59], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x8c]
fild dword [eax + 0x14]
mov cl, byte [eax + 0x28]
test cl, cl
fstp qword [esp + 0x18]
je 0x4f6fa5
fld qword [esp + 0x18]
call fcn.00549400
mov ecx, dword [0x68d408]
cmp ecx, eax
jge 0x4f6f88
mov eax, ecx
cmp eax, esi
mov dword [esp + 0x10], esi
jl 0x4f6f94
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
sub esp, 8
mov esi, ebx
fstp qword [esp]
call fcn.004e4e40
fld qword [0x594cf8]
fld qword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4f6fbd
call fcn.004f7000
push edi
call fcn.00492bf0
mov ecx, edi
call sub.MFC71.DLL_CDialog::OnInitDialog
mov ecx, dword [esp + 0x34]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [0x594cd8]
jmp 0x4f6e99