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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c0ac7
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13c], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x134]
push 1
push eax
lea eax, [ebp - 0x144]
push eax
movups xmmword [ebp - 0x80], xmm0
call fcn.10049c00
mov esi, dword [ebp - 0x144]
cmp esi, dword [ebp - 0x134]
je 0x1004c949
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xd4], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xe0], 0x101de8f4
mov dword [ebp - 0xd0], 0x101de914
mov dword [ebp - 0xc8], 0x101deb78
mov dword [ebp - 4], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov byte [ebp - 0x104], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x110], 0x101de8f4
mov dword [ebp - 0x100], 0x101de914
mov dword [ebp - 0xf8], 0x101deb78
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x40], 0x101de8f4
mov dword [ebp - 0x30], 0x101de914
mov dword [ebp - 0x28], 0x101deb78
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x70], 0x101de8f4
mov dword [ebp - 0x60], 0x101de914
mov dword [ebp - 0x58], 0x101deb78
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xb0], 0x101de8f4
mov dword [ebp - 0xa0], 0x101de914
mov dword [ebp - 0x98], 0x101deb78
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.100437d0
mov ecx, eax
mov dword [ebp - 0x148], ecx
test ecx, ecx
je 0x1004c979
mov eax, dword [edi + 4]
push dword [eax + 8]
push ecx
lea ecx, [ebp - 0x1b8]
call fcn.10053850
push 0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.10044660
push dword [ebp - 0x12c]
movzx eax, word [edi + 0x98]
lea ecx, [ebp - 0x1b8]
push dword [ebp - 0x130]
push eax
call fcn.10053aa0
push 1
lea eax, [ebp - 0xe0]
mov ecx, edi
push eax
push esi
call fcn.1004b690
test eax, eax
jne 0x1004c247
mov eax, dword [edi + 0x68]
movups xmm0, xmmword [edi + 0x84]
mov dword [ebp - 0xdc], eax
mov al, byte [edi + 0x70]
mov byte [ebp - 0xd4], al
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0x78]
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 0x80]
mov dword [ebp - 0xc4], eax
movups xmmword [ebp - 0xc0], xmm0
push 1
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
push dword [ebp - 0x134]
call fcn.1004b690
test eax, eax
jne 0x1004c29f
mov eax, dword [edi + 0x68]
movups xmm0, xmmword [edi + 0x84]
mov dword [ebp - 0x10c], eax
mov al, byte [edi + 0x70]
mov byte [ebp - 0x104], al
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x108], eax
mov eax, dword [edi + 0x78]
mov dword [ebp - 0xfc], eax
mov eax, dword [edi + 0x80]
mov dword [ebp - 0xf4], eax
movups xmmword [ebp - 0xf0], xmm0
mov ecx, dword [edi + 8]
add ecx, 0x10
lea eax, [ecx + 0x18]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.1003fe30
push dword [ebp - 0xd4]
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xb0]
push dword [ebp - 0xd8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xac], eax
call fcn.10064b30
lea ecx, [ebp - 0xb0]
call fcn.10042450
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x140], eax
call fcn.10042450
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x150], eax
call fcn.10042450
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x134]
sub eax, esi
dec eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x154], eax
jmp 0x1004c339
mov edi, dword [ebp - 0x13c]
mov edi, dword [edi + 8]
lea ecx, [ebp - 0x28]
add edi, 0x10
lea eax, [edi + 0x18]
neg edi
sbb edi, edi
and edi, eax
push edi
call fcn.1003edd0
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [ebp - 0x28]
mov eax, dword [eax + 0x20]
call eax
push eax
lea ecx, [ebp - 0x28]
call dword [esi + 0x24]
mov eax, dword [edi]
mov eax, dword [eax + 0x54]
cmp eax, sym.HncOfficeFramework.dll_public_virtual:_int___thiscall_CHncColorPickerID::GetColorPickerID_void_const
jne 0x1004c9a3
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x58]
cmp edx, sym.HncOfficeFramework.dll_public_virtual:_void___thiscall_CHncColorPickerID::SetColorPickerID_int_
jne 0x1004c9ac
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x5c]
cmp eax, sym.HncOfficeFramework.dll_protected_virtual:_unsigned_long_int____thiscall_CHncDialogEx::GetContextHelpMap_void_
jne 0x1004c9b7
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x60]
cmp edx, sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCListCtrl::SetOption_unsigned_long_int_
jne 0x1004c9c0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0xdc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x140]
jne 0x1004c3ee
cmp eax, dword [ebp - 0x150]
jne 0x1004c3ee
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x40]
push dword [ebp - 0xd8]
call fcn.10064b30
jmp 0x1004c3fa
sub esp, 8
lea ecx, [ebp - 0x40]
push eax
call fcn.1003efc0
mov eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x58]
mov edi, dword [eax + 8]
add edi, 0x10
lea eax, [edi + 0x18]
neg edi
sbb edi, edi
and edi, eax
push edi
call fcn.1003edd0
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [ebp - 0x58]
mov eax, dword [eax + 0x20]
call eax
push eax
lea ecx, [ebp - 0x58]
call dword [esi + 0x24]
mov eax, dword [edi]
mov eax, dword [eax + 0x54]
cmp eax, sym.HncOfficeFramework.dll_public_virtual:_int___thiscall_CHncColorPickerID::GetColorPickerID_void_const
jne 0x1004c9cb
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x58]
cmp edx, sym.HncOfficeFramework.dll_public_virtual:_void___thiscall_CHncColorPickerID::SetColorPickerID_int_
jne 0x1004c9d4
mov dword [ebp - 0x54], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x5c]
cmp eax, sym.HncOfficeFramework.dll_protected_virtual:_unsigned_long_int____thiscall_CHncDialogEx::GetContextHelpMap_void_
jne 0x1004c9df
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x60]
cmp edx, sym.HncOfficeFramework.dll_public:_void___thiscall_CHDCListCtrl::SetOption_unsigned_long_int_
jne 0x1004c9e8
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x54], ecx
cmp eax, dword [ebp - 0x10c]
jne 0x1004c4bc
mov eax, dword [ebp - 0x144]
cmp dword [ebp - 0x140], eax
jne 0x1004c4bc
push dword [ebp - 0x104]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x108]
call fcn.10064b30
xor edi, edi
mov dword [ebp - 0x134], edi
lea eax, [ebp - 0x70]
test edi, edi
lea esi, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x13c]
cmovne esi, eax
push esi
call fcn.10048dc0
test eax, eax
je 0x1004c712
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x1b8]
push esi
push eax
call fcn.10048fa0
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
mov edx, dword [eax + 0x20]
cmp eax, 0x101de914
jne 0x1004c9f3
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x178], 0x101d9800
mov dword [ebp - 0x174], ecx
lea ecx, [eax + 0x10]
neg eax
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x16c], 0
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 6
mov eax, dword [esi]
mov edx, dword [eax + 4]
cmp eax, 0x101de8f4
jne 0x1004c9fa
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x60]
cmp edx, 0x1003da00
jne 0x1004ca03
test byte [eax + 0x40], 0xc0
jne 0x1004c648
mov edx, dword [eax + 0x1c]
cmp word [edx + 0x2c], 1
mov ecx, dword [edx + 0x30]
mov eax, dword [edx + 0x24]
jne 0x1004c648
cmp dword [eax + ecx*4 + 8], 0
jne 0x1004c648
mov edx, dword [esi]
mov eax, dword [edx + 4]
cmp edx, 0x101de8f4
jne 0x1004ca10
mov eax, dword [ebp - 0x134]
test eax, eax
mov edi, dword [ebp - 0x6c]
cmove edi, dword [ebp - 0x3c]
lea ecx, [edi + 0x68]
neg edi
sbb edi, edi
and edi, ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x138], ecx
cmp edx, 0x101de8f4
jne 0x1004ca23
test eax, eax
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x68]
cmovne ecx, edx
mov eax, dword [ecx]
mov dword [ebp - 0x15c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x15c]
cmp dword [ebp - 0x134], 0
lea edx, [ebp - 0x28]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x58]
cmovne edx, eax
mov ecx, dword [edx]
mov eax, dword [ecx + 0x54]
cmp ecx, 0x101deb78
jne 0x1004ca37
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x138]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x1c8]
push 1
push ecx
push edi
push eax
lea ecx, [ebp - 0x178]
call fcn.100585b0
jmp 0x1004c6f3
mov eax, dword [esi]
mov edx, dword [eax + 4]
cmp eax, 0x101de8f4
jne 0x1004ca42
mov edx, dword [ebp - 0x134]
test edx, edx
mov edi, dword [ebp - 0x6c]
cmove edi, dword [ebp - 0x3c]
lea ecx, [edi + 0x68]
neg edi
lea eax, [ebp - 0x58]
sbb edi, edi
and edi, ecx
test edx, edx
lea ecx, [ebp - 0x28]
cmovne ecx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x54]
mov dword [ebp - 0x138], edx
mov edx, dword [ebp - 0x134]
cmp eax, 0x101deb78
jne 0x1004ca53
mov eax, dword [ecx + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x138], eax
mov eax, dword [ecx + 0xc]
cmp ecx, 0x101de8f4
jne 0x1004ca64
lea eax, [ebp - 0x68]
test edx, edx
lea ecx, [ebp - 0x38]
cmovne ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x164], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x164]
push 1
push dword [ebp - 0x138]
lea ecx, [ebp - 0x178]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x1c8]
push edi
push eax
call fcn.10058800
mov edi, dword [ebp - 0x134]
lea eax, [ebp - 0x20]
movups xmm0, xmmword [ebp - 0x1c8]
test edi, edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
cmovne eax, ecx
movups xmmword [eax], xmm0
push esi
call fcn.10048c30
lea ecx, [ebp - 0x50]
test edi, edi
lea eax, [ebp - 0x20]
cmovne eax, ecx
mov ecx, dword [ebp - 0x148]
push 2
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x120]
push eax
movups xmmword [ebp - 0x120], xmm0
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::LPtoDP_struct_tagPOINT___int_const]
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1004c76a
movups xmm0, xmmword [ebp - 0x120]
movups xmmword [ebp - 0x80], xmm0
jmp 0x1004c77c
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x80]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
inc edi
mov dword [ebp - 0x134], edi
cmp edi, 2
jb 0x1004c4c4
mov eax, dword [ebp - 0xac]
test byte [eax + 0x30], 1
je 0x1004c7a5
mov eax, dword [eax + 0x38]
test eax, eax
je 0x1004c7a5
test byte [eax + 0x30], 1
jne 0x1004c798
mov eax, dword [eax + 0x1c]
mov esi, dword [ebp - 0x140]
inc esi
movzx eax, word [eax + 0x18]
cmp esi, eax
jae 0x1004c7d5
sub esp, 8
lea ecx, [ebp - 0xb0]
push esi
call fcn.1003efc0
lea ecx, [ebp - 0xb0]
call fcn.10042450
cmp esi, eax
je 0x1004c7e4
lea ecx, [ebp - 0xb0]
call fcn.1003f060
test eax, eax
je 0x1004c82f
lea ecx, [ebp - 0xb0]
call fcn.10042450
cmp eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x10c]
jbe 0x1004c80d
cmp ecx, eax
je 0x1004c82f
mov ecx, dword [ecx + 0x3c]
mov eax, dword [eax + 0x3c]
cmp ecx, eax
ja 0x1004c82f
jne 0x1004c333
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x108]
jbe 0x1004c333
push dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1b4]
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::SetMapMode_int_]
push dword [ebp - 0x194]
mov ecx, dword [ebp - 0x1b4]
push dword [ebp - 0x198]
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::SetWindowExt_int__int_]
push dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x1b4]
push dword [ebp - 0x190]
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::SetViewportExt_int__int_]
push dword [ebp - 0x184]
mov ecx, dword [ebp - 0x1b4]
push dword [ebp - 0x188]
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::SetWindowOrg_int__int_]
push dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x1b4]
push dword [ebp - 0x180]
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::SetViewportOrg_int__int_]
mov ecx, dword [ebp - 0x148]
call dword [sym.imp.HncBaseDraw.dll_public:_struct_HDC______thiscall_CHncDrawContext::GetAttachedDC_void_const]
mov esi, eax
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x4c]
cmp eax, sym.HncOfficeFramework.dll_protected_virtual:_void___thiscall_CHDCEditBase::vReleaseDC_struct_HDC____
jne 0x1004ca74
mov ecx, dword [edx - 0x50]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x1004c8dc
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1004c8ea
mov eax, dword [eax + 0x5c]
push esi
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [ebp - 0x148]
mov ecx, esi
mov edi, dword [sym.imp.HncBaseDraw.dll_public:_void___thiscall_CHncDrawContext::destructor_void_]
call edi
push 0x18
push esi
call fcn.1008549d
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], 0x101df748
test ecx, ecx
je 0x1004c979
cmp dword [ebp - 0x1b0], 0
je 0x1004c979
push 0
call dword [sym.imp.HncBaseDraw.dll_public:_void___thiscall_CHncDrawContext::ReleaseDrawCtxFromHWnd_struct_HWND____]
mov esi, dword [ebp - 0x1b4]
test esi, esi
je 0x1004c979
mov ecx, esi
call edi
push 0x18
push esi
call fcn.1008549d
add esp, 8
jmp 0x1004c979
mov eax, dword [edi + 8]
mov ecx, edi
push 1
add eax, 0x10
push eax
call fcn.1004b7d0
push eax
lea eax, [ebp - 0x1c8]
mov ecx, edi
push eax
call fcn.1004ccf0
movups xmm0, xmmword [eax]
movd eax, xmm0
movups xmmword [ebp - 0x80], xmm0
add eax, 2
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14c]
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [eax], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 4
mov ecx, edi
call eax
jmp 0x1004c377
push eax
lea ecx, [ebp - 0x28]
call edx
jmp 0x1004c38c
mov ecx, edi
call eax
jmp 0x1004c39e
push eax
lea ecx, [ebp - 0x28]
call edx
jmp 0x1004c3b0
mov ecx, edi
call eax
jmp 0x1004c43e
push eax
lea ecx, [ebp - 0x58]
call edx
jmp 0x1004c453
mov ecx, edi
call eax
jmp 0x1004c465
push eax
lea ecx, [ebp - 0x58]
call edx
jmp 0x1004c477
call edx
jmp 0x1004c50e
mov ecx, esi
call edx
jmp 0x1004c55e
push 0
mov ecx, eax
call edx
test eax, eax
jmp 0x1004c592
mov ecx, esi
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [ebp - 0x134]
jmp 0x1004c5b8
lea eax, [ebp - 0x15c]
mov ecx, esi
push eax
call dword [ebp - 0x138]
jmp 0x1004c5f8
mov ecx, edx
call eax
mov ecx, eax
jmp 0x1004c622
mov ecx, esi
call edx
mov edx, dword [ebp - 0x134]
mov edi, eax
jmp 0x1004c667
call dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
jmp 0x1004c69a
lea ecx, [ebp - 0x164]
push ecx
mov ecx, esi
call eax
jmp 0x1004c6d3
push esi
mov ecx, edx
call eax
jmp 0x1004c8ea