Function at 0x1019a2d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cb138
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
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 ebx, ecx
mov dword [ebp - 0x864], ebx
cmp dword [ebx + 0xb54], 0
je 0x1019a3d8
mov eax, dword [ebx + 0x12c]
lea ecx, [ebx + 0x12c]
call dword [eax + 0x5c]
test eax, eax
je 0x1019a32d
mov dword [eax + 0x2c], 0x46
mov eax, dword [ebx + 0x130]
mov eax, dword [eax + 4]
test eax, eax
je 0x1019a3ca
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x1019a3ca
test eax, eax
je 0x1019a37c
test ecx, ecx
je 0x1019a37c
test eax, eax
je 0x1019a358
mov eax, dword [eax + 8]
and eax, 3
jne 0x1019a37e
mov edx, dword [ecx + 0x13c]
cmp edx, 1
jne 0x1019a36d
lea eax, [edx + 4]
jmp 0x1019a37e
xor eax, eax
mov esi, 6
cmp edx, 2
cmove eax, esi
jmp 0x1019a37e
xor eax, eax
mov dword [ecx + 0x13c], 2
cmp eax, 6
je 0x1019a3ca
mov ecx, dword [ebx + 0x130]
mov eax, dword [ecx + 4]
test eax, eax
je 0x1019a3a4
and dword [eax + 8], 0xfffffffc
mov ecx, dword [ebx + 0x130]
mov eax, dword [ecx + 4]
test eax, eax
je 0x1019a3c2
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x1019a3c2
mov dword [eax + 0x130], 0
mov ecx, dword [ebx + 0x130]
mov ecx, dword [ecx + 4]
call fcn.1001bbc0
mov eax, dword [ebx + 0xb48]
add eax, eax
mov dword [ebx + 0xb48], eax
mov eax, dword [ebx + 4]
push dword [eax + 4]
call dword [sym.imp.HncVfs.dll_void___cdecl_HncVfsShell::SetWindowHandle_struct_HWND____]
add esp, 4
mov ecx, ebx
call sym.HncOfficeFramework.dll_public_virtual:_int___thiscall_CHncDialogEx::OnInitDialog_void_
lea ecx, [ebx + 0x688]
push 0x100
mov dword [ebp - 0x868], ecx
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCComboBox::LimitText_int_
cmp dword [ebx + 0xb4c], 0
lea eax, [ebp - 0x218]
mov edi, dword [0x1023c868]
mov esi, dword [sym.imp.HncFoundation.dll_int___stdcall_HncLoadStringWToWSTRUsingRC_Deprecate_struct_HINSTANCE_____unsigned_int__unsigned_short_int___int_]
push 0x104
push eax
je 0x1019a464
push 0x3bc4
push edi
call esi
push 0x104
lea eax, [ebp - 0x830]
push eax
push 0x3bcc
push edi
call esi
cmp dword [ebx + 0xb54], 0
lea eax, [ebp - 0x420]
push 0x104
push eax
je 0x1019a45d
push 0x3a31
jmp 0x1019a491
push 0x3bc6
jmp 0x1019a491
push 0x3bc5
push edi
call esi
push 0x104
lea eax, [ebp - 0x830]
push eax
push 0x3bcb
push edi
call esi
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x3bc7
push edi
call esi
cmp dword [ebx + 0xb4c], 0
je 0x1019a4a9
test dword [ebx + 0xd0], 0x200
jne 0x1019a4ba
mov eax, dword [ebx + 0x130]
mov eax, dword [eax + 4]
test eax, eax
je 0x1019a4ba
or dword [eax + 8], 4
mov eax, dword [ebx + 0xb4c]
mov dword [ebx + 0x608], eax
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x1019a4ec
cmp word [eax], 0
je 0x1019a4ec
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x218]
push eax
call fcn.1001db60
push 1
mov ecx, ebx
call sym.HncOfficeFramework.dll_public:_void____thiscall_CHDDialog::GetHDlgItem_int_const
test eax, eax
je 0x1019a51b
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x1019a51b
mov eax, dword [ecx]
lea edx, [ebp - 0x420]
push edx
call dword [eax + 0x40]
push 0x5023
mov ecx, ebx
call sym.HncOfficeFramework.dll_public:_void____thiscall_CHDDialog::GetHDlgItem_int_const
test eax, eax
je 0x1019a53e
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x1019a53e
mov eax, dword [ecx]
lea edx, [ebp - 0x830]
push edx
call dword [eax + 0x40]
push 0x2000
push 0
push 0
push 0
push 0x3bb2
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [ebx + 0xae8]
mov esi, dword [ecx + 4]
test esi, esi
je 0x1019a588
mov esi, dword [esi + 0x5c]
test esi, esi
je 0x1019a588
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1019a581
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xc0c0c0
push 0x2000
push 0
push 0
push 0
push 0x3bb3
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [ebx + 0xb00]
mov esi, dword [ecx + 4]
test esi, esi
je 0x1019a5d2
mov esi, dword [esi + 0x5c]
test esi, esi
je 0x1019a5d2
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1019a5cb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xc0c0c0
push 0x2000
push 0
push 0
push 0
push 0x3bb4
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [ebx + 0xb18]
mov esi, dword [ecx + 4]
test esi, esi
je 0x1019a61c
mov esi, dword [esi + 0x5c]
test esi, esi
je 0x1019a61c
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1019a615
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xc0c0c0
push 0x2000
push 0
push 0
push 0
push 0x3be2
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [ebx + 0xb30]
mov esi, dword [ecx + 4]
test esi, esi
je 0x1019a666
mov esi, dword [esi + 0x5c]
test esi, esi
je 0x1019a666
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1019a65f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xc0c0c0
push 0x30
push 0x30
lea ecx, [ebx + 0x12c]
call sym.HncOfficeFramework.dll_public:_unsigned_long_int___thiscall_CHDCListCtrl::SetExtendedStyle_unsigned_long_int__unsigned_long_int_
mov eax, dword [ebx + 0x130]
lea edx, [ebx + 0xf90]
mov ecx, dword [eax + 4]
call fcn.1001bb30
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
push 0x500a
mov ecx, ebx
call sym.HncOfficeFramework.dll_public:_void____thiscall_CHDDialog::GetHDlgItem_int_const
test eax, eax
je 0x1019a73c
mov edi, dword [eax + 0x58]
test edi, edi
je 0x1019a73c
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
call fcn.1001bad0
push 3
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2b4]
mov ecx, eax
call edx
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x858]
mov esi, eax
mov ecx, dword [ecx + 4]
call fcn.1001bb30
neg esi
lea eax, [ebp - 0x858]
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x84c]
mov edi, dword [ebp - 0x854]
sub esi, edi
mov edx, dword [ebp - 0x858]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x850]
push 0
sub eax, edx
push esi
push eax
push edi
call fcn.1001bca0
mov eax, dword [ebx + 0x70]
lea ecx, [ebx + 0x70]
add esp, 0x10
push 0
push 0
push 0
push 0x64
push 0x64
push 0x500a
call dword [eax]
push eax
lea ecx, [ebx + 0x70]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDResizeDialogTemplateBase::RegisterResizeItem_void___unsigned_int__unsigned_int__unsigned_int__unsigned_int__struct_tagRECT_const__
mov ecx, dword [ebx + 0xf8c]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
sub eax, edx
sar eax, 2
test eax, eax
je 0x1019a868
xor edi, edi
mov eax, dword [ecx + 4]
sub eax, edx
sar eax, 2
cmp eax, edi
jbe 0x1019aada
mov esi, dword [edx + edi*4]
cmp dword [esi + 0x14], 8
jb 0x1019a771
mov esi, dword [esi]
mov eax, dword [ebx + 0xfc]
lea ecx, [ebx + 0xf8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1019a78c
mov dword [ebp - 0x85c], eax
jmp 0x1019a795
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x85c], eax
call sym.HncOfficeFramework.dll_private:_class_CHDCComboListBox____thiscall_CHDCComboBox::_GetListBox_void_const
cmp dword [ebp - 0x85c], 0
je 0x1019a7af
test eax, eax
je 0x1019a7af
push esi
mov ecx, eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListBox::AddString_unsigned_short_int_const__
mov ecx, dword [ebx + 0xf8c]
inc edi
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
sub eax, edx
sar eax, 2
cmp edi, eax
jb 0x1019a756
mov esi, dword [ebx + 0xb4]
test esi, esi
je 0x1019a7dd
mov eax, dword [ecx + 4]
sub eax, edx
sar eax, 2
cmp esi, eax
ja 0x1019a7dd
dec esi
jmp 0x1019a7df
xor esi, esi
push esi
lea ecx, [ebx + 0xf8]
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCComboBox::SetCurSel_int_
mov eax, dword [ebx + 0xf8c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp eax, esi
jbe 0x1019aada
mov eax, dword [ecx + esi*4]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x1019a811
mov eax, dword [eax]
push eax
lea eax, [ebx + 0x1b8]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov eax, dword [ebx + 0xf8c]
add esp, 0xc
mov dword [ebx + 0xf6c], esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp eax, esi
jbe 0x1019aadf
mov eax, dword [ecx + esi*4]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1019a852
mov ecx, dword [eax]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x1019a85d
mov eax, dword [eax]
push 0
push ecx
push eax
mov ecx, ebx
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHncFileDialog::_CallFileTypeChange_unsigned_short_int_const___unsigned_short_int_const___unsigned_long_int_
mov ecx, ebx
call sym.HncOfficeFramework.dll_private:_int___thiscall_CHncFileDialog::_LoadDlgState_void_
lea eax, [ebp - 0x844]
mov dword [ebp - 0x848], sym.HncOfficeFramework.dll_const_CHncSHPidl::vftable
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
lea eax, [ebp - 0x83c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor eax, eax
mov word [ebp - 0x838], ax
mov byte [ebp - 0x836], al
mov dword [ebp - 0x834], eax
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], eax
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncManageRecentFolder::LimitNumberOfFiles_void_
mov ecx, ebx
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncFileDialog::OnInitListCtrl_void_
cmp dword [ebx + 0xb4c], 0
je 0x1019a8df
mov ecx, dword [ebx + 0xfa0]
jmp 0x1019a8e5
mov ecx, dword [ebx + 0xfa4]
mov dword [ebp - 0x85c], ecx
test ecx, ecx
je 0x1019a962
mov edi, dword [ecx + 4]
sub edi, 1
js 0x1019a962
lea ebx, [edi + edi*2]
shl ebx, 3
nop dword [eax]
mov esi, dword [ecx + 8]
add esi, ebx
cmp dword [esi + 0x10], 0
je 0x1019a954
cmp dword [esi + 0x14], 8
jb 0x1019a913
mov esi, dword [esi]
mov ecx, dword [ebp - 0x868]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1019a92b
mov dword [ebp - 0x860], eax
jmp 0x1019a934
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x860], eax
call sym.HncOfficeFramework.dll_private:_class_CHDCComboListBox____thiscall_CHDCComboBox::_GetListBox_void_const
cmp dword [ebp - 0x860], 0
je 0x1019a94e
test eax, eax
je 0x1019a94e
push esi
mov ecx, eax
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListBox::AddString_unsigned_short_int_const__
mov ecx, dword [ebp - 0x85c]
sub ebx, 0x18
sub edi, 1
jns 0x1019a900
mov ebx, dword [ebp - 0x864]
cmp word [ebx + 0xd64], 0
lea ecx, [ebx + 0xd64]
lea esi, [ebx + 0x688]
je 0x1019a980
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x40]
cmp dword [ebx + 0xb4c], 0
jne 0x1019aa3e
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x3c]
test eax, eax
je 0x1019a9ce
cmp word [eax], 0
je 0x1019a9ce
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x628]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
add esp, 0x10
jmp 0x1019a9d7
xor eax, eax
mov word [ebp - 0x628], ax
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1019a9e0
sub ecx, edx
sar ecx, 1
push 1
mov ecx, ebx
jne 0x1019aa18
call sym.HncOfficeFramework.dll_public:_void____thiscall_CHDDialog::GetHDlgItem_int_const
test eax, eax
je 0x1019aa03
mov eax, dword [eax + 0x58]
jmp 0x1019aa05
xor eax, eax
mov eax, dword [eax + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1019aa39
or dword [ecx + 8], 0x8000000
jmp 0x1019aa39
call sym.HncOfficeFramework.dll_public:_void____thiscall_CHDDialog::GetHDlgItem_int_const
test eax, eax
je 0x1019aa26
mov eax, dword [eax + 0x58]
jmp 0x1019aa28
xor eax, eax
mov eax, dword [eax + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1019aa39
and dword [ecx + 8], 0xf7ffffff
call fcn.1001bbc0
mov eax, dword [ebx + 0xf8]
lea ecx, [ebx + 0xf8]
push 0
call dword [eax + 0x50]
mov eax, dword [esi]
mov ecx, esi
push 0
mov dword [ebx + 0x120], 1
call dword [eax + 0x50]
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], 1
call sym.HncOfficeFramework.dll_protected:_void___thiscall_CHncManageRecentFolder::UnInit_void_
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x83c]
mov dword [ebp - 0x848], sym.HncOfficeFramework.dll_const_CHncSHPidl::vftable
test edx, edx
je 0x1019aa99
mov eax, dword [ebp - 0x844]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [ebp - 0x844]
test ecx, ecx
je 0x1019aaa9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x840]
test ecx, ecx
je 0x1019aab9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, 1
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
call fcn.10014370
call fcn.10014370
int3