Function at 0x42a850
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563ce2
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.mfc140u.dll_AfxGetModuleState]
push 0x69
push 0xe
push 0x69
call dword [sym.imp.mfc140u.dll_AfxFindResourceHandle]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [edi + 0x84]
mov esi, dword [sym.imp.mfc140u.dll_CPropertySheet::AddPage]
and ecx, 0xfffffdff
or ecx, 0x82
mov dword [edi + 0xf00], eax
mov dword [edi + 0x90], eax
lea eax, [edi + 0xe0]
mov dword [edi + 0x84], ecx
mov ecx, edi
push eax
call esi
lea eax, [edi + 0x840]
mov ecx, edi
push eax
call esi
lea eax, [edi + 0x1d8]
mov ecx, edi
push eax
call esi
lea eax, [edi + 0x4d0]
mov ecx, edi
push eax
call esi
lea eax, [edi + 0xc30]
mov ecx, edi
push eax
call esi
lea eax, [edi + 0x2d0]
mov ecx, edi
push eax
call esi
lea eax, [edi + 0x608]
mov ecx, edi
push eax
call esi
lea eax, [edi + 0x928]
mov ecx, edi
push eax
call esi
lea eax, [edi + 0x9f8]
mov ecx, edi
push eax
call esi
lea eax, [edi + 0xb10]
mov ecx, edi
push eax
call esi
lea eax, [edi + 0x748]
mov ecx, edi
push eax
call esi
lea eax, [edi + 0xe18]
mov ecx, edi
push eax
call esi
lea eax, [ebp - 0x18]
mov word [edi + 0xf04], 0x101
push eax
push 0x20006
push 0
push str.SoftwareEurothermEuroMBusSettings
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42a9a8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x20006
push 0
push 0x587818
push 0
push str.SoftwareEurothermEuroMBusSettings
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
je 0x42a9a8
mov byte [edi + 0xf04], 0
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [ebp - 0x18]
push eax
push 0x20006
push 0
push str.SoftwareEurothermEuroMBusSettings
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42aa08
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x20006
push 0
push 0x587818
push 0
push str.SoftwareEurothermEuroMBusSettings
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x42aa08
mov byte [edi + 0xf05], 0
push dword [ebp - 0x18]
call esi
cmp byte [edi + 0xf04], 0
jne 0x42aa6a
mov byte [edi + 0x1a1], 0
mov byte [edi + 0x901], 0
mov byte [edi + 0x299], 0
mov byte [edi + 0x591], 0
mov byte [edi + 0xcf1], 0
mov byte [edi + 0x391], 0
mov byte [edi + 0x6c9], 0
mov byte [edi + 0x9e9], 0
mov byte [edi + 0xab9], 0
mov byte [edi + 0xbd1], 0
mov byte [edi + 0x809], 0
mov byte [edi + 0xed9], 0
cmp byte [edi + 0xf05], 0
jne 0x42aac7
mov byte [edi + 0x1a2], 0
mov byte [edi + 0x902], 0
mov byte [edi + 0x29a], 0
mov byte [edi + 0x592], 0
mov byte [edi + 0xcf2], 0
mov byte [edi + 0x392], 0
mov byte [edi + 0x6ca], 0
mov byte [edi + 0x9ea], 0
mov byte [edi + 0xaba], 0
mov byte [edi + 0xbd2], 0
mov byte [edi + 0x80a], 0
mov byte [edi + 0xeda], 0
lea ecx, [edi + 0xe0]
call fcn.0042c470
lea ecx, [edi + 0x840]
call fcn.00430d60
lea ecx, [edi + 0x1d8]
call fcn.0042ec00
lea ecx, [edi + 0x4d0]
call fcn.0042f980
lea ecx, [edi + 0xcf4]
call fcn.00420e40
lea ecx, [edi + 0xd18]
call fcn.00420e40
lea ecx, [edi + 0xd3c]
call fcn.00420e40
lea ecx, [edi + 0xd60]
call fcn.00420e40
lea ecx, [edi + 0xd84]
call fcn.00420e40
lea ecx, [edi + 0xda8]
call fcn.00420e40
lea ecx, [edi + 0xdcc]
call fcn.00420e40
lea ecx, [edi + 0xdf0]
call fcn.00420e40
lea ecx, [edi + 0x2d0]
call fcn.0042dc60
lea ecx, [edi + 0x608]
call fcn.004317f0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [ebp - 4], 0
lea esi, [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.IDMCSVDynamicCachePath
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SoftwareEurothermEuroMBusSettings
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
mov edx, esi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0050de20
add esp, 8
lea esi, [edi + 0x9ec]
test al, al
je 0x42abc9
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
jmp 0x42ac05
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x587818
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0
call fcn.00505a90
mov byte [ebp - 4], 4
mov ecx, esi
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push esi
lea ecx, [edi + 0x9f0]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [edi + 0x9f8]
call fcn.004333e0
lea ecx, [edi + 0xb10]
call fcn.00422560
lea ecx, [edi + 0x748]
call fcn.0042b790
lea ecx, [edi + 0xedc]
call fcn.00420e40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret