Function at 0x14013e480
Capabilities:
Delete directory

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x78], rdi
mov rbx, rcx
movzx edi, dl
mov qword [rsp + 0x50], r14
lea rdx, [rbp + 0x30]
call fcn.1401393b0
mov rax, qword [rbp + 0x30]
cmp dword [rax + 4], 0
jne 0x14013e4b6
lea rdx, str.Empty_filename_passed_to_function
jmp 0x14013e4d9
xor r14d, r14d
lea rcx, [rbp + 0x30]
xor r8d, r8d
movzx edx, r14w
lea r9d, [r14 + 1]
call fcn.140187b20
cmp eax, 0xffffffff
je 0x14013e523
lea rdx, str.Broken_filename_passed_to_function
lea rax, str.C:ciqt_main_1660099987651workqtqtbase_srccorelibioqfilesystemengine_win.cpp
mov dword [rbp - 0x28], 2
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x28]
lea rax, str.bool___cdecl_QFileSystemEngine::removeDirectory_const_class_QFileSystemEntry__bool_
mov dword [rbp - 0x24], 0x50b
mov qword [rbp - 0x18], rax
lea rax, str.default
mov qword [rbp - 0x10], rax
call fcn.1401b6890
call fcn.1401c934c
xor bl, bl
mov dword [rax], 0x16
jmp 0x14013e83a
test dil, dil
je 0x14013e7fb
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.140151970
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140154ff0
mov rdx, qword [rbp + 0x30]
mov rcx, qword [rax]
mov qword [rbp + 0x30], rcx
mov qword [rax], rdx
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x14013e56d
cmp eax, 0xffffffff
je 0x14013e57b
sub eax, 1
mov dword [rcx], eax
jne 0x14013e57b
mov rcx, qword [rbp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14013e595
cmp eax, 0xffffffff
je 0x14013e5a3
sub eax, 1
mov dword [rcx], eax
jne 0x14013e5a3
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x70], rsi
mov ebx, dword [rax + 4]
test ebx, ebx
jle 0x14013e7b9
nop word [rax + rax]
mov r8d, ebx
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x30]
call fcn.1401888e0
cmp dword [rbp - 0x1c], 2
jne 0x14013e6f6
mov rdi, qword [rbp - 0x28]
movsxd rsi, dword [rbp - 0x20]
mov rbx, qword [rdi]
cmp esi, dword [rbx + 4]
jb 0x14013e606
mov r8d, 0x430
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_text_qstring.h
lea rcx, str.uint_i____uint_size___
call fcn.140160ea0
mov rbx, qword [rdi]
cmp dword [rbx + 4], 0
je 0x14013e634
mov rax, qword [rbx + 0x10]
test rax, rax
js 0x14013e634
cmp rax, 0x18
jae 0x14013e634
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
mov rax, qword [rbx + 0x10]
lea rcx, [rax + rsi*2]
movzx ecx, word [rcx + rbx]
lea eax, [rcx - 0x41]
cmp eax, 0x39
ja 0x14013e650
lea eax, [rcx - 0x5b]
cmp eax, 5
ja 0x14013e666
cmp ecx, 0x7f
jbe 0x14013e6f6
call fcn.140188440
test al, al
je 0x14013e6f6
cmp dword [rbp - 0x1c], 1
ja 0x14013e685
mov r8d, 0x6db
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_text_qstring.h
lea rcx, str.uint_i____uint_size___
call fcn.140160ea0
mov rdi, qword [rbp - 0x28]
mov esi, dword [rbp - 0x20]
inc esi
mov rbx, qword [rdi]
cmp esi, dword [rbx + 4]
jb 0x14013e6b2
mov r8d, 0x430
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_text_qstring.h
lea rcx, str.uint_i____uint_size___
call fcn.140160ea0
mov rbx, qword [rdi]
cmp dword [rbx + 4], 0
je 0x14013e6e0
mov rax, qword [rbx + 0x10]
test rax, rax
js 0x14013e6e0
cmp rax, 0x18
jae 0x14013e6e0
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
mov rax, qword [rbx + 0x10]
movsxd rcx, esi
lea rcx, [rax + rcx*2]
cmp word [rcx + rbx], 0x3a
je 0x14013e7b9
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x28]
call fcn.14018f9d0
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.14013daf0
test al, al
je 0x14013e7ca
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x30]
call fcn.14015d560
mov rcx, rax
call fcn.140190810
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rbp - 0x30]
test eax, eax
setne bl
mov eax, dword [rcx]
test eax, eax
je 0x14013e753
cmp eax, 0xffffffff
je 0x14013e761
sub eax, 1
mov dword [rcx], eax
jne 0x14013e761
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
test bl, bl
je 0x14013e7c2
lea rcx, [rbp + 0x28]
call fcn.140154350
lea r8d, [r14 - 1]
mov r9d, 1
lea rcx, [rbp + 0x30]
movzx edx, word [rax]
call fcn.1401885a0
mov rcx, qword [rbp - 0x38]
mov ebx, eax
mov eax, dword [rcx]
test eax, eax
je 0x14013e7a0
cmp eax, 0xffffffff
je 0x14013e7ae
sub eax, 1
mov dword [rcx], eax
jne 0x14013e7ae
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov r14d, ebx
test ebx, ebx
jg 0x14013e5c0
mov bl, 1
mov rsi, qword [rsp + 0x70]
jmp 0x14013e83a
test r14d, r14d
setne bl
jmp 0x14013e7cc
xor bl, bl
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14013e7e6
cmp eax, 0xffffffff
je 0x14013e7bb
sub eax, 1
mov dword [rcx], eax
jne 0x14013e7bb
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rsi, qword [rsp + 0x70]
jmp 0x14013e83a
lea rdx, [rbp + 0x28]
mov rcx, rbx
call fcn.1401393b0
mov rcx, rax
call fcn.14013efb0
mov rcx, qword [rbp + 0x28]
movzx ebx, al
mov edx, dword [rcx]
test edx, edx
je 0x14013e82c
cmp edx, 0xffffffff
je 0x14013e83a
sub edx, 1
mov dword [rcx], edx
jne 0x14013e83a
mov rcx, qword [rbp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rax, qword [rbp + 0x30]
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x14013e85a
cmp ecx, 0xffffffff
je 0x14013e86c
sub ecx, 1
mov dword [rax], ecx
jne 0x14013e86c
mov rcx, qword [rbp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
movzx eax, bl
add rsp, 0x58
pop rbx
pop rbp
ret