Function at 0x14006dc30
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1400ac7e8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov r14, rcx
xor edi, edi
mov dword [rbp - 0x39], edi
mov eax, dword [rdx + 0x10]
test al, 4
je 0x14006dd4d
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.14006b150
nop
mov rdx, rax
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const____ptr64_]
nop
lea rdx, [rbp + 0x17]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
nop
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor edx, edx
lea rcx, [rbp + 0x17]
call fcn.14006cdd0
xor edx, edx
lea rcx, [rbp + 0x17]
call fcn.14006cdd0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
mov dword [rbp - 0x19], 3
lea rax, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rax, qword [rbp + 0x17]
mov qword [rbp - 0x11], rax
mov eax, 0x654
mov word [rbp - 1], ax
lea rcx, [rbp - 0x21]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x14006dd47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006dd41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006dd41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400715f8
nop
lea rcx, [rbp - 0x29]
jmp 0x14006ddbd
test al, 1
je 0x14006dda0
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov rdx, rax
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::constructor_class_QString_const____ptr64____ptr64]
mov rbx, rax
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.14006b150
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QDir::rmdir_class_QString_const____ptr64_const___ptr64]
movzx ebx, al
lea rcx, [rbp - 0x29]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::destructor_void____ptr64]
nop
jmp 0x14006ddb9
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.14006b150
nop
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QFile::remove_class_QString_const____ptr64_]
movzx ebx, al
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r15d, 1
test bl, bl
jne 0x14006ddfa
cmp byte [r14 + 0x11], bl
je 0x14006ddfa
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.14006b150
nop
mov edi, r15d
mov dword [rbp - 0x39], r15d
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QFile::exists_class_QString_const____ptr64_]
test al, al
jne 0x14006ddfa
movzx esi, dil
jmp 0x14006ddfd
xor sil, sil
test dil, 1
je 0x14006de0d
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, bl
test sil, sil
cmovne eax, r15d
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400716d0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret