Function at 0x101039f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c5a63
mov eax, dword fs:[0]
push eax
sub esp, 0x90
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
xor ebx, ebx
mov dword [ebp - 0x54], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
push 4
mov byte [ebp - 4], 1
mov esi, dword [0x1023c868]
push 0x5083
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10103d6d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10103d6a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x54]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncMenu::LoadMenuIndirectW_void_const__
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ebx, dword [ebp - 0x50]
test esi, esi
je 0x10103d6d
test ebx, ebx
je 0x10103adc
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10103adc
mov eax, dword [ecx]
test eax, eax
je 0x10103adc
mov eax, dword [eax + 0xc]
jmp 0x10103ade
xor eax, eax
cmp dword [ebp - 0x2c], 0
jne 0x10103d6d
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x78], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
test eax, eax
je 0x10103b41
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub eax, esi
sar eax, 2
test eax, eax
je 0x10103b41
mov esi, dword [esi]
test esi, esi
je 0x10103b41
mov esi, dword [esi + 0xc]
jmp 0x10103b43
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x74], esi
call sym.HncOfficeFramework.dll_public:_unsigned_long_int___thiscall_CHDCListCtrl::GetViewType_void_const
sub eax, 0
je 0x10103ba6
sub eax, 1
je 0x10103b84
sub eax, 2
jne 0x10103bcc
test esi, esi
je 0x10103bcc
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x10103bcc
nop word [eax + eax]
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cc1
je 0x10103bc8
add eax, 4
cmp eax, ecx
jne 0x10103b70
jmp 0x10103bcc
test esi, esi
je 0x10103bcc
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x10103bcc
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cc2
je 0x10103bc8
add eax, 4
cmp eax, ecx
jne 0x10103b92
jmp 0x10103bcc
test esi, esi
je 0x10103bcc
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x10103bcc
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cc0
je 0x10103bc8
add eax, 4
cmp eax, ecx
jne 0x10103bb4
jmp 0x10103bcc
or dword [edx + 4], 8
lea ecx, [ebp - 0x9c]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncMenu::constructor_void_
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10103bfe
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
sub ecx, eax
sar ecx, 2
cmp ecx, 2
jbe 0x10103bfe
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x10103bfe
mov ebx, dword [ebx + 0xc]
jmp 0x10103c00
xor ebx, ebx
mov ecx, dword [ebp - 0x98]
test ecx, ecx
jne 0x10103d57
mov eax, dword [edi + 0x4a4]
mov edx, 0x5098
mov dword [ebp - 0x98], ebx
cmp eax, 4
ja case.0x10103c24.0
jmp dword [eax*4 + 0x10103db0]
mov edx, 0x3c07
jmp case.0x10103c24.0
mov edx, 0x3c08
jmp case.0x10103c24.0
mov edx, 0x3c09
jmp case.0x10103c24.0
mov edx, 0x3c0a
test ebx, ebx
je 0x10103c67
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp eax, ecx
je 0x10103c67
mov esi, dword [eax]
cmp dword [esi + 8], edx
je 0x10103c63
add eax, 4
cmp eax, ecx
jne 0x10103c53
jmp 0x10103c67
or dword [esi + 4], 8
cmp dword [edi + 0x4a0], 0
je 0x10103c98
test ebx, ebx
je 0x10103c98
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp eax, ecx
je 0x10103c98
nop
mov edx, dword [eax]
cmp dword [edx + 8], 0x3c0b
je 0x10103c94
add eax, 4
cmp eax, ecx
jne 0x10103c80
jmp 0x10103c98
or dword [edx + 4], 8
cmp dword [edi + 0x4e0], 0
jne 0x10103d18
mov ecx, edi
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHDCListCtrl::GetSelectedCount_void_const
test eax, eax
je 0x10103ce6
push 2
push 0xffffffffffffffff
mov ecx, edi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListCtrl::GetNextItem_int__int_const
mov esi, eax
cmp esi, 0xffffffff
je 0x10103d18
nop
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_public:_struct_IHncVfsShellPidl____thiscall_CHncShellListCtrlVL::GetFileItemData_int_
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
test al, 2
jne 0x10103ce6
push 2
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListCtrl::GetNextItem_int__int_const
mov esi, eax
cmp esi, 0xffffffff
jne 0x10103cc0
jmp 0x10103d18
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10103d18
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
cmp eax, ecx
je 0x10103d18
nop word [eax + eax]
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cbe
je 0x10103d14
add eax, 4
cmp eax, ecx
jne 0x10103d00
jmp 0x10103d18
or dword [edx + 4], 3
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncShellListCtrlVL::_RemoveWrongSeparator_class_CHncMenu__
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
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 [edi]
mov esi, eax
push esi
mov ecx, edi
call dword [edx + 0x90]
test eax, eax
jne 0x10103d51
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncShellListCtrlVL::_DoDefaultContextCommandTFDriveRoot_unsigned_int_
mov ecx, dword [ebp - 0x98]
cmp dword [ebp - 0x88], 0
je 0x10103d6a
test ecx, ecx
je 0x10103d6a
push ecx
call fcn.10022170
mov ebx, dword [ebp - 0x50]
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
je 0x10103d87
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10103d87
push ecx
call fcn.10022170
cmp dword [ebp - 0x40], 0
je 0x10103d99
test ebx, ebx
je 0x10103d99
push ecx
mov ecx, ebx
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