Function at 0x101964a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a4
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.HncFoundation.dll__HncIsTouchFrameMode_0]
test eax, eax
jne 0x1019673e
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x10196753
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x328]
cmp edx, 0x100bc950
jne 0x1019675d
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101e02a0]
divss xmm0, dword [0x101e02d0]
call fcn.10086240
mov ebx, eax
mov dword [esp + 0xc], ebx
push 0x500a
mov ecx, edi
call sym.HncOfficeFramework.dll_public:_void____thiscall_CHDDialog::GetHDlgItem_int_const
mov ecx, edi
test eax, eax
je 0x1019658b
lea eax, [esp + 0x10]
push eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDDialog::GetClientRect_struct_tagRECT__
push 0xfffffffffffffffc
push 0xfffffffffffffffc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov esi, dword [esp + 0x18]
sub ecx, ebx
mov edx, esi
mov dword [esp + 0x14], ecx
sub eax, ecx
sub edx, ebx
push 0
push eax
sub esi, edx
mov dword [esp + 0x18], edx
push esi
push ecx
mov ecx, dword [edi + 0x60]
mov ecx, dword [ecx + 4]
call fcn.1001bca0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
call dword [eax + 0x5c]
test eax, eax
je 0x1019659a
cmp word [eax], 0
jne 0x101965cf
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x40]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp eax, edx
jbe 0x1019673e
mov ecx, dword [ecx + edx*4]
test ecx, ecx
je 0x1019673e
mov eax, dword [ecx]
cmp eax, sym.HncOfficeFramework.dll_const_CHncPropertyPageEx::vftable
jne 0x1019676e
jmp 0x1019673e
mov eax, dword [edi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [eax + 0x64]
cmp eax, sym.HncOfficeFramework.dll_const_CHncPropertySheetEx::vftablefor__CHncDialogEx
jne 0x10196780
cmp dword [0x1023e1dc], 0
jne 0x10196672
mov ebx, dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
lea eax, [esp + 0xa0]
push 0x104
push eax
push str._AppResource_AppNameHelp_Culture_AppName.CHM
call ebx
lea eax, [esp + 0xa0]
push eax
call esi
test eax, eax
jne 0x1019662e
push 0x104
lea eax, [esp + 0xa4]
push eax
push str._AppResource_AppNameHelpen_US_AppName.CHM
call ebx
lea eax, [esp + 0xa0]
push eax
call esi
test eax, eax
jne 0x10196644
mov word [esp + 0xa0], ax
lea ecx, [esp + 0xa0]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10196650
sub ecx, edx
lea eax, [esp + 0xa0]
sar ecx, 1
push ecx
push eax
mov ecx, 0x1023e1cc
call fcn.10002470
cmp dword [0x1023e1e0], 8
mov eax, 0x1023e1cc
cmovae eax, dword [0x1023e1cc]
test eax, eax
je 0x1019673e
cmp word [eax], 0
je 0x1019673e
push eax
call esi
test eax, eax
je 0x1019673e
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDDialog::GetClientRect_struct_tagRECT__
push 0xfffffffffffffffc
push 0xfffffffffffffffc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0xc]
push 0x40
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
push eax
push 0x500a
push dword [0x1023c868]
call dword [sym.imp.HncFoundation.dll_int___stdcall_HncLoadStringWToWSTRUsingRC_Deprecate_struct_HINSTANCE_____unsigned_int__unsigned_short_int___int_]
mov eax, dword [edi + 4]
lea ecx, [edi + 0x5c]
push 0x500a
push dword [eax + 4]
lea eax, [esp + 0x18]
push eax
push 0x50000080
lea eax, [esp + 0x30]
push eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCButton::Create_unsigned_short_int_const___unsigned_long_int__struct_tagRECT_const___struct_HWND_____unsigned_int_
mov eax, dword [edi + 0x60]
mov ecx, edi
push dword [eax + 4]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDDialog::RegisterCtrl_void__
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0x5c]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDlgItem::MoveWindow_struct_tagRECT_const___int_
push 0x5009
push dword [0x1023c868]
lea ecx, [edi + 0x5c]
call sym.HncOfficeFramework.dll_public:_struct_HBITMAP______thiscall_CHDCBitmapButton::LoadBitMapUsingRC_Deprecate_struct_HINSTANCE_____unsigned_short_int_const__
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret
mov ecx, eax
call dword [edx + 8]
jmp 0x101964e5
push 0x14
mov ecx, eax
call edx
mov ebx, eax
mov dword [esp + 0xc], eax
jmp 0x1019651c
call dword [eax + 0x5c]
test eax, eax
je 0x1019673e
cmp word [eax], 0
je 0x1019673e
jmp 0x101965cf
mov ecx, edi
call edx
jmp 0x10196685