Function at 0x10198460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101caf3d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
push 0x5018
call sym.HncOfficeFramework.dll_public:_void____thiscall_CHDDialog::GetHDlgItem_int_const
test eax, eax
je 0x101984a1
mov eax, dword [eax + 0x58]
jmp 0x101984a3
xor eax, eax
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x101984cd
lea edx, [ebp - 0x20]
mov ecx, esi
call fcn.1001bb30
test eax, eax
je 0x101984cd
mov eax, dword [esi + 0x5c]
lea ecx, [ebp - 0x20]
push ecx
push dword [eax + 8]
call sym.HncOfficeFramework.dll_void___cdecl_ClientToScreen_struct_HWND_____struct_tagRECT__
add esp, 8
xor edi, edi
mov dword [ebp - 0x6c], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x48], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
push 4
mov byte [ebp - 4], 1
mov esi, dword [0x1023c868]
push 0x43ae
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x101986c5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x101986c5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x6c]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncMenu::LoadMenuIndirectW_void_const__
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edi, dword [ebp - 0x68]
test esi, esi
je 0x101986c5
test edi, edi
je 0x1019858c
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x1019858c
mov esi, dword [eax]
test esi, esi
je 0x1019858c
mov esi, dword [esi + 0xc]
jmp 0x1019858e
xor esi, esi
cmp dword [ebp - 0x44], 0
jne 0x101986c5
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x44], esi
lea ecx, [ebx + 0x12c]
call sym.HncOfficeFramework.dll_public:_unsigned_long_int___thiscall_CHDCListCtrl::GetViewType_void_const
cmp eax, 6
ja case.0x101985b2.2
jmp dword [eax*4 + 0x10198710]
test esi, esi
je case.0x101985b2.2
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je case.0x101985b2.2
nop
mov edx, dword [eax]
cmp dword [edx + 8], 0x43dc
je 0x10198654
add eax, 4
cmp eax, ecx
jne 0x101985d0
jmp case.0x101985b2.2
test esi, esi
je case.0x101985b2.2
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je case.0x101985b2.2
mov edx, dword [eax]
cmp dword [edx + 8], 0x43af
je 0x10198654
add eax, 4
cmp eax, ecx
jne 0x101985f2
jmp case.0x101985b2.2
test esi, esi
je case.0x101985b2.2
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je case.0x101985b2.2
mov edx, dword [eax]
cmp dword [edx + 8], 0x43b0
je 0x10198654
add eax, 4
cmp eax, ecx
jne 0x10198614
jmp case.0x101985b2.2
test esi, esi
je case.0x101985b2.2
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je case.0x101985b2.2
nop word [eax + eax]
mov edx, dword [eax]
cmp dword [edx + 8], 0x43b1
je 0x10198654
add eax, 4
cmp eax, ecx
jne 0x10198640
jmp case.0x101985b2.2
or dword [edx + 4], 8
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x48]
push 0
push dword [eax + 4]
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push 0
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHncMenu::TrackPopupMenuEx_unsigned_int__int__int__struct_HWND_____struct_tagTPMPARAMS__
mov esi, eax
lea ecx, [esi - 0x43af]
cmp ecx, 0x2d
ja case.0x10198684.17330
movzx edx, byte [ecx + 0x10198740]
jmp dword [edx*4 + 0x1019872c]
mov ecx, ebx
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncFileDialog::OnCmdLargeIconViewClicked_void_
jmp case.0x10198684.17330
mov ecx, ebx
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncFileDialog::OnCmdIconViewClicked_void_
jmp case.0x10198684.17330
mov ecx, ebx
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncFileDialog::OnCmdListViewClicked_void_
jmp case.0x10198684.17330
mov ecx, ebx
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncFileDialog::OnCmdDetailViewClicked_void_
push 0
push esi
push 0x43b1
push 0x43dc
push dword [ebp - 0x44]
call sym.HncOfficeFramework.dll_public:_static_int___cdecl_CHncMenu::CheckMenuRadioItem_class_CHncMenuData___unsigned_int__unsigned_int__unsigned_int__unsigned_int_
add esp, 0x14
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x48], sym.HncOfficeFramework.dll_const_CHncMenu::vftable
je 0x101986df
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x101986df
push ecx
call fcn.10022170
cmp dword [ebp - 0x58], 0
je 0x101986f1
test edi, edi
je 0x101986f1
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret