Function at 0x402a27
Capabilities:
Inspect load icon resource

Disassembly:
jmp 0x4676f0
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004fe0ee
call sub.MFC42.DLL_AfxGetModuleState
push 0x4e34
push 0xe
push 0x4e34
call sub.MFC42.DLL_AfxFindResourceHandle
mov ebx, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call ebx
push 0x2fd0
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xf7
push eax
call edi
call sub.MFC42.DLL_AfxGetModuleState
push 0x4e35
push 0xe
push 0x4e35
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call ebx
push 0x2fc9
mov ecx, esi
mov ebp, eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push ebp
push 1
push 0xf7
push ecx
call edi
call sub.MFC42.DLL_AfxGetModuleState
push 0x4e36
push 0xe
push 0x4e36
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call ebx
push 0x2fcc
mov ecx, esi
mov ebp, eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push ebp
push 1
push 0xf7
push edx
call edi
call sub.MFC42.DLL_AfxGetModuleState
push 0x4e37
push 0xe
push 0x4e37
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call ebx
push 0x2fcd
mov ecx, esi
mov ebp, eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push ebp
push 1
push 0xf7
push eax
call edi
call sub.MFC42.DLL_AfxGetModuleState
push 0x4e38
push 0xe
push 0x4e38
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call ebx
push 0x2fce
mov ecx, esi
mov ebp, eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push ebp
push 1
push 0xf7
push ecx
call edi
call sub.MFC42.DLL_AfxGetModuleState
push 0x4e39
push 0xe
push 0x4e39
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call ebx
push 0x2fcf
mov ecx, esi
mov ebx, eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push ebx
push 1
push 0xf7
push edx
call edi
mov eax, dword [esi + 0x64]
xor ecx, ecx
mov edx, dword [eax + 0x64]
test edx, edx
setne cl
push ecx
push 0x2fd0
mov ecx, esi
call sub.MFC42.DLL_CWnd::CheckDlgButton
mov edx, dword [esi + 0x64]
xor eax, eax
mov ecx, esi
mov ebx, dword [edx + 0x68]
test ebx, ebx
setne al
push eax
push 0x2fc9
call sub.MFC42.DLL_CWnd::CheckDlgButton
mov ecx, dword [esi + 0x64]
xor edx, edx
mov eax, dword [ecx + 0x6c]
mov ecx, esi
test eax, eax
setne dl
push edx
push 0x2fcc
call sub.MFC42.DLL_CWnd::CheckDlgButton
mov eax, dword [esi + 0x64]
xor ecx, ecx
mov edx, dword [eax + 0x70]
test edx, edx
sete cl
push ecx
push 0x2fcd
mov ecx, esi
call sub.MFC42.DLL_CWnd::CheckDlgButton
mov edx, dword [esi + 0x64]
xor eax, eax
mov ecx, esi
cmp dword [edx + 0x70], 1
sete al
push eax
push 0x2fce
call sub.MFC42.DLL_CWnd::CheckDlgButton
mov ecx, dword [esi + 0x64]
xor edx, edx
cmp dword [ecx + 0x70], 2
sete dl
push edx
push 0x2fcf
mov ecx, esi
call sub.MFC42.DLL_CWnd::CheckDlgButton
mov eax, dword [esi + 0x64]
lea ebx, [esi + 0xb8]
mov ecx, dword [eax + 0x60]
mov dword [esi + 0x104], ecx
mov ecx, ebx
call fcn.004918a0
mov edx, dword [esi + 0x98]
push 0
push 0
push 0x407
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push 0
push 0x2000
push 0
mov ecx, eax
call sub.MFC42.DLL_CWnd::ModifyStyle
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0x5c]
push ecx
mov ecx, ebx
call fcn.004919c0
mov ecx, esi
call fcn.00401b27
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 0x64]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 0x60]
push eax
push 0x551684
push ecx
call fcn.00402ecd
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x98]
add esp, 0xc
push edx
push 0xffffffffffffffff
push 0x14d
push eax
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret