Function at 0x1008c6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c2305
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
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 ebx, dword [ebp + 8]
push ebx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
call sym.HncOfficeFramework.dll_public_virtual:_long_int___thiscall_CHDCScrollItem::OnMouseEvent_class_CHDlgCtrlMouseEvent__
mov edx, eax
test edx, edx
jne 0x1008c952
mov ecx, dword [ebx]
mov eax, ecx
sub eax, 0x201
je 0x1008c70d
sub eax, 3
jne 0x1008c7d3
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x1008c7c7
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1008c777
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1008c777
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x10]
mov dword [eax + 0x10], esi
test ebx, ebx
je 0x1008c777
cmp ebx, esi
je 0x1008c777
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1008c757
mov eax, dword [eax + 0x5c]
and dword [eax + 4], 0xfffeffff
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx]
push 0
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
cmp dword [eax + 0x10], esi
jne 0x1008c7c7
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 4]
call fcn.1001bbc0
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1008c791
mov eax, dword [eax + 0x5c]
or dword [eax + 4], 0x10000
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx]
push 1
call dword [eax + 0x30]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 4]
call fcn.1001bbc0
test dword [esi + 8], 0x10000000
je 0x1008c7c7
mov eax, dword [esi + 0x5c]
push 0
push 0
push esi
push dword [eax + 8]
push 0x8005
call sym.HncOfficeFramework.dll_public:_static_void___cdecl_CHncAAEventProxy::HncNotifyWinEvent_unsigned_long_int__struct_HWND_____void___long_int__long_int_
add esp, 0x14
mov ecx, dword [ebp + 8]
mov ebx, 1
mov ecx, dword [ecx]
jmp 0x1008c7d5
mov ebx, edx
cmp ecx, 0x204
jne 0x1008c950
xor esi, esi
mov dword [ebp - 0x60], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x3c], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
push 4
mov byte [ebp - 4], 1
mov eax, dword [0x1023c868]
push 0x3cd1
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1008c966
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x1008c966
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x60]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncMenu::LoadMenuIndirectW_void_const__
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
mov esi, dword [ebp - 0x5c]
je 0x1008c966
test esi, esi
je 0x1008c8a7
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x1008c8a7
mov eax, dword [eax]
test eax, eax
je 0x1008c8a7
mov eax, dword [eax + 0xc]
jmp 0x1008c8a9
xor eax, eax
mov ecx, dword [ebp - 0x38]
test ecx, ecx
jne 0x1008c969
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1008c8c7
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [edi + 0xe8]
mov dword [edi + 0xec], 1
test eax, eax
jne 0x1008c8f6
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1008c8f6
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
push 0
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x18]
push 0x102
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHncMenu::TrackPopupMenuEx_unsigned_int__int__int__struct_HWND_____struct_tagTPMPARAMS__
mov dword [edi + 0xec], 0
cmp eax, 0x3cd2
jne 0x1008c924
mov ecx, edi
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncJajunCtrl::SendToClipboardJajunContent_void_
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
je 0x1008c93e
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1008c93e
push ecx
call fcn.10022170
cmp dword [ebp - 0x4c], 0
je 0x1008c950
test esi, esi
je 0x1008c950
push ecx
mov ecx, esi
call fcn.10022170
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x38]
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
je 0x1008c980
test ecx, ecx
je 0x1008c980
push ecx
call fcn.10022170
cmp dword [ebp - 0x4c], 0
je 0x1008c992
test esi, esi
je 0x1008c992
push ecx
mov ecx, esi
call fcn.10022170
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4