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

Disassembly:
sub esp, 0x18c
push ebx
push ebp
push esi
mov eax, 6
mov esi, ecx
push edi
mov dword [esp + 0xa4], eax
mov dword [esp + 0xd4], eax
xor ebp, ebp
mov edx, 3
mov edi, 4
mov ecx, 5
mov ebx, 1
mov eax, 7
mov dword [esp + 0x3c], 0x23af
mov dword [esp + 0x40], 0x23b0
mov dword [esp + 0x44], 0x23b8
mov dword [esp + 0x48], 0x23b9
mov dword [esp + 0x4c], 0x23b1
mov dword [esp + 0x50], 0x23b2
mov dword [esp + 0x54], 0x23b5
mov dword [esp + 0x58], 0x23b6
mov dword [esp + 0x5c], 0x23b3
mov dword [esp + 0x60], 0x23b4
mov dword [esp + 0x64], 0x23b7
mov dword [esp + 0x68], 0x23ba
mov dword [esp + 0x2c], 0x6b
mov dword [esp + 0x30], 0x6c
mov dword [esp + 0x34], 0x6d
mov dword [esp + 0x38], 0x6e
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], 0x26ac
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], 0x80
mov dword [esp + 0x80], 0x26b4
mov dword [esp + 0x84], 2
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], 0x8080
mov dword [esp + 0x90], 0x26b6
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], 0x800000
mov dword [esp + 0xa0], 0x26b1
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], 0x8000
mov dword [esp + 0xb0], 0x26b7
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], 0x808000
mov dword [esp + 0xc0], 0x26b8
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], 0xff0000
mov dword [esp + 0xd0], 0x26b9
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], 0x808080
mov dword [esp + 0xe0], 0x26bb
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], 0xff
mov dword [esp + 0xf0], 0x26bc
mov dword [esp + 0xf4], 2
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], 0x800080
mov dword [esp + 0x100], 0x26c2
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ebp
mov dword [esp + 0x10c], 0xff00ff
mov dword [esp + 0x110], 0x26c4
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], 0xffff
mov dword [esp + 0x120], 0x26c6
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], 0xff00
mov dword [esp + 0x130], 0x26c7
mov dword [esp + 0x134], edi
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], 0xffff00
mov dword [esp + 0x144], ecx
mov ecx, esi
mov dword [esp + 0x140], 0x26c8
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], 0xc0c0c0
mov dword [esp + 0x150], 0x26cb
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], 0xffffff
mov dword [esp + 0x160], 0x26d3
mov dword [esp + 0x164], ebp
mov dword [esp + 0x168], ebx
call sub.MFC42.DLL_CDialog::OnInitDialog
mov ecx, dword [esi + 0x80]
lea eax, [esp + 0x16c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x16c]
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::ScreenToClient
lea edi, [esi + 0xe0]
push 0xe800
push 0x50002012
push esi
mov ecx, edi
call sub.MFC42.DLL_CToolBar::Create
push ebp
push 0x800
push ebp
mov ecx, edi
call sub.MFC42.DLL_CWnd::ModifyStyle
lea eax, [esp + 0x3c]
push 0xc
push eax
mov ecx, edi
call sub.MFC42.DLL_CToolBar::SetButtons
mov ecx, dword [esi + 0x100]
push ebp
push ebp
push 0x418
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebp
jle 0x67877344
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
call sub.MFC42.DLL_CToolBar::GetButtonStyle
mov edx, dword [esp + 0x10]
lea ecx, [edx + 1]
mov dword [esp + 0x10], ecx
and ecx, 0x80000003
jns 0x67877324
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x6787732b
or eax, 0x200000
push eax
push edx
mov ecx, edi
call sub.MFC42.DLL_CToolBar::SetButtonStyle
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x67877300
mov eax, dword [edi]
push 2
lea ecx, [esp + 0x18]
push ebp
push ecx
mov ecx, edi
call dword [eax + 0xc4]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x170]
mov eax, dword [esp + 0x14]
push ebp
push edx
mov edx, dword [esp + 0x174]
add ecx, 0xfffffffc
push eax
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTop]
add edx, 0xfffffff9
push ecx
push edx
push eax
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov edx, dword [esi + 0xc0]
lea ecx, [esp + 0x17c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x17c]
mov ecx, esi
push eax
call sub.MFC42.DLL_CWnd::ScreenToClient
lea edi, [esi + 0x188]
push 0xe800
push 0x50002012
push esi
mov ecx, edi
call sub.MFC42.DLL_CToolBar::Create
push ebp
push 0x800
push ebp
mov ecx, edi
call sub.MFC42.DLL_CWnd::ModifyStyle
lea ecx, [esp + 0x2c]
push 4
push ecx
mov ecx, edi
call sub.MFC42.DLL_CToolBar::SetButtons
call sym.MfcHlpr520.dll_public:_static_int___cdecl_CMHPImageManager::IsAlphaIconsImageListSupported_void_
test eax, eax
lea ecx, [esi + 0x180]
je 0x67877487
push ebx
push ebp
push 0x21
push 0x10
push 0x10
call sub.MFC42.DLL_CImageList::Create_1
push 0x238d
call sym.MfcHlpr520.dll_public:_static_struct_HBITMAP______cdecl_CMHPImageManagerIcon::LoadAlphaBitmap_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
cmp eax, ebp
jne 0x6787741b
xor eax, eax
jmp 0x6787741e
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x184]
push ebp
push eax
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
push ebx
push ebp
push 0x21
push 0x10
lea ecx, [esi + 0x228]
push 0x10
call sub.MFC42.DLL_CImageList::Create_1
mov eax, dword [esp + 0x10]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
cmp eax, ebp
jne 0x67877452
xor eax, eax
jmp 0x67877455
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x22c]
push ebp
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov ebx, 0xc
mov edx, dword [esi + 0x22c]
push ebp
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
dec ebx
jne 0x67877469
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x678774c7
push 0xc0c0c0
push ebx
push 0x10
push 0x238c
call sub.MFC42.DLL_CImageList::Create
push 0xc0c0c0
push ebx
push 0x10
lea ecx, [esi + 0x228]
push 0x238c
call sub.MFC42.DLL_CImageList::Create
mov ebx, 0xc
mov ecx, dword [esi + 0x22c]
push ebp
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
dec ebx
jne 0x678774b6
lea eax, [esi + 0x180]
cmp eax, ebp
jne 0x678774d5
xor eax, eax
jmp 0x678774d8
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x100]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push ebp
push 0x430
push edx
call ebx
lea eax, [esi + 0x228]
cmp eax, ebp
jne 0x678774fc
xor eax, eax
jmp 0x678774ff
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 0x1a8]
push ebp
push 0x430
push eax
call ebx
mov edx, dword [edi]
push 2
lea eax, [esp + 0x20]
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc4]
mov ecx, eax
mov edx, dword [esp + 0x180]
push ebp
add edx, 0xfffffffc
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 4]
push ecx
push eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x24], ecx
mov ecx, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTop]
add eax, 0xfffffff9
push edx
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowPos
push 0x66
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x18c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
lea edi, [esp + 0x74]
lea ebx, [esi + 0x230]
mov dword [esp + 0x10], 0x10
mov edx, dword [esp + 0x190]
mov ecx, dword [esp + 0x18c]
mov dword [esp + 0x1c], ecx
add ecx, 0xb
lea eax, [edx - 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
add eax, 0xb
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [edi]
push edx
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
lea eax, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [edi - 4]
lea edx, [esp + 0x1c]
push ecx
push esi
push edx
push 0x50000100
push ebp
mov ecx, ebx
call sub.MFC42.DLL_CStatic::Create
mov eax, dword [edi - 8]
mov ecx, ebx
push eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageEditorPicker::SetColor_unsigned_long_int_
mov eax, dword [esp + 0x10]
add edi, 0x10
add ebx, 0x48
dec eax
mov dword [esp + 0x10], eax
jne 0x67877593
lea eax, [esi + 0x230]
mov ecx, esi
push eax
call sym.MfcHlpr520.dll_private:_void___thiscall_CMHPImageEditorDlg::SetSelected_class_CMHPImageEditorPicker__
lea edi, [esi + 0x6f8]
push esi
push 0x69
mov ecx, edi
call sub.MFC42.DLL_CWnd::SubclassDlgItem
push 0xfffeff
mov ecx, edi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageEditorPicker::SetColor_unsigned_long_int_
push esi
push 0x6a
lea ecx, [esi + 0x6b0]
call sub.MFC42.DLL_CWnd::SubclassDlgItem
push esi
push 0x64
lea ecx, [esi + 0x740]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageEditorPicture::Init_unsigned_int__class_CMHPImageEditorDlg__
push esi
push 0x65
lea ecx, [esi + 0x804]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageEditorPreview::Init_unsigned_int__class_CMHPImageEditorDlg__
cmp dword [esi + 0x864], ebp
je 0x67877681
push 0x678399d0
mov ecx, sym.MfcHlpr520.dll_class_CThreadLocal_class_CMHPMouseManager__CMHPMouseManager::_mhpMouseThreadState
call sub.MFC42.DLL_CThreadLocalObject::GetData
mov ecx, dword [esi + 0x20]
push ecx
mov ecx, eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPMouseManager::AddTrustedWindow_struct_HWND____
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18c
ret