Function at 0x14001ef48
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x14006d010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov r15, rcx
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
xor edi, edi
test eax, eax
jne 0x14001f160
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x14001f160
mov rcx, r14
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x14001f160
lea rdx, [0x14004b4c8]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator__wchar_t_const____ptr64_const___ptr64]
test al, al
je 0x14001efd0
lea rdx, str.webview2_fix_ver
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator__wchar_t_const____ptr64_const___ptr64]
test al, al
jne 0x14001f160
mov rdx, rsi
lea rcx, [rbp - 0x38]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
nop
lea rdx, str._temp
lea rcx, [rbp - 0x38]
call qword [reloc.Cmmlib.dll___Y__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
mov rdx, r14
mov rcx, r15
call fcn.14001ee88
test al, al
jne 0x14001f008
mov edi, 1
jmp 0x14001f13f
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001f03b
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
call fcn.14001ee10
test eax, eax
jne 0x14001f03b
lea edi, [rax + 2]
jmp 0x14001f13f
lea rcx, [rbp - 0x38]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001f070
lea rcx, [rbp - 0x38]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
call fcn.14001ee10
test eax, eax
jne 0x14001f070
lea edi, [rax + 3]
jmp 0x14001f13f
lea rcx, [rbp - 0x38]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14001f091
lea edi, [rax + 6]
jmp 0x14001f13f
lea rax, vtable.C7zPackageHepler.0
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x48], edi
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x38]
mov rdx, r15
call fcn.14001e558
test eax, eax
je 0x14001f0bd
mov edi, 4
jmp 0x14001f13f
lea rdx, [0x14004b4c8]
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64_const___ptr64]
test al, al
je 0x14001f0ed
call qword [sym.imp.zUnifyWebView.dll_public:_static_class_UnifyWebView::WebviewPathProxy____ptr64___cdecl_UnifyWebView::WebviewPathProxy::GetInstance_void_]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.zUnifyWebView.dll_public:_int___cdecl_UnifyWebView::WebviewPathProxy::CheckCefPackageCompleteness_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
test eax, eax
jne 0x14001f116
lea edi, [rax + 5]
jmp 0x14001f13f
lea rdx, str.webview2_fix_ver
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64_const___ptr64]
test al, al
je 0x14001f116
call qword [sym.imp.zUnifyWebView.dll_public:_static_class_UnifyWebView::WebviewPathProxy____ptr64___cdecl_UnifyWebView::WebviewPathProxy::GetInstance_void_]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.zUnifyWebView.dll_public:_int___cdecl_UnifyWebView::WebviewPathProxy::CheckFixVerWebView2PackageCompleteness_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
jmp 0x14001f0e4
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rbx, rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.zUnifyWebView.dll_int___cdecl_UnifyWebView::SafeMoveFolder_wchar_t_const____ptr64__wchar_t_const____ptr64_]
test eax, eax
jne 0x14001f13f
lea edi, [rax + 7]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rcx, rax
call fcn.14001ee10
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, edi
jmp 0x14001f165
mov eax, 0xa
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003e1d0
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret