Function at 0x14122ac40
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movzx edi, dl
mov rbx, rcx
xor r15d, r15d
lea rdx, [rbp - 0x50]
call fcn.141221890
nop
mov r14d, 0xffffffff
cmp qword [rbp - 0x40], r15
jne 0x14122ac81
lea rdx, [0x14007a7f8]
jmp 0x14122aca4
mov r9d, 1
xor r8d, r8d
movzx edx, r15w
lea rcx, [rbp - 0x50]
call fcn.1411c2bc0
cmp rax, 0xffffffffffffffff
je 0x14122acda
lea rdx, [0x14007a820]
xorps xmm0, xmm0
lea rax, [0x1400f0658]
mov qword [rbp - 0x20], 2
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
lea rcx, [rbp - 0x20]
call fcn.1411cd5c0
call fcn.141328508
mov dword [rax], 0x16
xor bl, bl
jmp 0x14122af04
test dil, dil
je 0x14122aec2
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x20]
call fcn.1411d43e0
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1411d7130
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rax]
mov qword [rbp - 0x50], rcx
mov qword [rax], rdx
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x48], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x40], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14122ad55
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14122ad55
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x38]
call fcn.1411dba10
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14122ad7e
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14122ad7e
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x20]
call fcn.1411dba10
mov rbx, qword [rbp - 0x40]
mov edi, ebx
test ebx, ebx
jle 0x14122aebe
mov r12d, 0x5c
mov rsi, qword [rbp - 0x48]
movsxd rax, edi
cmp rax, rbx
cmovb rbx, rax
cmp rbx, 2
jne 0x14122add2
movzx ecx, word [rsi]
lea eax, [rcx - 0x41]
cmp eax, 0x39
ja 0x14122adb9
lea eax, [rcx - 0x5b]
cmp eax, 5
ja 0x14122adc7
cmp ecx, 0x7f
jbe 0x14122add2
call fcn.1411c33e0
test al, al
je 0x14122add2
cmp word [rsi + 2], 0x3a
je 0x14122aebe
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1411bd430
nop
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.1412296f0
test al, al
je 0x14122aea1
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.141230530
nop
mov rcx, rax
call fcn.1411c8780
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14122ae3f
mov ecx, r14d
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x14122ae3f
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x20]
call fcn.1411dba10
test ebx, ebx
je 0x14122ae99
lea eax, [r15 - 1]
movsxd r8, eax
mov r9d, 1
movzx edx, r12w
lea rcx, [rbp - 0x50]
call fcn.1411c3540
mov rdi, rax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14122ae89
mov ecx, r14d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14122ae89
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x38]
call fcn.1411dba10
mov r15d, edi
test edi, edi
jle 0x14122aebe
mov rbx, qword [rbp - 0x40]
jmp 0x14122ad92
test r15d, r15d
setne bl
jmp 0x14122aea3
xor bl, bl
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14122af04
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14122af04
mov rcx, qword [rbp - 0x38]
jmp 0x14122aef3
mov bl, 1
jmp 0x14122af04
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.141221890
nop
mov rcx, rax
call fcn.14122b600
movzx ebx, al
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x14122af04
mov ecx, r14d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14122af04
mov rcx, qword [rbp - 0x20]
mov r8d, 8
mov edx, 2
call fcn.1411dba10
nop
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x14122af2c
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x14122af2c
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x50]
call fcn.1411dba10
movzx eax, bl
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret