Function at 0x1402abf5c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, r8
mov rdi, rcx
lea r14, [rcx + 0x40]
test byte [rcx + 0xf0], 0x20
je 0x1402ac0ac
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x40]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetClientRect]
xor ecx, ecx
call qword [sym.imp.adui24.dll_public:_static_double___cdecl_CAdUiHiDpi::GetMonitorDpiXScale_struct_HMONITOR______ptr64_]
mulsd xmm0, qword [0x140365000]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si eax, xmm0
mov ecx, dword [rbp - 0x38]
sub ecx, eax
mov dword [rbp - 0x40], ecx
xor ecx, ecx
call qword [sym.imp.adui24.dll_public:_static_double___cdecl_CAdUiHiDpi::GetMonitorDpiYScale_struct_HMONITOR______ptr64_]
mulsd xmm0, qword [0x140365000]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si ecx, xmm0
add ecx, dword [rbp - 0x3c]
mov dword [rbp - 0x34], ecx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov rdx, rdi
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov eax, dword [rdi + 0x194]
mov r15d, eax
and r15d, 0x200
btr eax, 9
mov dword [rdi + 0x194], eax
mov rdx, rbx
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1402ac065
xor r9d, r9d
mov edx, 0xd08
mov r8d, CFileFind::CFileFind
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_SetTimer]
mov eax, r15d
neg eax
sbb esi, esi
and esi, 0x200
add esi, reloc.mfc140u.dll_COleChangeIconDialog::DoModal
jmp 0x1402ac06a
mov esi, 0x4000
mov eax, dword [rdi + 0x194]
cmp esi, eax
je 0x1402ac093
mov r9d, esi
mov r8d, 1
lea rdx, [rbp - 0x40]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.USER32.dll_DrawFrameControl]
mov dword [rdi + 0x194], esi
mov eax, esi
test r15d, r15d
je 0x1402ac0a2
bts eax, 9
mov dword [rdi + 0x194], eax
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc140u.dll_CAnimateCtrl::CAnimateCtrl]
test byte [rdi + 0xf0], 4
je 0x1402ac10e
cmp dword [rdi + 0x188], 0xff
jne 0x1402ac0f9
mov eax, ebx
sub eax, dword [rdi + 0x18c]
cdq
xor eax, edx
sub eax, edx
mov ecx, dword [rdi + 0x198]
cmp eax, ecx
jg 0x1402ac0ea
mov eax, dword [rbp + 0x44]
sub eax, dword [rdi + 0x190]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x1402ac0f9
mov edx, 6
mov rcx, rdi
call fcn.1402ab834
jmp 0x1402ac10e
xor r9d, r9d
mov edx, 0xd08
lea r8d, [r9 + 0x64]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_SetTimer]
lea rcx, [rdi + 0x1b0]
mov rdx, rbx
call qword [sym.imp.USER32.dll_PtInRect]
xor ecx, ecx
test eax, eax
je 0x1402ac1d8
mov edx, 0x7f89
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rbx, rax
test rax, rax
jne 0x1402ac1e6
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edi, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov edx, edi
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
or edx, 0xffffffff
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
lea rdx, str.winhlp32.exe
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x1402ac1ae
lea edx, [rbx + 0x6a]
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
jne 0x1402ac1cc
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rbx, rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x1402ac1e6
mov edx, 0x7f00
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rbx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140088c50
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret