Function at 0x6e1b759c
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
mov al, byte [ebp + 0xc]
lea edi, [ebp - 0x20]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov byte [ebp - 0x40], al
call fcn.6e1a2f14
push ecx
mov al, byte [ebp - 0x40]
test al, al
je 0x6e1b7704
lea esi, [ebp - 0x24]
mov dword [esp + 4], edi
mov dword [esp], esi
call method.QDir.cleanPath_QString_const_
push edx
lea ebx, [ebp - 0x28]
mov dword [esp + 4], esi
mov dword [esp], ebx
call method.QDir.toNativeSeparators_QString_const_
push eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call method.QString.operator_QString_const_
mov eax, dword [ebp - 0x28]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e1b77f8
mov eax, dword [ebp - 0x24]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e1b7808
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 8]
test ebx, ebx
jle 0x6e1b7857
mov dword [ebp - 0x3c], 0
lea esi, [ebp - 0x2c]
jmp 0x6e1b767c
test ebx, ebx
je 0x6e1b76f5
mov ebx, dword [ebp - 0x3c]
dec ebx
call method.QDir.separator__
mov dword [esp + 0xc], 1
mov dword [esp + 8], ebx
mov word [esp + 4], ax
mov dword [esp], edi
call method.QString.lastIndexOf_QChar__int__Qt::CaseSensitivity__const
mov ebx, eax
mov eax, dword [ebp - 0x2c]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e1b7780
mov dword [ebp - 0x3c], ebx
test ebx, ebx
jle 0x6e1b7798
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call method.QString.left_int__const
push ebx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 8], 2
je 0x6e1b77a0
xor edx, edx
mov eax, esi
call fcn.6e1b4928
test al, al
je 0x6e1b7834
mov dword [esp + 4], esi
lea edx, [ebp - 0x34]
mov dword [esp], edx
call fcn.6e1ad7bc
push ecx
lea eax, [ebp - 0x34]
mov dword [esp], eax
call method.QString.utf16___const
mov dword [esp], eax
call sub.KERNEL32.dll_RemoveDirectoryW
push edx
mov ebx, eax
mov eax, dword [ebp - 0x34]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e1b7634
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call method.QString.free_QString::Data_
test ebx, ebx
jne 0x6e1b763c
mov esi, dword [ebp - 0x3c]
test esi, esi
setne bl
jmp 0x6e1b7836
lea esi, [ebp - 0x30]
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.6e1a2f14
push ebx
lea ebx, [ebp - 0x38]
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.6e1ad7bc
push ecx
mov dword [esp], ebx
call method.QString.utf16___const
mov dword [esp], eax
call sub.KERNEL32.dll_RemoveDirectoryW
push edx
test eax, eax
setne bl
mov eax, dword [ebp - 0x38]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e1b77e8
mov eax, dword [ebp - 0x30]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e1b7824
mov eax, dword [ebp - 0x20]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e1b7774
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov dword [ebp - 0x3c], ebx
test ebx, ebx
jg 0x6e1b767c
nop
mov eax, dword [ebp - 0x20]
mov bl, 1
jmp 0x6e1b775f
mov eax, dword [eax + 0xc]
mov ax, word [eax]
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x1a]
mov dword [esp], eax
call sym.QtCore4.dll_QChar::isLetter___const
test al, al
je 0x6e1b769a
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0xc]
cmp word [edx + 2], 0x3a
jne 0x6e1b769a
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e1b7798
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call method.QString.free_QString::Data_
jmp 0x6e1b7798
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call method.QString.free_QString::Data_
jmp 0x6e1b774b
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call method.QString.free_QString::Data_
jmp 0x6e1b7606
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 8]
test ebx, ebx
jg 0x6e1b7625
jmp 0x6e1b7857
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call method.QString.free_QString::Data_
jmp 0x6e1b775c
xor ebx, ebx
mov eax, dword [ebp - 0x2c]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e1b775c
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call method.QString.free_QString::Data_
jmp 0x6e1b775c
mov bl, 1
jmp 0x6e1b775f