Function at 0x10103dd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c5aa4
mov eax, dword fs:[0]
push eax
sub esp, 0x98
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 dword [ebp - 0x10], ecx
xor ebx, ebx
mov dword [ebp - 0x58], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
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 0x10104155
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10104155
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x58]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncMenu::LoadMenuIndirectW_void_const__
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ebx, dword [ebp - 0x54]
test esi, esi
je 0x10104155
test ebx, ebx
je 0x10103ebf
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jbe 0x10103ebf
mov eax, dword [eax + 4]
test eax, eax
je 0x10103ebf
mov eax, dword [eax + 0xc]
jmp 0x10103ec1
xor eax, eax
cmp dword [ebp - 0x30], 0
jne 0x10104155
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x7c], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
test eax, eax
je 0x10103f24
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub eax, esi
sar eax, 2
test eax, eax
je 0x10103f24
mov esi, dword [esi]
test esi, esi
je 0x10103f24
mov esi, dword [esi + 0xc]
jmp 0x10103f26
xor esi, esi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x78], esi
call sym.HncOfficeFramework.dll_public:_unsigned_long_int___thiscall_CHDCListCtrl::GetViewType_void_const
sub eax, 0
je 0x10103f86
sub eax, 1
je 0x10103f64
sub eax, 2
jne 0x10103fac
test esi, esi
je 0x10103fac
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x10103fac
nop
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cb3
je 0x10103fa8
add eax, 4
cmp eax, ecx
jne 0x10103f50
jmp 0x10103fac
test esi, esi
je 0x10103fac
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x10103fac
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cb4
je 0x10103fa8
add eax, 4
cmp eax, ecx
jne 0x10103f72
jmp 0x10103fac
test esi, esi
je 0x10103fac
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x10103fac
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cb2
je 0x10103fa8
add eax, 4
cmp eax, ecx
jne 0x10103f94
jmp 0x10103fac
or dword [edx + 4], 8
lea ecx, [ebp - 0xa0]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncMenu::constructor_void_
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x10103fde
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
sub ecx, eax
sar ecx, 2
cmp ecx, 2
jbe 0x10103fde
mov edi, dword [eax + 8]
test edi, edi
je 0x10103fde
mov edi, dword [edi + 0xc]
jmp 0x10103fe0
xor edi, edi
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
jne 0x10104142
mov eax, dword [ebp - 0x10]
mov edx, 0x5098
mov dword [ebp - 0x9c], edi
mov eax, dword [eax + 0x4a4]
cmp eax, 4
ja case.0x10104007.0
jmp dword [eax*4 + 0x10104198]
mov edx, 0x3c07
jmp case.0x10104007.0
mov edx, 0x3c08
jmp case.0x10104007.0
mov edx, 0x3c09
jmp case.0x10104007.0
mov edx, 0x3c0a
test edi, edi
je 0x1010404a
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
cmp eax, ecx
je 0x1010404a
mov esi, dword [eax]
cmp dword [esi + 8], edx
je 0x10104046
add eax, 4
cmp eax, ecx
jne 0x10104036
jmp 0x1010404a
or dword [esi + 4], 8
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x4a0], 0
je 0x1010407c
test edi, edi
je 0x1010407c
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
cmp eax, ecx
je 0x1010407c
mov edx, dword [eax]
cmp dword [edx + 8], 0x3c0b
je 0x10104078
add eax, 4
cmp eax, ecx
jne 0x10104064
jmp 0x1010407c
or dword [edx + 4], 8
call dword [sym.imp.HncVfs.dll_struct_IHncVfsManager____cdecl_HncGetVfsManager_void_]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x4d8]
mov edi, dword [esi]
mov edx, dword [ecx]
call dword [edx]
push eax
mov ecx, esi
call dword [edi + 0x18]
test eax, eax
je 0x101040d4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test eax, eax
jne 0x101040fd
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x101040fd
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
cmp eax, ecx
je 0x101040fd
nop dword [eax]
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cb6
je 0x101040f9
add eax, 4
cmp eax, ecx
jne 0x101040c0
jmp 0x101040fd
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x101040fd
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
cmp eax, ecx
je 0x101040fd
mov edx, dword [eax]
cmp dword [edx + 8], 0x9cb6
je 0x101040f9
add eax, 4
cmp eax, ecx
jne 0x101040e5
jmp 0x101040fd
or dword [edx + 4], 3
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x8c]
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
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 0x1010413c
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncShellListCtrlVL::_DoDefaultContextCommandProtocolItem_unsigned_int_
mov ecx, dword [ebp - 0x9c]
cmp dword [ebp - 0x8c], 0
je 0x10104155
test ecx, ecx
je 0x10104155
push ecx
call fcn.10022170
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x34], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
je 0x1010416f
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x1010416f
push ecx
call fcn.10022170
cmp dword [ebp - 0x44], 0
je 0x10104181
test ebx, ebx
je 0x10104181
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