Function at 0x140005500
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push r15
push r14
mov rax, 0xd
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140005520
sub rsp, 0x28
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140013fe0
add rsp, 0x10
mov rdx, 4
sub rsp, 8
lea rax, [rsp + 0x38]
push rax
sub rsp, 0x20
xor r9, r9
mov r8, 5
mov rcx, 4
call fcn.14001387c
add rsp, 0x30
mov qword [rsp + 0x30], rax
mov rdx, 4
sub rsp, 8
lea rax, [rsp + 0x48]
push rax
sub rsp, 0x20
xor r9, r9
mov r8, 5
mov rcx, 4
call fcn.14001387c
add rsp, 0x30
mov qword [rsp + 0x40], rax
mov rdx, 4
sub rsp, 8
lea rax, [rsp + 0x58]
push rax
sub rsp, 0x20
xor r9, r9
mov r8, 5
mov rcx, 4
call fcn.14001387c
add rsp, 0x30
mov qword [rsp + 0x50], rax
push qword [rsp + 0x28]
push qword [rsp + 0xe8]
push qword [rsp + 0xd0]
pop rcx
pop rdx
pop r8
call fcn.140004000
mov qword [rsp + 0x60], rax
push qword [rsp + 0x28]
push qword [rsp + 0xf8]
push qword [rsp + 0xe0]
pop rcx
pop rdx
pop r8
call fcn.140004000
mov qword [rsp + 0x60], rax
push qword [rsp + 0xc0]
mov rbp, qword [rsp + 0x38]
pop rax
mov dword [rbp], eax
push qword [rsp + 0xc8]
pop rax
mov dword [rbp + 4], eax
push qword [rsp + 0xd0]
pop rax
mov dword [rbp + 8], eax
push qword [rsp + 0xe0]
mov rbp, qword [rsp + 0x48]
pop rax
mov dword [rbp], eax
push qword [rsp + 0xe8]
pop rax
mov dword [rbp + 4], eax
push qword [rsp + 0xf0]
pop rax
mov dword [rbp + 8], eax
cmp qword [rsp + 0xd8], 0
je 0x140005829
push qword [rsp + 0xd8]
pop rcx
call fcn.140010030
mov qword [rsp + 0x68], rax
mov r15, qword [rsp + 0xd8]
add r15, 4
mov rax, r15
push rax
pop rcx
call fcn.140010030
mov qword [rsp + 0x70], rax
mov r15, qword [rsp + 0xd8]
add r15, 8
mov rax, r15
push rax
pop rcx
call fcn.140010030
mov qword [rsp + 0x78], rax
push qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
pop rax
mov dword [rbp], eax
push qword [rsp + 0x70]
pop rax
mov dword [rbp + 4], eax
push qword [rsp + 0x78]
pop rax
mov dword [rbp + 8], eax
mov qword [rsp + 0x80], 0
mov rax, 2
cmp rax, qword [rsp + 0x80]
jl 0x140005829
mov r15, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x50]
shl r15, 2
movsxd r15, dword [r15 + rbp]
mov r14, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x40]
shl r14, 2
cmp r15d, dword [r14 + rbp]
jle 0x14000581b
mov r15, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x50]
shl r15, 2
movsxd r15, dword [r15 + rbp]
add r15, 0x200
mov rax, r15
push rax
pop rcx
call fcn.14000fdf0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x1400057e2
mov r15, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x50]
shl r15, 2
movsxd rax, dword [r15 + rbp]
mov rax, rax
push rax
push qword [rsp + 0x90]
pop rcx
pop rdx
call fcn.140010040
mov r15, qword [rsp + 0x80]
shl r15, 2
movsxd rax, dword [r15 + rbp]
push rax
mov r15, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x48]
shl r15, 2
pop rax
mov dword [r15 + rbp], eax
push qword [rsp + 0x88]
mov r15, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x38]
shl r15, 2
pop rax
mov dword [r15 + rbp], eax
jmp 0x14000581b
push qword [0x14001cc6c]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
push 0x10
push qword [0x14001cb9c]
push qword [0x14001cc74]
pop rcx
pop rdx
pop r8
call fcn.140009814
mov rax, 1
mov qword [0x14001ca04], rax
jmp 0x1400031b4
inc qword [rsp + 0x80]
jno 0x1400056f7
mov rbp, qword [rsp + 0x30]
movsxd rax, dword [rbp]
push rax
pop rax
mov qword [0x14001cc34], rax
mov rbp, qword [rsp + 0x40]
movsxd rax, dword [rbp]
push rax
pop rax
mov qword [0x14001ca1c], rax
movsxd rax, dword [rbp + 4]
push rax
pop rax
mov qword [0x14001caf4], rax
movsxd rax, dword [rbp + 8]
push rax
pop rax
mov qword [0x14001ca24], rax
mov r15, qword [0x14001caf4]
and r15, r15
jle 0x140005888
mov r15, qword [0x14001ca24]
and r15, r15
jle 0x140005888
mov rax, 1
jmp 0x14000588b
xor rax, rax
and rax, rax
je 0x1400058af
mov rbp, qword [rsp + 0x30]
movsxd rax, dword [rbp + 4]
push rax
pop rax
mov qword [0x14001cbac], rax
movsxd rax, dword [rbp + 8]
push rax
pop rax
mov qword [0x14001cc84], rax
mov rax, 1
jmp 0x1400058bb
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140014050
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.140013a3c
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.140013a3c
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.140013a3c
add rsp, 0x28
pop rax
add rsp, 0x90
pop r14
pop r15
pop rbp
ret