Function at 0x1012be90
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c7ed4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x1023c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push dword [ebx + 0xc]
push 0x43c0
push dword [0x1023c868]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncDialogEx::constructor_struct_HINSTANCE_____unsigned_int__struct_HWND____
mov dword [ebp - 4], 0
lea esi, [edi + 0x5c]
mov dword [edi], sym.HncOfficeFramework.dll_const_CHncColorSelDialog::vftable
lea ecx, [esi + 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
movups xmmword [edi + 0x40], xmm0
mov dword [edi + 0x50], 0
mov dword [esi + 8], sym.HncOfficeFramework.dll_const_CColorUserCtrl::vbtable
call dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncObject::constructor_void_]
push 0
mov ecx, esi
call sym.HncOfficeFramework.dll_public:_void___thiscall_CGradBoxCtrl::constructor_void_
mov eax, dword [esi + 8]
mov dword [esi], sym.HncOfficeFramework.dll_const_CColorUserCtrl::vftablefor__CHDlgItem
mov eax, dword [eax + 4]
mov dword [eax + esi + 8], sym.HncOfficeFramework.dll_const_CColorUserCtrl::vftablefor__CHncObject
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x40]
mov dword [ecx + esi + 4], eax
mov dword [esi + 0x40], 0
push 1
lea ecx, [edi + 0xa8]
mov byte [ebp - 4], 1
call sym.HncOfficeFramework.dll_public:_void___thiscall_CColorStateRectCtrl::constructor_void_
push 1
lea ecx, [edi + 0xfc]
mov byte [ebp - 4], 2
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCButton::constructor_void_
push 1
lea ecx, [edi + 0x114]
mov byte [ebp - 4], 3
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCSpinButtonCtrlEx::constructor_void_
push 1
lea ecx, [edi + 0x12c]
mov byte [ebp - 4], 4
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCSpinButtonCtrlEx::constructor_void_
push 1
lea ecx, [edi + 0x144]
mov byte [ebp - 4], 5
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCSpinButtonCtrlEx::constructor_void_
push 1
lea ecx, [edi + 0x15c]
mov byte [ebp - 4], 6
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCSpinButtonCtrlEx::constructor_void_
push 1
lea ecx, [edi + 0x174]
mov byte [ebp - 4], 7
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCSpinButtonCtrlEx::constructor_void_
push 1
lea ecx, [edi + 0x18c]
mov byte [ebp - 4], 8
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCSpinButtonCtrlEx::constructor_void_
push 1
lea ecx, [edi + 0x1a4]
mov byte [ebp - 4], 9
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCEdit::constructor_void_
push 1
lea ecx, [edi + 0x20c]
mov byte [ebp - 4], 0xa
call sym.HncOfficeFramework.dll_public:_void___thiscall_CColorAlphaCtrl::constructor_void_
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x240]
push 1
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCSpinButtonCtrlEx::constructor_void_
push 1
lea ecx, [edi + 0x258]
mov byte [ebp - 4], 0xc
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCStatic::constructor_void_
push 1
lea ecx, [edi + 0x26c]
mov byte [ebp - 4], 0xd
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCStatic::constructor_void_
push 1
lea ecx, [edi + 0x280]
mov byte [ebp - 4], 0xe
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCSpuitButton::constructor_void_
push 1
lea ecx, [edi + 0x2b0]
mov byte [ebp - 4], 0xf
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCTabCtrlSheet::constructor_void_
lea ecx, [edi + 0x2dc]
mov byte [ebp - 4], 0x10
call sym.HncOfficeFramework.dll_public:_void___thiscall_CEtdTabCtrlPage::constructor_void_
lea ecx, [edi + 0x394]
mov byte [ebp - 4], 0x11
call sym.HncOfficeFramework.dll_public:_void___thiscall_CColTabCtrlPage::constructor_void_
push 1
lea ecx, [edi + 0x464]
mov byte [ebp - 4], 0x12
call sym.HncOfficeFramework.dll_public:_void___thiscall_CColorRGBScrollCtrl::constructor_void_
push 1
lea ecx, [edi + 0x4cc]
mov byte [ebp - 4], 0x13
call sym.HncOfficeFramework.dll_public:_void___thiscall_CColorRGBScrollCtrl::constructor_void_
push 1
lea ecx, [edi + 0x534]
mov byte [ebp - 4], 0x14
call sym.HncOfficeFramework.dll_public:_void___thiscall_CColorRGBScrollCtrl::constructor_void_
push 1
lea ecx, [edi + 0x59c]
mov byte [ebp - 4], 0x15
call sym.HncOfficeFramework.dll_public:_void___thiscall_CColorHSLScrollCtrl::constructor_void_
push 1
lea ecx, [edi + 0x60c]
mov byte [ebp - 4], 0x16
call sym.HncOfficeFramework.dll_public:_void___thiscall_CColorHSLScrollCtrl::constructor_void_
push 1
lea ecx, [edi + 0x67c]
mov byte [ebp - 4], 0x17
call sym.HncOfficeFramework.dll_public:_void___thiscall_CColorHSLScrollCtrl::constructor_void_
push 1
lea ecx, [edi + 0x6ec]
mov byte [ebp - 4], 0x18
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCBitmapButton::constructor_void_
push 1
lea ecx, [edi + 0x704]
mov byte [ebp - 4], 0x19
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCBitmapButton::constructor_void_
mov ecx, dword [ebx + 8]
mov byte [ebp - 4], 0x1a
movzx eax, cl
mov dword [edi + 0x28], eax
movzx eax, cx
shr eax, 8
mov dword [edi + 0x2c], eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov dword [edi + 0x30], eax
push ecx
call dword [sym.imp.HncBaseDraw.dll_unsigned_int___stdcall_HncColorGetHValueFromRGB_unsigned_long_int_]
mov esi, dword [ebx + 8]
push esi
mov dword [edi + 0x34], eax
call dword [sym.imp.HncBaseDraw.dll_unsigned_int___stdcall_HncColorGetSValueFromRGB_unsigned_long_int_]
push esi
mov dword [edi + 0x38], eax
call dword [sym.imp.HncBaseDraw.dll_unsigned_int___stdcall_HncColorGetLValueFromRGB_unsigned_long_int_]
movzx ecx, byte [edi + 0x30]
mov dword [edi + 0x3c], eax
movzx eax, byte [edi + 0x2c]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x54], 0
movzx eax, byte [edi + 0x28]
shl ecx, 8
or ecx, eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x58], eax
mov eax, edi
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc