Function at 0x1401081a0
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov bl, dl
mov rdi, rcx
lea rdx, [rbp - 0x30]
call fcn.140104774
test bl, bl
je 0x1401083cb
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x48]
call fcn.1401159a4
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140117ca4
mov rdx, qword [rbp - 0x30]
mov edi, 8
mov rcx, qword [rax]
mov qword [rbp - 0x30], rcx
lea ebx, [rdi - 6]
mov qword [rax], rdx
mov rcx, qword [rbp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x140108212
cmp eax, 0xffffffff
je 0x14010821d
sub eax, 1
mov dword [rcx], eax
jne 0x14010821d
mov rcx, qword [rbp + 0x40]
mov r8, rdi
mov rdx, rbx
call fcn.14010b388
mov rcx, qword [rbp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x140108237
cmp eax, 0xffffffff
je 0x140108242
sub eax, 1
mov dword [rcx], eax
jne 0x140108242
mov rcx, qword [rbp + 0x48]
mov r8, rdi
mov rdx, rbx
call fcn.14010b388
mov rax, qword [rbp - 0x30]
xor r15d, r15d
mov esi, dword [rax + 4]
lea r14d, [r15 + 1]
test esi, esi
jle 0x14010844f
mov r8d, esi
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x30]
call fcn.14013d484
cmp dword [rbp - 0xc], ebx
jne 0x1401082de
mov r8d, dword [rbp - 0x10]
lea rdx, [rbp + 0x38]
mov rcx, qword [rbp - 0x18]
call fcn.1400068e8
movzx ecx, word [rbp + 0x38]
lea eax, [rcx - 0x41]
cmp eax, 0x39
ja 0x140108292
lea eax, [rcx - 0x5b]
cmp eax, 5
ja 0x1401082a0
cmp ecx, 0x7f
jbe 0x1401082de
call fcn.14013cc14
test al, al
je 0x1401082de
cmp dword [rbp - 0xc], r14d
ja 0x1401082bf
mov r8d, 0x5d9
lea rdx, str.c:qt64qt_1544645195969workqtbaseincludeqtcore.._.._src_corelib_tools_qstring.h
lea rcx, str.uint_i____uint_size___
call fcn.140122564
mov r8d, dword [rbp - 0x10]
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp - 0x18]
inc r8d
call fcn.1400068e8
cmp word [rbp + 0x40], 0x3a
je 0x14010844f
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x18]
call fcn.140142b88
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.140107b18
test al, al
je 0x1401083a0
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.14011e384
mov rcx, rax
call fcn.14014385c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rbp - 0x20]
test eax, eax
setne sil
mov eax, dword [rcx]
test eax, eax
je 0x14010833c
cmp eax, 0xffffffff
je 0x140108347
sub eax, r14d
mov dword [rcx], eax
jne 0x140108347
mov rcx, qword [rbp - 0x20]
mov r8, rdi
mov rdx, rbx
call fcn.14010b388
test sil, sil
je 0x140108397
lea rcx, [rbp + 0x48]
call fcn.1401174a4
lea r8d, [r15 - 1]
mov r9d, r14d
lea rcx, [rbp - 0x30]
movzx edx, word [rax]
call fcn.14013cd18
mov rcx, qword [rbp - 0x28]
mov esi, eax
mov eax, dword [rcx]
test eax, eax
je 0x140108384
cmp eax, 0xffffffff
je 0x14010838f
sub eax, r14d
mov dword [rcx], eax
jne 0x14010838f
mov rcx, qword [rbp - 0x28]
mov r8, rdi
mov rdx, rbx
call fcn.14010b388
mov r15d, esi
jmp 0x140108250
test r15d, r15d
setne r14b
jmp 0x1401083a3
xor r14b, r14b
mov rcx, qword [rbp - 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x140108444
cmp eax, 0xffffffff
je 0x14010844f
sub eax, 1
mov dword [rcx], eax
jne 0x14010844f
mov rcx, qword [rbp - 0x28]
jmp 0x140108444
lea rdx, [rbp + 0x48]
mov rcx, rdi
call fcn.140104774
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.14011e384
mov rcx, rax
call fcn.14014385c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rbp + 0x40]
mov edi, 8
test eax, eax
setne sil
mov eax, dword [rcx]
lea ebx, [rdi - 6]
test eax, eax
je 0x14010841c
cmp eax, 0xffffffff
je 0x140108427
sub eax, 1
mov dword [rcx], eax
jne 0x140108427
mov rcx, qword [rbp + 0x40]
mov r8, rdi
mov rdx, rbx
call fcn.14010b388
mov rcx, qword [rbp + 0x48]
mov r14b, sil
mov eax, dword [rcx]
test eax, eax
je 0x140108444
cmp eax, 0xffffffff
je 0x14010844f
sub eax, 1
mov dword [rcx], eax
jne 0x14010844f
mov rcx, qword [rbp + 0x48]
mov r8, rdi
mov rdx, rbx
call fcn.14010b388
mov rcx, qword [rbp - 0x30]
mov r9d, dword [rcx]
test r9d, r9d
je 0x14010846a
cmp r9d, 0xffffffff
je 0x140108479
sub r9d, 1
mov dword [rcx], r9d
jne 0x140108479
mov rcx, qword [rbp - 0x30]
mov r8, rdi
mov rdx, rbx
call fcn.14010b388
mov rbx, qword [rsp + 0x80]
mov al, r14b
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret