Function at 0x101041b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c5ae8
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
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 ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x60], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 4
mov byte [ebp - 4], 1
mov esi, dword [0x1023c868]
push 0x4519
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x101046ee
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x101046ee
push edi
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 edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edi, dword [ebp - 0x5c]
test esi, esi
je 0x101047b0
test edi, edi
je 0x101042d9
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x101042d9
mov eax, dword [ecx]
test eax, eax
je 0x101042d9
mov eax, dword [eax + 0xc]
jmp 0x101042db
xor eax, eax
mov esi, dword [ebp - 0x34]
test esi, esi
jne 0x101046f4
mov esi, eax
mov dword [ebp - 0x84], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
test eax, eax
je 0x10104344
mov edi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub eax, edi
sar eax, 2
test eax, eax
je 0x10104344
mov edi, dword [edi]
test edi, edi
je 0x10104344
mov edi, dword [edi + 0xc]
jmp 0x10104346
xor edi, edi
mov ecx, ebx
mov dword [ebp - 0x80], edi
call sym.HncOfficeFramework.dll_public:_unsigned_long_int___thiscall_CHDCListCtrl::GetViewType_void_const
sub eax, 0
je 0x101043a6
sub eax, 1
je 0x10104384
sub eax, 2
jne 0x101043cf
test edi, edi
je 0x101043cf
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
cmp eax, ecx
je 0x101043cf
nop dword [eax]
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cab
je 0x101043c8
add eax, 4
cmp eax, ecx
jne 0x10104370
jmp 0x101043cf
test edi, edi
je 0x101043cf
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
cmp eax, ecx
je 0x101043cf
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cac
je 0x101043c8
add eax, 4
cmp eax, ecx
jne 0x10104392
jmp 0x101043cf
test edi, edi
je 0x101043cf
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
cmp eax, ecx
je 0x101043cf
mov edx, dword [eax]
cmp dword [edx + 8], 0x9caa
je 0x101043c8
add eax, 4
cmp eax, ecx
jne 0x101043b4
jmp 0x101043cf
or dword [edx + 4], 8
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0xa8]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncMenu::constructor_void_
mov byte [ebp - 4], 3
test esi, esi
je 0x101043fe
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
sub ecx, eax
sar ecx, 2
cmp ecx, 2
jbe 0x101043fe
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x101043fe
mov ecx, dword [ecx + 0xc]
jmp 0x10104400
xor ecx, ecx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x10], ecx
test eax, eax
jne 0x101046d9
mov eax, dword [ebx + 0x4a4]
mov edx, 0x5098
mov dword [ebp - 0xa4], ecx
cmp eax, 4
ja case.0x10104427.0
jmp dword [eax*4 + 0x101047b8]
mov edx, 0x3c07
jmp case.0x10104427.0
mov edx, 0x3c08
jmp case.0x10104427.0
mov edx, 0x3c09
jmp case.0x10104427.0
mov edx, 0x3c0a
test ecx, ecx
je 0x10104470
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
cmp eax, ecx
je 0x1010446d
mov edi, dword [eax]
cmp dword [edi + 8], edx
je 0x10104466
add eax, 4
cmp eax, ecx
jne 0x10104456
jmp 0x1010446d
or dword [edi + 4], 8
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
cmp dword [ebx + 0x4a0], 0
je 0x101044ab
test ecx, ecx
je 0x101044ab
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
cmp eax, ecx
je 0x101044ab
nop word [eax + eax]
mov edx, dword [eax]
cmp dword [edx + 8], 0x3c0b
je 0x101044a4
add eax, 4
cmp eax, ecx
jne 0x10104490
jmp 0x101044ab
or dword [edx + 4], 8
mov esi, dword [ebp - 0x34]
cmp dword [ebx + 0x4e0], 0
jne 0x10104753
mov ecx, ebx
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHDCListCtrl::GetSelectedCount_void_const
mov edi, eax
cmp edi, 1
jne 0x10104560
push 2
push 0xffffffffffffffff
mov ecx, ebx
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListCtrl::GetNextItem_int__int_const
push eax
mov ecx, ebx
call sym.HncOfficeFramework.dll_public:_struct_IHncVfsShellPidl____thiscall_CHncShellListCtrlVL::GetFileItemData_int_
mov dword [ebp - 0x10], eax
test eax, eax
je 0x101045d3
call dword [sym.imp.HncVfs.dll_struct_IHncVfsManager____cdecl_HncGetVfsManager_void_]
mov ecx, dword [ebp - 0x10]
mov esi, eax
mov edx, dword [ecx]
mov edi, dword [esi]
call dword [edx]
push eax
mov ecx, esi
call dword [edi + 0x18]
push 0
test eax, eax
jne 0x1010451a
push 0x9cb1
push dword [ebp - 0x34]
call sym.HncOfficeFramework.dll_public:_static_int___cdecl_CHncMenu::RemoveMenu_class_CHncMenuData___unsigned_int__unsigned_int_
add esp, 0xc
jmp 0x101045d3
push 0x9cb0
push dword [ebp - 0x34]
call sym.HncOfficeFramework.dll_public:_static_int___cdecl_CHncMenu::RemoveMenu_class_CHncMenuData___unsigned_int__unsigned_int_
mov ecx, dword [ebp - 0x34]
add esp, 0xc
test ecx, ecx
je 0x101045d3
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
cmp eax, ecx
je 0x101045d3
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cae
je 0x1010455a
add eax, 4
cmp eax, ecx
jne 0x10104543
jmp 0x101045d3
or dword [edx + 4], 3
jmp 0x101045d3
test esi, esi
je 0x101045bb
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x1010458b
nop
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cae
je 0x10104584
add eax, 4
cmp eax, ecx
jne 0x10104570
jmp 0x1010458b
or dword [edx + 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x101045bb
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x101045bb
nop dword [eax]
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cb0
je 0x101045b4
add eax, 4
cmp eax, ecx
jne 0x101045a0
jmp 0x101045bb
or dword [edx + 4], 3
mov esi, dword [ebp - 0x34]
push 0
push 0x9cb1
push esi
call sym.HncOfficeFramework.dll_public:_static_int___cdecl_CHncMenu::RemoveMenu_class_CHncMenuData___unsigned_int__unsigned_int_
add esp, 0xc
test edi, edi
je 0x1010473c
push 2
mov esi, 1
mov ecx, ebx
push 0xffffffffffffffff
mov dword [ebp - 0x10], esi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListCtrl::GetNextItem_int__int_const
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x10104686
cmp esi, 1
jne 0x1010464e
mov ecx, dword [ebp - 0x14]
push ebx
call sym.HncOfficeFramework.dll_public:_struct_IHncVfsShellPidl____thiscall_CHncShellListCtrlVL::GetFileItemData_int_
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1010463c
call dword [sym.imp.HncVfs.dll_struct_IHncVfsAuthentication____cdecl_HncGetVfsAuthentication_void_]
mov ecx, dword [ebp - 0x3c]
mov esi, eax
push 0
mov edx, dword [ecx]
mov edi, dword [esi]
call dword [edx]
push eax
mov ecx, esi
call dword [edi + 4]
test eax, eax
je 0x10104639
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
dec eax
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x10], esi
jmp 0x1010463c
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push 2
push ebx
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListCtrl::GetNextItem_int__int_const
mov ebx, eax
cmp ebx, 0xffffffff
jg 0x101045f1
test esi, esi
jne 0x10104686
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x10104686
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
cmp eax, ecx
je 0x10104686
nop dword [eax]
nop word [eax + eax]
mov edx, dword [eax]
cmp dword [edx + 8], 0x9caf
je 0x10104733
add eax, 4
cmp eax, ecx
jne 0x10104670
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, ebx
call dword [eax + 0x8c]
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncShellListCtrlVL::_RemoveWrongSeparator_class_CHncMenu__
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHncMenu::TrackPopupMenuEx_unsigned_int__int__int__struct_HWND_____struct_tagTPMPARAMS__
mov edx, dword [ebx]
mov esi, eax
push esi
mov ecx, ebx
call dword [edx + 0x90]
test eax, eax
jne 0x101046d0
push esi
mov ecx, ebx
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncShellListCtrlVL::_DoDefaultContextCommandProtocolRoot_unsigned_int_
mov eax, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x94], 0
je 0x101046f1
test eax, eax
je 0x101046f1
push ecx
mov ecx, eax
call fcn.10022170
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x5c]
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x38], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
je 0x1010470d
test esi, esi
je 0x1010470d
push ecx
mov ecx, esi
call fcn.10022170
cmp dword [ebp - 0x4c], 0
je 0x1010471f
test edi, edi
je 0x1010471f
push ecx
mov ecx, edi
call fcn.10022170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
or dword [edx + 4], 3
jmp 0x10104686
push 3
push 0x9caf
push dword [ebp - 0x34]
call sym.HncOfficeFramework.dll_public:_static_unsigned_int___cdecl_CHncMenu::EnableMenuItem_class_CHncMenuData___unsigned_int__unsigned_int_
add esp, 0xc
jmp 0x10104689
push 0
push 0x9cad
push esi
call sym.HncOfficeFramework.dll_public:_static_int___cdecl_CHncMenu::RemoveMenu_class_CHncMenuData___unsigned_int__unsigned_int_
add esp, 0xc
push 0
push 0x9cae
push dword [ebp - 0x34]
call sym.HncOfficeFramework.dll_public:_static_int___cdecl_CHncMenu::RemoveMenu_class_CHncMenuData___unsigned_int__unsigned_int_
add esp, 0xc
push 0
push 0x9caf
push dword [ebp - 0x34]
call sym.HncOfficeFramework.dll_public:_static_int___cdecl_CHncMenu::RemoveMenu_class_CHncMenuData___unsigned_int__unsigned_int_
add esp, 0xc
push 0
push 0x9cb0
push dword [ebp - 0x34]
call sym.HncOfficeFramework.dll_public:_static_int___cdecl_CHncMenu::RemoveMenu_class_CHncMenuData___unsigned_int__unsigned_int_
add esp, 0xc
push 0
push 0x9cb1
push dword [ebp - 0x34]
call sym.HncOfficeFramework.dll_public:_static_int___cdecl_CHncMenu::RemoveMenu_class_CHncMenuData___unsigned_int__unsigned_int_
add esp, 0xc
jmp 0x10104689
mov esi, dword [ebp - 0x34]
jmp 0x101046f4