Function at 0x140011264
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x538]
sub rsp, 0x610
mov rax, qword [0x140028010]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov r14, rdx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov dword [rdx], r15d
lea rcx, [rsp + 0x70]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::constructor_void____ptr64]
nop
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::GetModuleFilePath_struct_HINSTANCE______ptr64____ptr64]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_void____ptr64]
nop
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_char_____ptr64___cdecl_Cmm::CStringT_char_::AssignOther_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_char_const____ptr64___cdecl_Cmm::CStringT_char_::c_str_void_const___ptr64]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_char_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_char_const____ptr64___cdecl_Cmm::CStringT_char_::c_str_void_const___ptr64]
mov rsi, rax
lea r12d, [r15 + 1]
test rax, rax
je 0x1400113be
mov r13d, 0x400
mov r8d, r13d
xor edx, edx
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
mov ebx, r15d
lea rdi, [0x14001ed80]
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rdi]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1400113ae
mov rdx, r13
lea rcx, [rbp + 0x100]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
test rax, 0xfffffffffffffbff
je 0x1400113ae
cmp byte [rbp + rax + 0xff], 0x5c
jne 0x140011393
lea rcx, [rax - 1]
mov rax, rcx
cmp rcx, r13
jae 0x1400117fa
mov byte [rbp + rcx + 0x100], r15b
mov r8, rax
lea rdx, [rbp + 0x100]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x140011661
add ebx, r12d
add rdi, 4
cmp ebx, 2
jb 0x140011339
mov edi, r15d
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
xor ecx, ecx
call qword [sym.imp.Cmmlib.dll_void____ptr64___cdecl_Cmm::GetZoomAppPropDataApi_enum_Cmm::eZoomClientDataType_]
mov rsi, rax
test rax, rax
je 0x1400117c7
lea rcx, [rbp + 0x38]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rdx, str.Update
lea rcx, [rbp - 0x40]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
test edi, edi
je 0x14001144b
lea rdx, str.UpdateMSI
lea rcx, [rbp - 0x68]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t_____ptr64____ptr64]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rdx, str.State
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rax, qword [rsi]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x40]
lea r8, [rbp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [0x140018df0]
mov ebx, eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
test ebx, ebx
je 0x14001179c
lea rdx, str.Version
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rax, qword [rsi]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x40]
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x48]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [0x140018df0]
mov ebx, eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
test ebx, ebx
je 0x14001179c
lea rdx, str.WorkingDir
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rax, qword [rsi]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x18]
lea rdx, [rsp + 0x48]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [0x140018df0]
mov ebx, eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
test ebx, ebx
je 0x14001179c
lea rdx, str.Ready
lea rcx, [rbp + 0x38]
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator__wchar_t_const____ptr64_const___ptr64]
test al, al
jne 0x14001179c
lea rdx, str.Touched
lea rcx, [rsp + 0x70]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, str.State
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rax, qword [rsi]
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x40]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x48]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [0x140018df0]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], r12d
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_char_____ptr64___cdecl_Cmm::CStringT_char_::AssignOther_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_char_const____ptr64___cdecl_Cmm::CStringT_char_::c_str_void_const___ptr64]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_char_const____ptr64____ptr64]
nop
mov dword [rsp + 0x40], 3
lea rdx, [0x14001e222]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_char_::constructor_char_const____ptr64____ptr64]
nop
mov dword [rsp + 0x40], 7
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_int___cdecl_Cmm::IsNewerVersion_class_Cmm::CStringT_char__const____ptr64__class_Cmm::CStringT_char__const____ptr64_]
test eax, eax
je 0x140011633
mov r8d, edi
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x10]
call fcn.14000f9ac
test eax, eax
mov bl, r12b
jne 0x140011636
mov bl, r15b
lea rcx, [rbp - 0x68]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_char_::destructor_void____ptr64]
test bl, bl
je 0x140011669
mov dword [r14], r12d
jmp 0x140011672
mov edi, r12d
jmp 0x1400113c1
cmp dword [r14], r15d
je 0x14001179c
lea rcx, [rbp - 0x18]
test edi, edi
je 0x140011794
call fcn.14001008c
mov dword [r14], eax
test eax, eax
je 0x14001179c
lea rdx, str.Update
lea rcx, [rsp + 0x70]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, str.PromptUpdateAction
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, str.5.17.2.29988
lea rcx, [rbp + 0xd8]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
mov rdi, rax
lea rdx, [0x14001e890]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
mov rbx, rax
lea rdx, str.Touched
lea rcx, [rbp + 0x88]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
mov r8, rbx
lea rdx, [rbp + 0x60]
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t____cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
nop
mov r8, rdi
lea rdx, [rbp - 0x68]
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t____cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
mov r8, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 8]
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x70]
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [0x140018df0]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x88]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xb0]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xd8]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
jmp 0x14001179c
call fcn.14000fc2c
mov dword [r14], eax
lea rcx, [rbp - 0x40]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, r12d
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.140014b90
lea r11, [rsp + 0x610]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400154a4
nop