Function at 0x1400030d0
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14001f038]
xor rax, rsp
mov qword [rbp + 0x188], rax
mov r14, r9
mov esi, r8d
mov rdi, rcx
cmp qword [rcx + 0x120], 0
je 0x1400033b2
lea rbx, [rcx + 0x178]
mov rdx, rbx
lea rcx, [rbp + 0x70]
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, [rbx + 0x28]
lea rcx, [rbp + 0x98]
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, [rbx + 0x50]
lea rcx, [rbp + 0xc0]
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, [rbx + 0x78]
lea rcx, [rbp + 0xe8]
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, [rbx + 0xa0]
lea rcx, [rbp + 0x110]
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, [rbx + 0xc8]
lea rcx, [rbp + 0x138]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
nop
lea r8, [0x140013618]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t____cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
nop
mov r8, r14
lea rdx, [rsp + 0x78]
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
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x40]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
mov rax, qword [sym.imp.Cmmlib.dll_const_Cmm::CFileName::vftable]
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x40]
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CFileName::IsExists_void_const___ptr64]
test eax, eax
je 0x14000332d
inc dword [rdi + 0x174]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rdx, [rsp + 0x50]
mov ecx, esi
call qword [sym.imp.Cmmlib.dll_void___cdecl_Cmm::IntToString_int__class_Cmm::CStringT_wchar_t_____ptr64_]
lea r8, [0x140013618]
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t____cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x18]
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
lea rcx, [rbp + 0x160]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp - 0x10]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rdi - 8]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x10]
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x78]
call fcn.1400050f4
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rbx, rax
test rax, rax
je 0x1400032b3
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_int___cdecl_cmm_safe_path_wchar_t_const____ptr64_]
test eax, eax
je 0x1400032b3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9d, dword [rdi + 0x11c]
xor r8d, r8d
lea rdx, [rbp + 0x70]
mov rcx, qword [rdi + 0x120]
call fcn.140006fec
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 - 0x38]
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 + 0x18]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
cmp esi, dword [rdi + 0x11c]
jne 0x140003350
mov r9d, dword [rdi + 0x174]
xor r8d, r8d
lea rdx, [rbp + 0x70]
mov rcx, qword [rdi + 0x120]
call fcn.140007120
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x138]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp + 0x110]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp + 0xe8]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp + 0x98]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp + 0x70]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov rcx, qword [rbp + 0x188]
xor rcx, rsp
call fcn.14000def0
add rsp, 0x290
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret