Function at 0x1400844e0
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, r8
mov rdi, rdx
mov rax, qword [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [rcx + 8], 0
je 0x140084555
mov rbx, r9
mov r15, rcx
mov edx, dword [rsp + 0xb0]
mov r14, qword [rcx + 0x30]
test r14, r14
je 0x14008455d
mov eax, 1
lock xadd dword [r14], eax
test eax, eax
jle 0x1400848e1
mov rcx, qword [r15 + 0x30]
mov rax, qword [rcx + 8]
mov r8, rbx
call qword [case.0x1401b1830.0]
mov ebp, eax
lock dec dword [r14]
jne 0x140084550
mov rcx, r14
call fcn.1400965f0
test bpl, bpl
jne 0x14008457b
xor r14d, r14d
jmp 0x1400848a0
mov rax, qword [reloc.OLEAUT32.dll_VariantClear]
xor r14d, r14d
xor ecx, ecx
mov r8, rbx
call qword [case.0x1401b1830.0]
test al, al
je 0x1400848a0
cmp byte [rdi], 0
je 0x1400846de
cmp byte [rsi], 0
je 0x14008470b
lea rdx, [r15 + 0x28]
lea rcx, [rsp + 0x28]
call fcn.1400fc4b0
cmp byte [r15 + 8], 0
je 0x1400848df
cmp byte [rsi], 0
je 0x1400848df
cmp byte [rdi], 0
je 0x1400848df
mov bpl, byte [r15 + 9]
lea r8, [rdi + 8]
lea r14, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.140095a50
mov rcx, rbx
mov rdx, r14
call fcn.140094310
mov rcx, r14
call fcn.1400fb8a0
mov rcx, rbx
call fcn.1400a6ab0
mov ecx, eax
xor cl, 1
test bpl, bpl
je 0x14008479a
test al, al
je 0x14008479a
mov dword [rsp + 0x30], 0xaaaaaaaa
mov r14, qword [0x14023b228]
test r14, r14
jne 0x140084624
call fcn.14005f340
mov r14, rax
mov qword [0x14023b228], rax
mov ecx, 8
call fcn.140148440
lea r15, [rsp + 0x38]
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 + 0x30]
mov rcx, r14
mov r8, rbx
mov r9, r15
call fcn.1400603a0
mov rcx, qword [r15]
test rcx, rcx
je 0x14008466e
mov qword [rsp + 0x40], rcx
call fcn.14014847c
cmp byte [rsp + 0x30], 0
je 0x140084893
cmp byte [rsp + 0x31], 0
je 0x140084785
mov dword [rsp + 0x38], 0xaaaaaaaa
mov rcx, qword [0x14023b228]
test rcx, rcx
jne 0x1400846a7
call fcn.14005f340
mov rcx, rax
mov qword [0x14023b228], rax
lea r14, [rsp + 0x38]
mov rdx, r14
mov r8, rbx
mov r9d, 1
call fcn.140060d70
cmp byte [r14], 0
je 0x140084893
mov al, byte [rsp + 0x39]
mov ebp, eax
xor bpl, 1
test al, 1
je 0x140084788
jmp 0x140084798
add r15, 0x28
lea rcx, [rsp + 0x20]
mov rdx, r15
call fcn.1400fc4b0
cmp byte [rsi], 0
je 0x1400848df
lea rdx, [rsi + 8]
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.1400848f0
jmp 0x14008477d
lea r8, [rdi + 8]
lea r14, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.140095a50
mov rcx, rbx
mov rdx, r14
call fcn.140094310
mov rcx, r14
call fcn.1400fb8a0
mov rcx, rbx
call fcn.1400a6ab0
test al, al
jne 0x14008474e
mov rcx, rbx
call fcn.1400964b0
test al, al
je 0x140084555
mov rcx, qword [0x14023b228]
test rcx, rcx
jne 0x140084769
call fcn.14005f340
mov rcx, rax
mov qword [0x14023b228], rax
mov rdx, rbx
mov r8d, 1
mov r9d, 0x12019f
call fcn.14005f620
mov r14d, eax
jmp 0x1400848a0
mov bpl, 1
mov rcx, rbx
call fcn.1400a6820
test al, al
je 0x140084893
mov ecx, ebp
test cl, 1
je 0x1400847af
mov rcx, rbx
call fcn.1400964b0
test al, al
je 0x140084893
test bpl, 1
jne 0x1400847fb
lea r14, [rsi + 8]
lea r15, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, r15
call fcn.1400fc4b0
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.1400848f0
mov r14b, 1
test al, al
jne 0x140084896
cmp byte [rbx + 0x17], 0
jns 0x1400847ed
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140084893
mov rcx, qword [0x14023b228]
test rcx, rcx
jne 0x140084816
call fcn.14005f340
mov rcx, rax
mov qword [0x14023b228], rax
mov rdx, rbx
mov r8d, 1
call fcn.14005f8a0
test al, al
je 0x140084893
mov r14, qword [0x14023b228]
test r14, r14
jne 0x140084843
call fcn.14005f340
mov r14, rax
mov qword [0x14023b228], rax
mov ecx, 8
call fcn.140148440
lea r15, [rsp + 0x38]
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.1400607b0
mov ebp, eax
mov rcx, qword [r15]
test rcx, rcx
je 0x14008488a
mov qword [rsp + 0x40], rcx
call fcn.14014847c
test bpl, bpl
jne 0x1400847b5
xor r14d, r14d
lea rcx, [rsp + 0x28]
call fcn.1400fc490
cmp byte [rdi], 0
je 0x1400848b1
lea rcx, [rdi + 8]
call fcn.1400fb8a0
mov byte [rdi], 0
cmp byte [rsi], 0
je 0x1400848c2
lea rcx, [rsi + 8]
call fcn.1400fb8a0
mov byte [rsi], 0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140148f60
mov eax, r14d
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
ud2
int3