Function at 0x14006b014
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rdx
mov r15, rcx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
or r13, 0xffffffffffffffff
mov r8, r13
xor r12d, r12d
inc r8
cmp word [rdi + r8*2], r12w
jne 0x14006b066
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.140013184
nop
lea rcx, [rbp - 0x49]
call fcn.14006a23c
mov rsi, rax
lea rcx, [rbp - 0x49]
call fcn.14000dd24
test rsi, rsi
je 0x14006b26f
xor edx, edx
xor ecx, ecx
call fcn.1401c6638
test rax, rax
mov r14, r12
je 0x14006b0b0
mov r14, qword [rax + 0x40]
mov qword [rbp - 0x29], r12
call fcn.1401bdd78
mov rcx, rax
test rax, rax
je 0x14006b298
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001d845.0]
add rax, 0x18
mov qword [rbp - 0x29], rax
mov rax, qword [rsi]
mov r8, rdi
mov rdx, r14
mov rcx, rsi
mov rax, qword [rax + 0x58]
call qword [case.0x14001d845.0]
mov rbx, rax
test rax, rax
jne 0x14006b0fd
mov eax, r12d
jmp 0x14006b105
mov rcx, rbx
call fcn.140286900
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.14000df94
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], r12
mov r8, r13
inc r8
cmp word [rdi + r8*2], r12w
jne 0x14006b12f
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.140013184
nop
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rdx, qword [rbp - 0x21]
mov r9, qword [rbp - 0x11]
test r9, r9
je 0x14006b188
lea rcx, [r9 - 1]
mov rax, r13
cmp rcx, r13
cmovb rax, rcx
lea rcx, [rdx + rax*2]
jmp 0x14006b17a
cmp rcx, rdx
je 0x14006b188
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x14006b171
sub rcx, rdx
sar rcx, 1
jmp 0x14006b18b
mov rcx, r13
lea rdx, [rcx + 1]
cmp rdx, r9
ja 0x14006b1ad
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rax, qword [rbp - 0x21]
mov qword [rbp - 0x11], rdx
mov word [rax + rdx*2], r12w
jmp 0x14006b1bc
xor r8d, r8d
sub rdx, r9
lea rcx, [rbp - 0x21]
call fcn.140011d04
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova r8, qword [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.14002832c
mov rbx, qword [rbp - 0x29]
mov rdx, rbx
mov rcx, r15
call fcn.14006b014
test al, al
je 0x14006b224
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
mov r8, rbx
lea rcx, [rbp - 1]
call fcn.14006a8dc
mov rcx, qword [rsi]
mov rax, qword [rcx + 8]
lea r9, [rbp - 1]
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call qword [case.0x14001d845.0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14006b23e
mov rax, qword [rsi]
mov r9, r15
mov r8, rdi
mov rdx, r14
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x14001d845.0]
nop
lea rcx, [rbp - 0x21]
call fcn.14000dd24
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14006b26b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001d845.0]
mov al, 1
jmp 0x14006b271
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000e344
int3