Function at 0x101bba50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.HncFoundation.dll__HncIsTouchFrameMode_0]
test eax, eax
jne 0x101bbc8f
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0xc], 0x14
call dword [eax + 0x5c]
test eax, eax
je 0x101bbc8f
cmp word [eax], 0
je 0x101bbc8f
mov eax, dword [edi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, dword [eax + 0x64]
cmp eax, sym.HncOfficeFramework.dll_public_virtual:_unsigned_short_int_const____thiscall_CHncDialogEx::GetHelpBasePath_void_
jne 0x101bbca4
cmp dword [0x1023e1dc], 0
jne 0x101bbb26
mov ebx, dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
lea eax, [esp + 0x20]
push 0x104
push eax
push str._AppResource_AppNameHelp_Culture_AppName.CHM
call ebx
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x101bbaf0
push 0x104
lea eax, [esp + 0x24]
push eax
push str._AppResource_AppNameHelpen_US_AppName.CHM
call ebx
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x101bbb00
mov word [esp + 0x20], ax
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101bbb07
sub ecx, edx
lea eax, [esp + 0x20]
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 0x101bbc8f
cmp word [eax], 0
je 0x101bbc8f
push eax
call esi
test eax, eax
je 0x101bbc8f
call fcn.1013d2e0
call fcn.10135660
mov edx, dword [eax]
cmp edx, 0x101ddc74
jne 0x101bbcad
mov eax, dword [eax + 8]
mov esi, dword [eax]
test esi, esi
je 0x101bbbdd
mov ebx, dword [esi]
mov eax, dword [ebx + 0x328]
cmp eax, 0x100bc950
jne 0x101bbcb9
movd xmm0, dword [esi + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101e02a0]
divss xmm0, dword [0x101e02d0]
call fcn.10086240
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x328]
cmp eax, 0x100bc950
jne 0x101bbcc6
movd xmm0, dword [esi + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101e0238]
divss xmm0, dword [0x101e02d0]
call fcn.10086240
mov ebx, eax
jmp 0x101bbbe2
mov ebx, 4
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDDialog::GetClientRect_struct_tagRECT__
mov eax, ebx
neg eax
push eax
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x18]
sub eax, ebx
mov dword [esp + 0x18], eax
sub eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0xc]
push 0x80
mov dword [esp + 0x18], eax
lea eax, [esp + 0x22c]
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 + 8]
push 0x500a
push dword [eax + 4]
lea eax, [esp + 0x18]
push eax
push 0x50000080
lea eax, [esp + 0x238]
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 + 0xc]
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 + 8]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDlgItem::MoveWindow_struct_tagRECT_const___int_
push 0x5009
push dword [0x1023c868]
lea ecx, [edi + 8]
call sym.HncOfficeFramework.dll_public:_struct_HBITMAP______thiscall_CHDCBitmapButton::LoadBitMapUsingRC_Deprecate_struct_HINSTANCE_____unsigned_short_int_const__
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret
mov ecx, edi
call eax
jmp 0x101bbb39
mov ecx, eax
call dword [edx + 8]
mov esi, eax
jmp 0x101bbb73
push 0x14
mov ecx, esi
call eax
mov ebx, dword [esi]
jmp 0x101bbba7
push 4
mov ecx, esi
call eax
mov ebx, eax
jmp 0x101bbbe2