Function at 0x101770d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c9be1
mov eax, dword fs:[0]
push eax
sub esp, 0x58
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 eax, dword [ebx + 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x10177108
xor edi, edi
jmp 0x1017710b
mov edi, dword [eax + 0x5c]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, 0xfffffe00
cmp eax, 5
ja case.0x1017711e.514
jmp dword [eax*4 + 0x101774c0]
push 0
lea eax, [ebp + 8]
mov ecx, edi
push eax
lea eax, [esi + 0x14]
push eax
call fcn.1017bd30
test eax, eax
je case.0x1017711e.514
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
cmp eax, 3
jne case.0x1017711e.514
mov edi, dword [ebp + 8]
mov ecx, ebx
push edi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_SetSelectRow_int_
cmp dword [esi], 0x201
jne 0x1017716b
push 0xffffffffffffffff
push edi
mov ecx, ebx
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHDCGridCtrl::_FakeActiveEditCell_int__int_
mov eax, 1
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
push 0
push 0
lea eax, [esi + 0x14]
mov ecx, edi
push eax
call fcn.1017bd30
test eax, eax
je case.0x1017711e.514
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
cmp eax, 3
jne case.0x1017711e.514
mov eax, 1
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
push 0
lea ecx, [ebp + 8]
lea eax, [esi + 0x14]
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x14], eax
call fcn.1017bd30
test eax, eax
je case.0x1017711e.514
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
cmp eax, 3
jne case.0x1017711e.514
push dword [ebp + 8]
mov ecx, ebx
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_SetSelectRow_int_
lea ecx, [ebp - 0x64]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncMenu::constructor_void_
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncMenu::constructor_void_
push 4
mov byte [ebp - 4], 1
mov esi, dword [0x1023c868]
push 0x4504
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10177252
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10177252
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x64]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncMenu::LoadMenuIndirectW_void_const__
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x10177273
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x10177273
mov eax, dword [eax]
test eax, eax
je 0x10177273
mov eax, dword [eax + 0xc]
jmp 0x10177275
xor eax, eax
push eax
lea ecx, [ebp - 0x40]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHncMenu::Attach_class_CHncMenuData__
test eax, eax
jne 0x101772a8
lea ecx, [ebp - 0x40]
call sym.HncOfficeFramework.dll_public_virtual:_void___thiscall_CHncMenu::destructor_void_
lea ecx, [ebp - 0x64]
call sym.HncOfficeFramework.dll_public_virtual:_void___thiscall_CHncMenu::destructor_void_
xor eax, eax
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, ebx
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_CanUndo_void_
mov esi, dword [ebp - 0x3c]
test eax, eax
jne 0x101772e7
test esi, esi
je 0x101772e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x101772e7
mov edx, dword [eax]
cmp dword [edx + 8], 0x9ca0
je 0x101772d8
add eax, 4
cmp eax, ecx
jne 0x101772c4
jmp 0x101772e7
mov eax, dword [edx + 4]
and eax, 0xfffffffd
or eax, 1
mov dword [edx + 4], eax
mov esi, dword [ebp - 0x3c]
mov ecx, ebx
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_CanRedo_void_
test eax, eax
jne 0x10177320
test esi, esi
je 0x10177320
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
je 0x10177320
mov edx, dword [eax]
cmp dword [edx + 8], 0x9ca9
je 0x10177314
add eax, 4
cmp eax, ecx
jne 0x10177300
jmp 0x10177320
mov eax, dword [edx + 4]
and eax, 0xfffffffd
or eax, 1
mov dword [edx + 4], eax
push 3
mov ecx, ebx
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_IsValidPaste_unsigned_int_
mov edx, dword [ebp - 0x3c]
test eax, eax
jne 0x10177363
test edx, edx
je 0x10177363
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
cmp eax, ecx
je 0x10177363
nop
mov esi, dword [eax]
cmp dword [esi + 8], 0x9ca3
je 0x10177354
add eax, 4
cmp eax, ecx
jne 0x10177340
jmp 0x10177363
mov eax, dword [esi + 4]
and eax, 0xfffffffd
or eax, 1
mov dword [esi + 4], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edi + 0x94]
sub eax, dword [edi + 0x90]
and eax, 0xfffffffc
cmp eax, 0x118
jl 0x101773b3
test edx, edx
je 0x101773b3
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
cmp eax, ecx
je 0x101773b3
nop word [eax + eax]
mov esi, dword [eax]
cmp dword [esi + 8], 0x9ca4
je 0x101773a4
add eax, 4
cmp eax, ecx
jne 0x10177390
jmp 0x101773b3
mov eax, dword [esi + 4]
and eax, 0xfffffffd
or eax, 1
mov dword [esi + 4], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edi + 0x94]
sub eax, dword [edi + 0x90]
and eax, 0xfffffffc
cmp eax, 4
jg 0x101773f5
test edx, edx
je 0x101773f5
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
cmp eax, ecx
je 0x101773f5
mov edx, dword [eax]
cmp dword [edx + 8], 0x9ca5
je 0x101773e9
add eax, 4
cmp eax, ecx
jne 0x101773d5
jmp 0x101773f5
mov eax, dword [edx + 4]
and eax, 0xfffffffd
or eax, 1
mov dword [edx + 4], eax
mov esi, dword [ebp + 8]
mov ecx, ebx
push esi
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHDCGridCtrl::_IsEmptyRowValue_int_
cmp eax, 1
jne 0x10177440
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x10177440
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
cmp eax, ecx
je 0x10177440
nop word [eax + eax]
mov edx, dword [eax]
cmp dword [edx + 8], 0x9ca6
je 0x10177434
add eax, 4
cmp eax, ecx
jne 0x10177420
jmp 0x10177440
mov eax, dword [edx + 4]
and eax, 0xfffffffd
or eax, 1
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1017745e
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x10177479
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
push 0
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x1c]
push 2
call sym.HncOfficeFramework.dll_public:_unsigned_int___thiscall_CHncMenu::TrackPopupMenuEx_unsigned_int__int__int__struct_HWND_____struct_tagTPMPARAMS__
push esi
push 3
push eax
mov ecx, ebx
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHDCGridCtrl::_PopupCommandRunPoint_unsigned_int__unsigned_int__int_
lea ecx, [ebp - 0x40]
call sym.HncOfficeFramework.dll_public_virtual:_void___thiscall_CHncMenu::destructor_void_
lea ecx, [ebp - 0x64]
call sym.HncOfficeFramework.dll_public_virtual:_void___thiscall_CHncMenu::destructor_void_
mov eax, 1
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