Function at 0x1400114a0
Capabilities:
Delete directory

Disassembly:
mov r11, rsp
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x14005b060]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov qword [r11 + 0x10], rsi
mov r15, rcx
mov qword [r11 + 0x18], rdi
xor r12d, r12d
mov qword [r11 + 0x20], r14
movabs r13, 0x7ffffffffffffffe
cmp qword [r15 + 0x28], 8
lea rcx, [r15 + 0x10]
jb 0x1400114ef
mov rcx, qword [r15 + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14001177c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x490
je 0x140011781
cmp byte [r15 + 0x50], r12b
je 0x140011609
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x91
jne 0x140011609
cmp qword [r15 + 0x28], 8
lea rdx, [r15 + 0x10]
jb 0x140011538
mov rdx, qword [r15 + 0x10]
lea rcx, [rbp + 7]
call fcn.1400109b0
lea rdi, [r15 + 0x30]
mov rsi, rax
cmp rdi, rax
je 0x1400115ba
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14001158c
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140011587
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400117bb
mov rcx, r8
call fcn.14001c70c
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400115fa
mov rcx, qword [rbp + 7]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400115f5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400117bb
call fcn.14001c70c
cmp qword [r15 + 0x40], r12
jne 0x140011781
jmp 0x140011690
mov rdi, qword [0x14005eb48]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [r15 + 0x28], 8
lea r9, [r15 + 0x10]
jb 0x140011625
mov r9, qword [r15 + 0x10]
mov r8d, 2
mov dword [rsp + 0x20], eax
lea rdx, str.Error_removing_directory__ls___d_
lea rcx, [rbp + 7]
call fcn.14000edc0
cmp qword [rbp + 0x1f], 0x10
lea rdx, [rbp + 7]
mov rcx, rdi
cmovae rdx, qword [rbp + 7]
call fcn.14000f340
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140011690
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001168b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400117c1
call fcn.14001c70c
cmp qword [r15 + 0x28], 8
lea r14, [r15 + 0x10]
mov rdi, qword [r15 + 0x20]
jb 0x1400116a3
mov r14, qword [r15 + 0x10]
cmp rdi, 8
jae 0x1400116ba
movups xmm0, xmmword [r14]
mov qword [rbp + 0x1f], 7
jmp 0x140011748
mov rsi, rdi
movabs rax, 0x7fffffffffffffff
or rsi, 7
cmp rsi, r13
cmova rsi, r13
lea rcx, [rsi + 1]
cmp rcx, rax
ja 0x1400117b5
add rcx, rcx
cmp rcx, 0x1000
jb 0x14001171a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400117b5
mov rcx, rax
call fcn.14001c480
mov rcx, rax
test rax, rax
je 0x1400117c7
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140011729
test rcx, rcx
je 0x140011726
call fcn.14001c480
jmp 0x140011729
mov rax, r12
lea r8, [rdi*2 + 2]
mov qword [rbp + 7], rax
mov rdx, r14
mov rcx, rax
call fcn.14001e420
movups xmm0, xmmword [rbp + 7]
mov qword [rbp + 0x1f], rsi
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp + 0x17], rdi
lea rdx, [rbp - 0x21]
movups xmm0, xmmword [rbp + 0x17]
mov ecx, 3
mov dword [rbp - 0x21], 0x9ce
mov byte [rbp - 0x1d], 1
movups xmmword [rbp - 9], xmm0
call fcn.14000e260
cmp eax, 1
je 0x1400114e0
jmp 0x140011781
mov byte [r15 + 0x51], 1
mov r14, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xc8]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001c460
add rsp, 0x90
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret
call fcn.1400014d0
int3
call fcn.140025138
int3
call fcn.140025138
int3
call fcn.140025138
int3