Function at 0x14010a240
Capabilities:
Delete directory

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1402338a8]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r15, r8
mov r14, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
xor r9d, r9d
lea rbx, [0x1402cc558]
mov r8, rbx
lea rdx, [0x14003be20]
lea rcx, [0x1402cc568]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
nop
test eax, eax
je 0x14010a71d
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [r15], xmm0
xor r9d, r9d
mov r8, rbx
lea rdx, [0x14003be20]
lea rcx, [0x1402cc568]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
nop
test eax, eax
je 0x14010a71d
lea r8, [rsp + 0x68]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.14010aab4
nop
cmp dword [rsp + 0x38], 2
jne 0x14010a6fe
lea ecx, [r13 + 8]
call fcn.140154508
nop
mov qword [rax], r13
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
lea r8, [0x140109740]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140109d3c
nop
mov qword [rbp - 0x20], r13
lea eax, [r13 + 7]
mov qword [rbp - 0x18], rax
mov word [rbp - 0x30], r13w
mov qword [rbp], r13
mov qword [rbp + 8], rax
mov word [rbp - 0x10], r13w
movdqa xmm0, xmmword [0x1401cfe20]
movdqa xmmword [rbp + 0x10], xmm0
or r12d, 0xffffffff
mov rsi, qword [rbp - 0x40]
mov ecx, 8
call fcn.140154508
nop
mov qword [rax], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [0x140109740]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140109d3c
nop
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.14000b4bc
nop
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r13w
movdqa xmm0, xmmword [0x1401cfe20]
movdqa xmmword [rbp + 0x70], xmm0
mov dword [rsp + 0x20], r13d
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14010a3c8
mov rdx, qword [rdi]
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x20]
lea rcx, [rbp + 0x80]
call fcn.14010f508
nop
mov rcx, qword [rbp + 0x20]
mov qword [rcx], rax
mov rdx, qword [rbp + 0x20]
cmp qword [rdx], r13
je 0x14010a44c
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x34], 0xffff
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], 0xffff
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x78]
call fcn.140109db4
nop
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14004c750
nop
mov rax, qword [rsp + 0x28]
mov qword [rbp + 0x70], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.14000f680
nop
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x14010a461
test rsi, rsi
je 0x14010a46b
mov rax, qword [rsi]
cmp qword [rdx], rax
sete cl
jmp 0x14010a46e
test rsi, rsi
mov ecx, 1
je 0x14010a46e
mov ecx, r13d
test cl, cl
jne 0x14010a5bd
lea r8, [rbp + 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.14010a018
nop
mov rcx, rax
mov r8, r15
mov rdx, r14
call fcn.14010a240
nop
mov bl, al
lea rcx, [rbp - 0x68]
call fcn.14000f680
nop
lea rcx, [rbp + 0x50]
call fcn.14000f680
nop
lea rcx, [rbp + 0x30]
call fcn.14000f680
nop
test bl, bl
mov rbx, qword [rbp + 0x28]
je 0x14010a50f
test rbx, rbx
je 0x14010a361
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x14010a35d
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140055453.0]
nop
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x14010a35d
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140055453.0]
nop
jmp 0x14010a35d
test rbx, rbx
je 0x14010a54f
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x14010a54f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140055453.0]
nop
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x14010a54f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140055453.0]
nop
lea rcx, [rbp - 0x10]
call fcn.14000f680
nop
lea rcx, [rbp - 0x30]
call fcn.14000f680
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14010a70e
mov eax, r12d
lock xadd dword [rcx + 8], eax
add eax, r12d
jne 0x14010a70e
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140055453.0]
nop
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x14010a70e
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140055453.0]
nop
jmp 0x14010a70e
lea rcx, [rbp + 0x50]
call fcn.14000f680
nop
lea rcx, [rbp + 0x30]
call fcn.14000f680
nop
mov rbx, qword [rbp + 0x28]
test rbx, rbx
je 0x14010a615
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x14010a615
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140055453.0]
nop
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x14010a615
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140055453.0]
nop
cmp qword [rdi + 0x18], 8
jb 0x14010a61f
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrmdir]
nop
cmp eax, r12d
je 0x14010a6bc
lea rcx, [rbp - 0x10]
call fcn.14000f680
nop
lea rcx, [rbp - 0x30]
call fcn.14000f680
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14010a68f
mov eax, r12d
lock xadd dword [rcx + 8], eax
add eax, r12d
jne 0x14010a68f
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140055453.0]
nop
mov ecx, r12d
lock xadd dword [rbx + 0xc], ecx
add ecx, r12d
jne 0x14010a68f
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x140055453.0]
nop
mov al, 1
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140154030
nop
mov rbx, qword [rsp + 0x3f8]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r9d, r9d
lea rbx, [0x1402c1f30]
mov r8, rbx
lea rdx, [0x14000ef80]
lea rcx, [0x1402c1f40]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
nop
test eax, eax
je 0x14010a71d
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rsp + 0x50]
movdqu xmmword [r15], xmm0
jmp 0x14010a54f
mov rdx, r15
mov rcx, rdi
call fcn.14010a094
nop
test al, al
jne 0x14010a715
xor al, al
jmp 0x14010a691
inc qword [r14]
jmp 0x14010a68f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop