Function at 0x14001f290
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 [0x140076010]
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 0x14001f4bc
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x14001f4bc
mov rcx, r14
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x14001f4bc
lea rdx, [0x1400507b8]
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 0x14001f318
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 0x14001f4bc
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 [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, str.skip_checksum
mov rcx, r14
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator__wchar_t_const____ptr64_const___ptr64]
test al, al
je 0x14001f364
mov rdx, r14
mov rcx, r15
call fcn.14001f1d0
test al, al
jne 0x14001f364
mov edi, 1
jmp 0x14001f49b
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 0x14001f397
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.14001f160
test eax, eax
jne 0x14001f397
lea edi, [rax + 2]
jmp 0x14001f49b
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 0x14001f3cc
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.14001f160
test eax, eax
jne 0x14001f3cc
lea edi, [rax + 3]
jmp 0x14001f49b
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 0x14001f3ed
lea edi, [rax + 6]
jmp 0x14001f49b
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.14001ec38
test eax, eax
je 0x14001f419
mov edi, 4
jmp 0x14001f49b
lea rdx, [0x1400507b8]
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 0x14001f449
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 0x14001f472
lea edi, [rax + 5]
jmp 0x14001f49b
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 0x14001f472
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 0x14001f440
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 0x14001f49b
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.14001f160
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 0x14001f4c1
mov eax, 0xa
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140042f10
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret