Function at 0x670f2c30
Capabilities:
Delete directory

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
movzx ebx, dl
mov rdi, rcx
lea rdx, [rbp + 0x38]
call fcn.670e2690
nop
test bl, bl
je 0x670f2e00
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x30]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QDir::cleanPath_class_QString_const____ptr64_
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const____ptr64_
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rax]
mov qword [rbp + 0x38], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x38]
lock dec dword [rcx]
jne 0x670f2c9e
mov rcx, qword [rbp - 0x38]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x30]
lock dec dword [rax]
jne 0x670f2cb0
mov rcx, qword [rbp - 0x30]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
xor esi, esi
mov rax, qword [rbp + 0x38]
mov edi, dword [rax + 8]
test edi, edi
jle 0x670f2dea
mov r8d, edi
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x38]
call sym.QtCoreVBox4.dll_public:_class_QString___cdecl_QString::left_int____ptr64
nop
mov rax, qword [rbp - 0x40]
cmp dword [rax + 8], 2
jne 0x670f2d07
mov rcx, qword [rax + 0x10]
movzx eax, word [rcx]
mov word [rbp + 0x28], ax
lea rcx, [rbp + 0x28]
call sym.QtCoreVBox4.dll_public:_bool___cdecl_QChar::isLetter_void_const___ptr64
test al, al
je 0x670f2d07
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax + 0x10]
cmp word [rcx + 2], 0x3a
je 0x670f2d90
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.670f0a70
test al, al
je 0x670f2dbe
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.670ea5d0
nop
mov rcx, rax
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne dil
mov rax, qword [rbp - 0x28]
lock dec dword [rax]
jne 0x670f2d51
mov rcx, qword [rbp - 0x28]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
test dil, dil
je 0x670f2da0
lea rcx, [rbp + 0x30]
call sym.QtCoreVBox4.dll_public:_static_class_QChar___cdecl_QDir::separator_void_
lea r8d, [rsi - 1]
mov r9d, 1
movzx edx, word [rax]
lea rcx, [rbp + 0x38]
call sym.QtCoreVBox4.dll_public:_int___cdecl_QString::lastIndexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64
mov edi, eax
mov rax, qword [rbp - 0x40]
lock dec dword [rax]
jne 0x670f2d89
mov rcx, qword [rbp - 0x40]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov esi, edi
jmp 0x670f2cb9
lock dec dword [rax]
jne 0x670f2dea
mov rcx, qword [rbp - 0x40]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
jmp 0x670f2dea
test esi, esi
setne dil
mov rax, qword [rbp - 0x40]
lock dec dword [rax]
jne 0x670f2db9
mov rcx, qword [rbp - 0x40]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
jmp 0x670f2e57
mov rax, qword [rbp - 0x40]
lock dec dword [rax]
jne 0x670f2dd1
mov rcx, qword [rbp - 0x40]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp + 0x38]
lock dec dword [rax]
jne 0x670f2de3
mov rcx, qword [rbp + 0x38]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
xor al, al
jmp 0x670f2e6d
mov rax, qword [rbp + 0x38]
lock dec dword [rax]
jne 0x670f2dfc
mov rcx, qword [rbp + 0x38]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov al, 1
jmp 0x670f2e6d
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.670e2690
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.670ea5d0
nop
mov rcx, rax
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne dil
mov rcx, qword [rbp - 0x20]
lock dec dword [rcx]
jne 0x670f2e44
mov rcx, qword [rbp - 0x20]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x18]
lock dec dword [rax]
jne 0x670f2e57
mov rcx, qword [rbp - 0x18]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rcx, qword [rbp + 0x38]
lock dec dword [rcx]
jne 0x670f2e69
mov rcx, qword [rbp + 0x38]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
movzx eax, dil
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret