Function at 0x1402c8b60
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 [0x1405a9ae8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov r14, rcx
xor esi, esi
mov dword [rbp - 0x39], esi
mov eax, dword [rdx + 0x10]
test al, 4
je 0x1402c8c80
lea rdx, [rbp - 0x31]
mov rcx, rdi
call fcn.1402c6000
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.140034120
xor edx, edx
lea rcx, [rbp + 0x17]
call fcn.140034120
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 0x1402c8c77
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402c8c71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402c8c71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140322dc0
nop
lea rcx, [rbp - 0x31]
jmp 0x1402c8d30
test al, 1
je 0x1402c8d13
test al, 8
je 0x1402c8cc4
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.1402c6000
nop
mov rdx, rax
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::constructor_class_QString_const____ptr64____ptr64]
nop
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QDir::removeRecursively_void____ptr64]
movzx ebx, al
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x39]
jmp 0x1402c8d30
lea rcx, [rbp - 0x29]
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 - 0x31]
mov rcx, rdi
call fcn.1402c6000
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 - 0x31]
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 0x1402c8d2c
lea rdx, [rbp - 0x29]
mov rcx, rdi
call fcn.1402c6000
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 - 0x29]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r15d, 1
test bl, bl
jne 0x1402c8d6d
cmp byte [r14 + 0x11], bl
je 0x1402c8d6d
lea rdx, [rbp - 0x29]
mov rcx, rdi
call fcn.1402c6000
nop
mov esi, 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 0x1402c8d6d
movzx edi, sil
jmp 0x1402c8d70
xor dil, dil
test sil, 1
je 0x1402c8d80
lea rcx, [rbp - 0x29]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, bl
test dil, dil
cmovne eax, r15d
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1403230f0
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