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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0x88
mov rax, qword [0x140089010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov r15, rcx
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x14001eeed
mov rcx, rbx
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x14001eeed
mov rcx, r14
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x14001eeed
lea rdx, [0x14005f158]
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator__wchar_t_const____ptr64_const___ptr64]
test al, al
je 0x14001ecef
lea rdx, str.webview2_fix_ver
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator__wchar_t_const____ptr64_const___ptr64]
test al, al
jne 0x14001eeed
xor edi, edi
mov rdx, rbx
lea rcx, [rbp - 9]
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 - 9]
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 0x14001ed3d
mov rdx, r14
mov rcx, r15
call fcn.14001eb98
test al, al
jne 0x14001ed3d
mov edi, 1
jmp 0x14001eecc
mov rcx, rbx
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 0x14001ed70
mov rcx, rbx
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.14001eb28
test eax, eax
jne 0x14001ed70
lea edi, [rax + 2]
jmp 0x14001eecc
lea rcx, [rbp - 9]
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 0x14001eda5
lea rcx, [rbp - 9]
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.14001eb28
test eax, eax
jne 0x14001eda5
lea edi, [rax + 3]
jmp 0x14001eecc
lea rcx, [rbp - 9]
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 0x14001edc6
lea edi, [rax + 6]
jmp 0x14001eecc
mov rcx, r15
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.14003fd30
nop
and dword [rbp - 0x39], 0
and qword [rbp - 0x21], 0
and qword [rbp - 0x19], 0
lea rax, [rbp - 0x39]
mov qword [rbp - 0x11], rax
lea rcx, [rbp - 9]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
lea r8, [rbp - 0x21]
lea rcx, [rbp - 0x31]
call fcn.14003ff20
test eax, eax
je 0x14001ee31
mov edi, 4
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14001eecc
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x14001eecc
lea rdx, [0x14005f158]
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64_const___ptr64]
test al, al
je 0x14001ee61
call qword [sym.imp.zUnifyWebView.dll_public:_static_class_UnifyWebView::WebviewPathProxy____ptr64___cdecl_UnifyWebView::WebviewPathProxy::GetInstance_void_]
mov rcx, rax
lea rdx, [rbp - 9]
call qword [sym.imp.zUnifyWebView.dll_public:_int___cdecl_UnifyWebView::WebviewPathProxy::CheckCefPackageCompleteness_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
test eax, eax
jne 0x14001ee8a
lea edi, [rax + 5]
jmp 0x14001ee15
lea rdx, str.webview2_fix_ver
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64_const___ptr64]
test al, al
je 0x14001ee8a
call qword [sym.imp.zUnifyWebView.dll_public:_static_class_UnifyWebView::WebviewPathProxy____ptr64___cdecl_UnifyWebView::WebviewPathProxy::GetInstance_void_]
mov rcx, rax
lea rdx, [rbp - 9]
call qword [sym.imp.zUnifyWebView.dll_public:_int___cdecl_UnifyWebView::WebviewPathProxy::CheckFixVerWebView2PackageCompleteness_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
jmp 0x14001ee58
mov rcx, rbx
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 - 9]
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 0x14001eeb8
lea edi, [rax + 7]
jmp 0x14001ee15
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14001eecc
mov r8, qword [rcx]
mov edx, 1
call qword [r8]
lea rcx, [rbp - 9]
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.14001eb28
nop
lea rcx, [rbp - 9]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov eax, edi
jmp 0x14001eef2
mov eax, 0xa
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14004fc30
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret