Function at 0x100929b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x298], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push edi
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], esi
push eax
mov dword [esp + 0x44], 0
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncDicViewCtrl::_GetVisibleLines_int___int__
mov eax, dword [ebx + 0xac]
mov ecx, esi
add eax, 0x42c
push eax
call dword [sym.imp.HncBaseDraw.dll_public:_class_CHncFont____thiscall_CHncDrawContext::SelectObject_class_CHncFont__]
push 1
mov ecx, esi
mov dword [esp + 0x64], eax
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::SetBkMode_int_]
cmp dword [ebx + 0x58], 0
je 0x10092a28
push 1
call dword [sym.imp.HncBaseDraw.dll_HncDRSelectFontQualityType]
mov dword [esp + 0x3c], eax
lea ecx, [ebx + 0x94]
push ecx
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebx + 0xb4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 8]
sub dword [esp + 0x88], edx
mov edx, dword [ebx]
add dword [esp + 0x80], eax
add dword [esp + 0x84], ecx
mov ecx, ebx
sub dword [esp + 0x8c], esi
mov eax, dword [edx + 0x58]
cmp eax, sym.HncOfficeFramework.dll_public_virtual:_class_CHDCScrollBar____thiscall_CHDCScrollItem::GetScrollBarCtrl_int_const
jne 0x10093113
call dword [edx + 0x5c]
test eax, eax
je 0x10092a87
mov eax, dword [eax + 4]
test eax, eax
je 0x10092aa1
mov eax, dword [eax + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10092aa1
mov ecx, dword [ecx + 0x5c]
test ecx, ecx
je 0x10092aa1
mov ecx, dword [ecx + 0x34]
jmp 0x10092aa3
xor ecx, ecx
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x30]
sub edi, ecx
mov ecx, dword [esp + 0x88]
mov eax, edx
sub ecx, dword [esp + 0x80]
cmp dword [ebp + 0x10], 0
mov esi, dword [esp + 0x84]
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
je 0x10092b0a
mov eax, dword [ebx + 0xa8]
xor ecx, ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x10], edx
test edx, edx
je 0x10092b5d
cmp dword [edx + 8], 0
je 0x10092b59
mov eax, ecx
dec ecx
test eax, eax
je 0x10092b59
mov edx, dword [edx + 4]
test edx, edx
jne 0x10092af4
jmp 0x10092b59
cmp dword [ebx + 0xbc], 0
je 0x10092b2e
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call sym.HncOfficeFramework.dll_private:_struct_PARAINFO____thiscall_CHncDicViewCtrl::_GetLinePara_int__unsigned_int__
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
jmp 0x10092b61
mov eax, dword [ebx + 0xa8]
mov ecx, edx
mov edx, dword [eax + 8]
mov dword [esp + 0x10], edx
test ecx, ecx
js 0x10092b5d
test edx, edx
je 0x10092b5d
cmp dword [edx + 8], 0
je 0x10092b59
mov eax, ecx
dec ecx
test eax, eax
je 0x10092b59
mov edx, dword [edx + 4]
test edx, edx
jne 0x10092b45
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
add dword [esp + 0x2c], edi
cmp dword [ebx + 0xbc], 0
je 0x10092baf
cmp dword [ebx + 0xb8], 1
mov ecx, dword [ebx + 0xac]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
jne 0x10092b90
lea edx, [esp + 0x54]
push edx
call eax
mov ecx, dword [eax + 4]
jmp 0x10092b9c
lea edx, [esp + 0x4c]
push edx
call eax
mov ecx, dword [eax + 4]
neg ecx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
sub eax, edx
imul eax, ecx
sub esi, eax
mov dword [esp + 0x20], esi
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [ebp + 0x10], 0
jne 0x10092bc5
cmp edx, dword [esp + 0x58]
jg 0x100930a8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100930a8
mov edi, dword [eax + 8]
test edi, edi
je 0x100930a8
cmp word [edi + 0xe], 0
je 0x100930a8
mov esi, dword [ebx + 0xac]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
cmp eax, sym.HncOfficeFramework.dll_const_CHncDicViewMetrics::vftable
jne 0x1009311c
cmp dword [esi + 4], 0
jne 0x10092c21
mov ecx, esi
mov dword [esi + 4], 1
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncDicViewMetrics::ComputeScreenMetrics_void_
mov eax, dword [esi + 0x44c]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x450]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
mov eax, dword [eax]
add eax, dword [esp + 0x14]
cmp dword [esp + 0x2c], eax
jle 0x100930a4
mov esi, dword [esp + 0x18]
mov ecx, dword [ebx + 0xac]
push 0
push esi
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncDicViewMetrics::SetTextStyle_class_CHncDrawContext___unsigned_short_int_
test edi, edi
je 0x10092f5d
jmp 0x10092c74
mov esi, dword [esp + 0x18]
cmp word [edi + 0xe], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], eax
je 0x10092f5d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 0xe]
jae 0x10092f5d
push 0x20a
lea eax, [esp + 0x94]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ax, word [edi + 0xe]
mov edx, 0x3ff
mov dword [edi], 0
add esp, 0xc
mov dword [edi + 4], 0
mov word [esp + 0x90], ax
mov eax, 0x2800
add ax, word [edi + 0xe]
cmp ax, dx
ja 0x10092cf4
movzx ecx, word [edi + 0x1e]
lea eax, [ecx + 0x2400]
cmp ax, dx
ja 0x10092cf4
mov word [esp + 0x92], cx
jmp 0x10092d17
mov eax, 0x1000
cmp word [edi + 0x18], ax
je 0x10092d0b
xor eax, eax
mov word [esp + 0x92], ax
jmp 0x10092d21
mov ax, word [edi + 0x1e]
mov word [esp + 0x92], ax
xor eax, eax
mov word [esp + 0x94], ax
movzx eax, word [edi + 8]
mov ecx, ebx
push eax
push esi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncDicViewCtrl::_SetDrawTextStyle_class_CHncDrawContext___unsigned_short_int_
lea esi, [esp + 0x90]
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10092d40
sub esi, ecx
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
push eax
sar esi, 1
lea eax, [esp + 0x94]
push esi
push eax
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::GetTextExtentPointW_unsigned_short_int_const___int__struct_tagSIZE__]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edx]
cmp dword [esp + 0x2c], eax
jge 0x10092ea4
cmp dword [ebx + 0xbc], 0
je 0x10092ea4
mov edx, dword [ebx]
mov ecx, ebx
mov eax, dword [edx + 0x58]
cmp eax, sym.HncOfficeFramework.dll_public_virtual:_class_CHDCScrollBar____thiscall_CHDCScrollItem::GetScrollBarCtrl_int_const
jne 0x10092da3
call dword [edx + 0x5c]
test eax, eax
je 0x10092da7
mov eax, dword [eax + 4]
jmp 0x10092da7
push 0
call eax
test eax, eax
je 0x10092dc1
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x10092dc1
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x10092dc1
mov eax, dword [eax + 0x34]
jmp 0x10092dc3
xor eax, eax
mov esi, dword [ebx + 0xac]
mov ecx, dword [esp + 0x80]
sub ecx, eax
cmp dword [ebx + 0xb8], 1
mov dword [esp + 0x14], ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
jne 0x10092e42
cmp eax, sym.HncOfficeFramework.dll_const_CHncDicViewMetrics::vftable
jne 0x10092e27
cmp dword [esi + 4], 0
jne 0x10092dff
mov ecx, esi
mov dword [esi + 4], 1
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncDicViewMetrics::ComputeScreenMetrics_void_
mov eax, dword [esi + 0x44c]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x450]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x70]
mov eax, dword [eax + 4]
add dword [esp + 0x20], eax
inc dword [esp + 0xc]
jmp 0x10092f24
push 0
lea eax, [esp + 0x74]
mov ecx, esi
push eax
call edx
mov eax, dword [eax + 4]
add dword [esp + 0x20], eax
inc dword [esp + 0xc]
jmp 0x10092f24
cmp eax, sym.HncOfficeFramework.dll_const_CHncDicViewMetrics::vftable
jne 0x10092e87
cmp dword [esi + 4], 0
jne 0x10092e5d
mov ecx, esi
mov dword [esi + 4], 1
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncDicViewMetrics::ComputeScreenMetrics_void_
mov eax, dword [esi + 0x44c]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x450]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
mov eax, dword [eax + 4]
neg eax
add dword [esp + 0x20], eax
inc dword [esp + 0xc]
jmp 0x10092f24
push 0
lea eax, [esp + 0x7c]
mov ecx, esi
push eax
call edx
mov eax, dword [eax + 4]
neg eax
add dword [esp + 0x20], eax
inc dword [esp + 0xc]
jmp 0x10092f24
mov eax, dword [esp + 0x30]
cmp dword [esp + 0xc], eax
jl 0x10092efa
cmp dword [ebp + 0x10], 0
jne 0x10092efa
mov al, byte [edi + 8]
and al, 0x7f
cmp al, 0x18
jne 0x10092ed3
mov eax, dword [esp + 0x44]
test eax, eax
jns 0x10092ec8
add eax, 1
sar eax, 1
mov ecx, dword [esp + 0x20]
dec ecx
add ecx, eax
jmp 0x10092ed7
mov ecx, dword [esp + 0x20]
push 0
push esi
lea eax, [esp + 0x98]
push eax
push 0
push 2
push ecx
mov ecx, dword [esp + 0x30]
push edx
call dword [sym.imp.HncBaseDraw.dll_public:_int___thiscall_CHncDrawContext::ExtTextOutW_int__int__unsigned_int__struct_tagRECT_const___unsigned_short_int_const___unsigned_int__int_const__]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
add edx, ecx
add dword [esp + 0x38], ecx
mov dword [edi + 4], eax
mov eax, esi
shl eax, 4
mov dword [edi], ecx
add edi, eax
mov eax, dword [esp + 0x5c]
add dword [esp + 0x34], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
mov esi, dword [ebx + 0xac]
mov eax, dword [esi + 0x434]
test eax, eax
je 0x10092f49
mov ecx, dword [esp + 0x18]
push eax
call dword [sym.imp.HncBaseDraw.dll_public:_class_CHncFont____thiscall_CHncDrawContext::SelectObject_class_CHncFont__]
mov dword [esi + 0x434], 0
lea ecx, [esi + 0x430]
call dword [sym.imp.HncBaseDraw.dll_public:_void___thiscall_CHncFont::ReleaseFont_void_]
test edi, edi
jne 0x10092c70
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x12]
test eax, eax
jne 0x10092f6f
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x12], eax
mov edx, dword [esp + 0x1c]
cmp edx, eax
mov ecx, dword [ecx + 4]
cmovl edx, eax
mov dword [esp + 0x10], ecx
inc dword [esp + 0xc]
mov ecx, ebx
mov dword [esp + 0x1c], edx
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
cmp eax, sym.HncOfficeFramework.dll_public_virtual:_class_CHDCScrollBar____thiscall_CHDCScrollItem::GetScrollBarCtrl_int_const
jne 0x10092fa1
call dword [edx + 0x5c]
test eax, eax
je 0x10092fa5
mov eax, dword [eax + 4]
jmp 0x10092fa5
push 0
call eax
test eax, eax
je 0x10092fbf
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x10092fbf
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x10092fbf
mov eax, dword [eax + 0x34]
jmp 0x10092fc1
xor eax, eax
mov esi, dword [ebx + 0xac]
mov edi, dword [esp + 0x80]
sub edi, eax
cmp dword [ebx + 0xb8], 1
mov dword [esp + 0x14], edi
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
jne 0x1009304c
cmp eax, sym.HncOfficeFramework.dll_const_CHncDicViewMetrics::vftable
jne 0x1009302b
cmp dword [esi + 4], 0
jne 0x10092ffd
mov ecx, esi
mov dword [esi + 4], 1
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncDicViewMetrics::ComputeScreenMetrics_void_
mov eax, dword [esi + 0x44c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x450]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
mov eax, dword [eax + 4]
add esi, eax
mov dword [esp + 0x20], esi
jmp 0x10092bb5
push 0
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call edx
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 4]
add esi, eax
mov dword [esp + 0x20], esi
jmp 0x10092bb5
cmp eax, sym.HncOfficeFramework.dll_const_CHncDicViewMetrics::vftable
jne 0x10093081
cmp dword [esi + 4], 0
jne 0x10093067
mov ecx, esi
mov dword [esi + 4], 1
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncDicViewMetrics::ComputeScreenMetrics_void_
mov eax, dword [esi + 0x44c]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x450]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
jmp 0x1009308c
push 0
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call edx
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x20]
neg eax
mov edx, dword [esp + 0xc]
add esi, eax
mov dword [esp + 0x20], esi
jmp 0x10092bb5
mov esi, dword [esp + 0x20]
cmp dword [ebx + 0x58], 0
je 0x100930b8
push dword [esp + 0x3c]
call dword [sym.imp.HncBaseDraw.dll_HncDRSelectFontQualityType]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x100930cb
mov ecx, dword [esp + 0x18]
push eax
call dword [sym.imp.HncBaseDraw.dll_public:_class_CHncFont____thiscall_CHncDrawContext::SelectObject_class_CHncFont__]
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x100930fc
cmp dword [ebx + 0xbc], 0
je 0x100930ec
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
jmp 0x100930f0
mov eax, dword [esp + 0x1c]
sub esi, dword [esp + 0x84]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 0xc
push 0
call eax
jmp 0x10092a87
push 0
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call edx
jmp 0x10092c39