Function at 0x140089060
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1401c7ef8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r8
mov qword [rsp + 0x20], r8
mov r15, rdx
mov rdx, rcx
lea rcx, [r11 - 0x78]
call fcn.1400ec8e0
nop
xor ebx, ebx
mov qword [rsp + 0x28], rbx
or r12, 0xffffffffffffffff
nop dword [rax]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400ec4f0
nop
lea rcx, [rsp + 0x28]
cmp rcx, rax
je 0x140089103
mov rdi, qword [rax]
mov qword [rax], 0
cmp rdi, rbx
je 0x140089103
test rbx, rbx
je 0x1400890fb
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, rdi
mov qword [rsp + 0x28], rbx
test rbx, rbx
setne dil
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14008911e
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test dil, dil
je 0x14008933a
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 8
jb 0x140089145
mov r11, qword [r15]
jmp 0x140089148
mov r11, r15
mov r13, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r14, qword [rsp + 0x40]
test rdi, rdi
je 0x140089230
test rbp, rbp
je 0x140089323
cmp rdi, rbp
ja 0x140089323
mov r10, rbp
sub r10, rdi
inc r10
lea rsi, [rsp + 0x40]
cmp r13, 8
cmovae rsi, r14
nop dword [rax + rax]
mov rax, r10
mov rdx, rsi
test r10, r10
je 0x14008931e
movzx ecx, word [r11]
cmp word [rdx], cx
je 0x1400891b7
add rdx, 2
dec rax
je 0x14008931e
jmp 0x1400891a3
test rdx, rdx
je 0x14008931e
mov rcx, rdi
mov r8, r11
mov r9, rdx
test rdi, rdi
je 0x14008920e
movzx eax, word [r8]
cmp word [r9], ax
jne 0x1400891e5
add r9, 2
add r8, 2
dec rcx
jmp 0x1400891cc
mov ecx, 1
cmp word [r9], ax
cmovb ecx, r12d
test ecx, ecx
je 0x14008920e
mov rcx, rdx
sub rcx, rsi
sar rcx, 1
mov rax, r12
sub rax, rcx
add r10, rax
lea rsi, [rdx + 2]
jmp 0x140089190
lea rax, [rsp + 0x40]
cmp r13, 8
cmovae rax, r14
sub rdx, rax
sar rdx, 1
mov rsi, qword [rsp + 0x20]
cmp rdx, 0xffffffffffffffff
je 0x140089323
mov r11, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x140089240
mov rdi, qword [rsi]
jmp 0x140089243
mov rdi, rsi
test r11, r11
je 0x140089323
test rbp, rbp
je 0x1400892ff
cmp r11, rbp
ja 0x1400892ff
sub rbp, r11
inc rbp
lea r10, [rsp + 0x40]
cmp r13, 8
cmovae r10, r14
mov rax, rbp
mov rdx, r10
test rbp, rbp
je 0x1400892ff
movzx ecx, word [rdi]
cmp word [rdx], cx
je 0x140089293
add rdx, 2
dec rax
je 0x1400892ff
jmp 0x140089283
test rdx, rdx
je 0x1400892ff
mov rcx, r11
mov r8, rdi
mov r9, rdx
test r11, r11
je 0x1400892e6
movzx eax, word [r8]
cmp word [r9], ax
jne 0x1400892bd
add r9, 2
add r8, 2
dec rcx
jmp 0x1400892a4
mov ecx, 1
cmp word [r9], ax
cmovb ecx, r12d
test ecx, ecx
je 0x1400892e6
mov rcx, rdx
sub rcx, r10
sar rcx, 1
mov rax, r12
sub rax, rcx
add rbp, rax
lea r10, [rdx + 2]
jmp 0x140089271
lea rax, [rsp + 0x40]
cmp r13, 8
cmovae rax, r14
sub rdx, rax
sar rdx, 1
cmp rdx, 0xffffffffffffffff
jne 0x140089323
lea rcx, [rsp + 0x40]
cmp r13, 8
cmovae rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r13, qword [rsp + 0x58]
mov r14, qword [rsp + 0x40]
jmp 0x140089323
mov rsi, qword [rsp + 0x20]
cmp r13, 8
jb 0x1400890c0
mov rcx, r14
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x1400890c0
test rbx, rbx
je 0x14008934d
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x140089379
lock dec dword [rbx + 8]
jne 0x140089379
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lock dec dword [rbx + 0xc]
jne 0x140089379
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
cmp qword [rsp + 0x90], 8
jb 0x140089391
mov rcx, qword [rsp + 0x78]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
jmp 0x140089391
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400d6f80
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret