Function at 0x14008b0c0
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, r8
mov rdi, rdx
mov rax, qword [0x14022c038]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 8], 0
je 0x14008b14b
mov rbx, r9
mov r15, rcx
mov edx, dword [rsp + 0xc0]
mov r14, qword [rcx + 0x30]
test r14, r14
je 0x14008b1bd
mov eax, 1
lock xadd dword [r14], eax
test eax, eax
jle 0x14008b516
cmp eax, 0x7fffffff
je 0x14008b519
mov rax, qword [r15 + 0x30]
mov rax, qword [rax + 8]
mov rcx, r14
mov r8, rbx
call qword [0x14025e008]
mov ebp, eax
lock dec dword [r14]
jne 0x14008b142
mov rcx, r14
call fcn.1400b0270
test bpl, bpl
jne 0x14008b1db
xor r14d, r14d
cmp byte [rdi], 0
je 0x14008b15f
lea rcx, [rdi + 8]
call fcn.14011fe70
mov byte [rdi], 0
cmp byte [rsi], 0
je 0x14008b170
lea rcx, [rsi + 8]
call fcn.14011fe70
mov byte [rsi], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140152880
mov eax, r14d
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
add r15, 0x28
lea rcx, [rsp + 0x28]
mov rdx, r15
call fcn.14011fad0
cmp byte [rsi], 0
je 0x14008b514
lea rdx, [rsi + 8]
mov r8, qword [rsp + 0x28]
mov rcx, rbx
call fcn.14008b520
mov r14d, eax
jmp 0x14008b14e
mov rax, qword [reloc.OLEAUT32.dll_VariantClear]
xor r14d, r14d
xor ecx, ecx
mov r8, rbx
call qword [0x14025e008]
test al, al
je 0x14008b14e
cmp byte [rdi], 0
je 0x14008b18d
cmp byte [rsi], 0
je 0x14008b2e7
lea rdx, [r15 + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14011fad0
cmp byte [r15 + 8], 0
je 0x14008b514
cmp byte [rsi], 0
je 0x14008b514
cmp byte [rdi], 0
je 0x14008b514
mov bpl, byte [r15 + 9]
lea r8, [rdi + 8]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400b1910
mov rcx, rbx
mov rdx, r14
call fcn.14011fef0
mov rcx, r14
call fcn.14011fe70
mov rcx, rbx
call fcn.1400a22c0
mov ecx, eax
xor cl, 1
test bpl, bpl
je 0x14008b3d7
test al, al
je 0x14008b3d7
mov dword [rsp + 0x44], 0xaaaaaaaa
mov r14, qword [0x140248830]
test r14, r14
jne 0x14008b28a
call fcn.14005fdd0
mov r14, rax
mov qword [0x140248830], rax
mov ecx, 8
call fcn.140151c20
lea r15, [rsp + 0x48]
mov qword [r15], rax
lea rcx, [rax + 8]
mov qword [r15 + 0x10], rcx
mov qword [rax], 2
mov qword [r15 + 8], rcx
lea rdx, [rsp + 0x44]
mov rcx, r14
mov r8, rbx
mov r9, r15
call fcn.140060ea0
mov rcx, qword [r15]
test rcx, rcx
je 0x14008b368
mov rax, qword [rsp + 0x50]
cmp rax, rcx
je 0x14008b35e
add rax, 0xfffffffffffffffc
jne 0x14008b2d3
jmp 0x14008b4d0
lea r8, [rdi + 8]
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400b1910
mov rcx, rbx
mov rdx, r14
call fcn.14011fef0
mov rcx, r14
call fcn.14011fe70
mov rcx, rbx
call fcn.1400a22c0
test al, al
jne 0x14008b32a
mov rcx, rbx
call fcn.1400a56b0
test al, al
je 0x14008b14b
mov rcx, qword [0x140248830]
test rcx, rcx
jne 0x14008b345
call fcn.14005fdd0
mov rcx, rax
mov qword [0x140248830], rax
mov rdx, rbx
mov r8d, 1
mov r9d, 0x12019f
call fcn.1400600c0
jmp 0x14008b1b8
mov qword [rsp + 0x50], rcx
call fcn.140151c70
cmp byte [rsp + 0x44], 0
je 0x14008b429
cmp byte [rsp + 0x45], 0
je 0x14008b3c9
mov dword [rsp + 0x48], 0xaaaaaaaa
mov rcx, qword [0x140248830]
test rcx, rcx
jne 0x14008b39d
call fcn.14005fdd0
mov rcx, rax
mov qword [0x140248830], rax
lea r14, [rsp + 0x48]
mov rdx, r14
mov r8, rbx
mov r9d, 1
call fcn.140061970
cmp byte [r14], 0
je 0x14008b429
cmp byte [rsp + 0x49], 0
je 0x14008b3c6
xor ecx, ecx
xor ebp, ebp
jmp 0x14008b3d7
mov bpl, 1
mov rcx, rbx
call fcn.1400a1ed0
mov cl, 1
test al, al
je 0x14008b429
test cl, cl
je 0x14008b3e7
mov rcx, rbx
call fcn.1400a56b0
test al, al
je 0x14008b429
test bpl, bpl
jne 0x14008b43b
lea r14, [rsi + 8]
lea r15, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.14011fad0
mov r8, qword [r15]
mov rcx, rbx
mov rdx, r14
call fcn.14008b520
mov r14b, 1
test al, al
jne 0x14008b42c
cmp byte [rbx + 0x17], 0
jns 0x14008b420
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor r14d, r14d
lea rcx, [rsp + 0x38]
call fcn.14011fb00
jmp 0x14008b14e
mov rcx, qword [0x140248830]
test rcx, rcx
jne 0x14008b456
call fcn.14005fdd0
mov rcx, rax
mov qword [0x140248830], rax
mov rdx, rbx
mov r8d, 1
call fcn.140060350
test al, al
je 0x14008b429
mov r14, qword [0x140248830]
test r14, r14
jne 0x14008b483
call fcn.14005fdd0
mov r14, rax
mov qword [0x140248830], rax
mov ecx, 8
call fcn.140151c20
lea r15, [rsp + 0x48]
mov qword [r15], rax
lea rcx, [rax + 8]
mov qword [r15 + 0x10], rcx
mov qword [rax], 2
mov qword [r15 + 8], rcx
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1400612f0
mov ebp, eax
mov rcx, qword [r15]
test rcx, rcx
je 0x14008b506
mov rax, qword [rsp + 0x50]
cmp rax, rcx
je 0x14008b4fc
add rax, 0xfffffffffffffffc
jne 0x14008b4c5
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x41
call fcn.140193a70
mov qword [rsp + 0x50], rcx
call fcn.140151c70
test bpl, bpl
jne 0x14008b3ec
jmp 0x14008b429
ud2
int3
int3