Function at 0x14010a084
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov r10, r9
mov r14, r8
mov r15, rdx
mov rbx, rcx
mov rax, qword [rbp + 0x1a0]
mov qword [rsp + 0x48], rax
xor edi, edi
mov esi, edi
mov dword [rsp + 0x40], edi
test rdx, rdx
je 0x14010a0e3
mov rax, qword [rdx]
cmp rax, qword [rdx + 8]
je 0x14010a0e3
mov qword [rdx + 8], rax
mov rcx, r14
call fcn.14017bdc8
mov r8b, al
cmp qword [rbx + 0x10], rdi
jne 0x14010a0ff
test al, al
jne 0x14010a0ff
mov al, 1
jmp 0x14010a657
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
movdqa xmm0, xmmword [0x1403a9d70]
movdqu xmmword [rbp + 0xd8], xmm0
mov word [rbp + 0xc8], di
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], rax
movdqu xmmword [rbp + 0xb0], xmm1
mov qword [rbp + 0xc0], rdi
lea rax, [rbx + 0x20]
lea rcx, [rbp + 0xc8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rdx, r10
mov rcx, rbx
call fcn.140108da8
test al, al
jne 0x14010a196
lea rcx, [rbp + 0xc8]
call fcn.140141ab8
jmp 0x14010a63b
cmp byte [rbx + 0x40], dil
je 0x14010a1a6
cmp qword [rbx + 0x10], rdi
je 0x14010a638
mov rcx, qword [rbp + 0xb8]
mov qword [rsp + 0x60], rcx
mov rax, qword [rbp + 0xb0]
cmp rax, rcx
je 0x14010a638
lea r12, [rax + 0x20]
lea rbx, [0x140446fb0]
mov qword [rsp + 0x58], r12
xor edx, edx
mov r8d, ILFree
lea rcx, [rbp + 0x10]
call fcn.1402bf2e0
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], 7
mov word [rbp + 0x38], di
mov byte [rbp + 0x58], dil
mov qword [rbp + 0x5c], rdi
mov dword [rbp + 0x64], edi
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], di
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], di
lea rcx, [rbp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rdx, r14
lea rcx, [rbp + 0x10]
call fcn.140166368
mov dword [rbp + 8], edi
mov rax, qword [r12]
mov r13, qword [rax + 0x20]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.14006cc30
nop
mov rax, qword [r12]
cmp byte [rax + 0x14c], dil
je 0x14010a2fb
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rdx, qword [rax]
mov r8, qword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
lea rcx, [rsp + 0x68]
call fcn.140013184
or esi, 0x10
mov dword [rsp + 0x40], esi
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.14018380c
mov bl, al
and esi, 0xffffffef
mov dword [rsp + 0x40], esi
lea rcx, [rsp + 0x68]
call fcn.14000dd24
test bl, bl
je 0x14010a702
mov rdx, qword [r12]
cmp byte [rdx + 0x14b], dil
je 0x14010a3ab
mov rax, qword [r12 - 0x10]
cmp qword [r12 - 0x18], rax
jne 0x14010a34e
add rdx, 0x88
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14010a33c
mov rdx, qword [rdx]
lea rcx, [rbp - 0x78]
call fcn.140038e84
lea rax, [rbp - 0x78]
or esi, 1
jmp 0x14010a365
mov r8, qword [rsp + 0x48]
lea rdx, [r12 - 0x18]
lea rcx, [rbp - 0x38]
call fcn.140108994
nop
or esi, 2
mov dword [rsp + 0x40], esi
mov rdx, r13
mov rcx, rax
call fcn.140183744
mov bl, al
test sil, 2
je 0x14010a38d
and esi, 0xfffffffd
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x38]
call fcn.14000dd24
nop
test sil, 1
je 0x14010a3a3
and esi, 0xfffffffe
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x78]
call fcn.14000dd24
test bl, bl
je 0x14010a702
cmp byte [r12 - 0x20], dil
je 0x14010a530
mov rdx, qword [r12]
cmp qword [rdx + 0x58], rdi
je 0x14010a3f3
add rdx, 0x48
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14010a3e1
mov rdx, qword [rdx]
lea rcx, [rbp - 0x58]
call fcn.140038e84
lea rax, [rbp - 0x58]
or esi, 4
jmp 0x14010a403
mov rdx, r14
lea rcx, [rbp - 0x18]
call fcn.14017a540
nop
or esi, 8
mov dword [rsp + 0x40], esi
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14010a435
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14010a41d
mov rcx, qword [rax]
cmp word [rcx + rdx*2 - 2], 0x2f
je 0x14010a435
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.1400455e0
nop
test sil, 8
je 0x14010a44c
and esi, 0xfffffff7
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x18]
call fcn.14000dd24
nop
test sil, 4
je 0x14010a462
and esi, 0xfffffffb
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x58]
call fcn.14000dd24
lea rcx, [rbp + 0x10]
call fcn.140166f3c
xorps xmm0, xmm0
movups xmmword [rbp + 0x108], xmm0
mov qword [rbp + 0x118], rdi
mov qword [rbp + 0x120], rdi
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x14010a48a
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.140013184
nop
lea rcx, [rbp + 0x10]
call fcn.140166480
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], rdi
mov qword [rbp + 0x100], rdi
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x14010a4c8
mov rdx, rax
lea rcx, [rbp + 0xe8]
call fcn.140013184
nop
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9, r13
lea r8, [rbp + 0x64]
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x108]
call fcn.1401831b0
mov bl, al
test al, al
je 0x14010a515
lea rcx, [rbp + 0x10]
call fcn.1401666a8
nop
lea rcx, [rbp + 0xe8]
call fcn.14000dd24
nop
lea rcx, [rbp + 0x108]
call fcn.14000dd24
jmp 0x14010a55f
lea rcx, [rbp + 0x10]
call fcn.1401672b4
lea r9, [rbp + 8]
mov r8, r13
lea rdx, [rbp + 0x64]
mov rcx, rax
call fcn.140182928
mov bl, al
test al, al
je 0x14010a702
lea rcx, [rbp + 0x10]
call fcn.1401667ac
test bl, bl
je 0x14010a702
test r15, r15
je 0x14010a58e
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x14010a582
mov eax, dword [rbp + 8]
mov dword [rdx], eax
add qword [r15 + 8], 4
jmp 0x14010a58e
lea r8, [rbp + 8]
mov rcx, r15
call fcn.140028e24
cmp dword [rbp + 0x14], edi
jle 0x14010a5be
lea rcx, [rbp + 0x10]
cmp byte [rbp + 0x10], dil
je 0x14010a5a4
call fcn.140166910
jmp 0x14010a5a9
call fcn.140166f3c
test rax, rax
je 0x14010a67a
mov rdx, rax
mov rcx, r14
call fcn.140011ae8
nop
lea rcx, [rsp + 0x50]
call fcn.140099bc0
nop
cmp qword [rbp + 0x78], rdi
je 0x14010a5e6
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14010a5f5
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x88]
call fcn.14000dd24
nop
lea rcx, [rbp + 0x68]
call fcn.14000dd24
nop
lea rcx, [rbp + 0x38]
call fcn.14000dd24
add r12, 0x28
mov rax, qword [rsp + 0x58]
add rax, 8
cmp rax, qword [rsp + 0x60]
jne 0x14010a1c6
mov dil, 1
lea rcx, [rbp + 0xb0]
call fcn.14010d464
nop
lea rcx, [rbp + 0xc8]
call fcn.14000dd24
mov al, dil
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.1402194b0
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp qword [rbp + 0x78], rdi
je 0x14010a697
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rax, qword [rbp + 0x68]
mov qword [rbp + 0x78], rdi
mov word [rax], di
lea rax, [rbp + 0x38]
cmp r14, rax
je 0x14010a702
mov rbx, qword [rbp + 0x48]
lea r9, [rbp + 0x38]
cmp qword [rbp + 0x50], 7
cmova r9, qword [rbp + 0x38]
cmp rbx, qword [r14 + 0x18]
ja 0x14010a6f6
mov rsi, r14
cmp qword [r14 + 0x18], 7
jbe 0x14010a6dd
mov rsi, qword [r14]
mov qword [r14 + 0x10], rbx
lea r8, [rbx + rbx]
mov rdx, r9
mov rcx, rsi
call fcn.1402bec40
mov word [rsi + rbx*2], di
jmp 0x14010a702
mov rdx, rbx
mov rcx, r14
call fcn.1400123bc
nop
lea rcx, [rsp + 0x50]
call fcn.140099bc0
nop
cmp qword [rbp + 0x78], rdi
je 0x14010a72a
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14010a739
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x88]
call fcn.14000dd24
nop
lea rcx, [rbp + 0x68]
call fcn.14000dd24
nop
lea rcx, [rbp + 0x38]
call fcn.14000dd24
jmp 0x14010a63b