Function at 0x1401fa750
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x998]
sub rsp, 0xa98
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rdi, rdx
lea rbx, [rcx + 8]
lea rsi, vtable.CSABString.0
mov qword [rsp + 0x50], rsi
test rbx, rbx
je 0x1401fa85b
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1401fa7a0
mov dword [rsp + 0x60], eax
inc eax
mov edi, eax
mov ecx, eax
call fcn.140247068
mov r12, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1401fa7d3
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call fcn.1402496a0
mov rdi, qword [rbp + 0x9e8]
mov dword [rsp + 0x64], 1
lea r14, vtable.CSABOLECompoundFile.0
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], 0
mov dword [rbp + 0xb8], 0
test r12, r12
je 0x1401fa885
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [r12 + rax], 0
jne 0x1401fa820
mov dword [rbp + 0xb8], eax
lea ecx, [rax + 1]
call fcn.140247068
mov qword [rbp + 0xb0], rax
test rax, rax
je 0x1401fa8a9
mov r8d, dword [rbp + 0xb8]
inc r8d
mov rdx, r12
mov rcx, rax
call fcn.1402496a0
jmp 0x1401fa8a9
mov dword [rsp + 0x60], 0
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov r12, rax
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [r12], rax
mov qword [r12 + 8], rax
jmp 0x1401fa7da
mov dword [rbp + 0xb8], 0
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov qword [rbp + 0xb0], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rbp + 0xbc], 1
mov qword [rbp + 0xc0], 0
lea rcx, [rbp + 0xc8]
call fcn.1400041b0
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbp + 0xb0]
lea rcx, [rbp + 0x9e0]
call fcn.14000bd30
mov rcx, qword [rax]
call qword [sym.imp.ole32.dll_StgIsStorageFile]
mov ebx, eax
mov rcx, qword [rbp + 0x9e0]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp + 0xa0]
test ebx, ebx
je 0x1401fa916
mov edx, 0x1012
call fcn.1401ea040
jmp 0x1401fa920
mov edx, send
call fcn.140194630
mov ecx, 0x68
call fcn.14018ef40
mov qword [rbp + 0x9e0], rax
test rax, rax
je 0x1401fa94a
mov rdx, qword [rbp + 0xc0]
mov rcx, rax
call fcn.14018d8d0
mov rcx, rax
jmp 0x1401fa94c
xor ecx, ecx
mov qword [rbp + 0x9f8], rcx
test rcx, rcx
je 0x1401fae21
xor r13d, r13d
mov rax, qword [rdi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401fae16
mov r12, rcx
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x60]
call fcn.140249b10
xor r14d, r14d
xor r15d, r15d
mov r8d, r13d
lea rdx, str.ITEM_04d
lea rcx, [rbp - 0x60]
call fcn.140006bc0
mov qword [rsp + 0x30], rsi
lea rcx, [rbp - 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], r14b
jne 0x1401fa9b0
mov dword [rsp + 0x40], eax
inc eax
mov edi, eax
mov ecx, eax
call fcn.140247068
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1401fa9e4
mov r8d, edi
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.1402496a0
mov dword [rsp + 0x44], 1
mov rdi, qword [r12 + 8]
test rdi, rdi
je 0x1401faa8a
mov qword [rbp + 0x9e0], 0
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14000bd30
nop
mov r10, qword [rdi]
lea rcx, [rbp + 0x9e0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x1012
mov rdx, qword [rax]
mov rcx, rdi
call qword [r10 + 0x28]
mov edi, eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jne 0x1401faa77
lea ecx, [rdi + 0x68]
call fcn.14018ef40
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1401faa74
mov rdx, qword [rbp + 0x9e0]
mov rcx, rax
call fcn.14018d8d0
mov r15, rax
jmp 0x1401faa77
xor r15d, r15d
mov rcx, qword [rbp + 0x9e0]
test rcx, rcx
je 0x1401faa8a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
test rsi, rsi
je 0x1401faa97
mov rcx, rsi
call fcn.140247060
test r15, r15
je 0x1401faddf
movups xmm0, xmmword [0x1402d7350]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x1402ce2d0]
movaps xmmword [rsp + 0x30], xmm1
mov rcx, qword [r15 + 0x60]
test rcx, rcx
je 0x1401fab2f
mov qword [rbp + 0x9f0], 0
mov rax, qword [rcx]
lea rdx, [rbp + 0x9f0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x1012
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x1401fab1d
lea ecx, [rax + 0x50]
call fcn.14018ef40
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1401fab1a
mov rdx, qword [rbp + 0x9f0]
mov rcx, rax
call fcn.14018d870
mov r14, rax
jmp 0x1401fab1d
xor r14d, r14d
mov rcx, qword [rbp + 0x9f0]
test rcx, rcx
je 0x1401fab2f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rsi, vtable.CSABString.0
cmp dword [rbx + 0x28], 0
je 0x1401faba6
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x40], 6
mov ecx, 7
call fcn.140247068
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1401fab7d
mov ecx, dword [str.FAMILY]
mov dword [rax], ecx
movzx ecx, word [0x1402ce304]
mov word [rax + 4], cx
movzx ecx, byte [0x1402ce306]
mov byte [rax + 6], cl
mov dword [rsp + 0x44], 1
lea r8, [rbx + 0x18]
lea r9, [rsp + 0x30]
xor edx, edx
mov rcx, r14
call fcn.1401faec0
nop
test rdi, rdi
je 0x1401faba6
mov rcx, rdi
call fcn.140247060
cmp dword [rbx + 0x80], 0
je 0x1401fac11
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x40], SafeArrayGetDim
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.140247068
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1401fabe8
movsd xmm0, qword [str.PROCESSPATH]
movsd qword [rax], xmm0
mov ecx, dword [0x1402b80a0]
mov dword [rax + 8], ecx
mov dword [rsp + 0x44], 1
lea r8, [rbx + 0x70]
lea r9, [rsp + 0x30]
xor edx, edx
mov rcx, r14
call fcn.1401faec0
nop
test rdi, rdi
je 0x1401fac11
mov rcx, rdi
call fcn.140247060
cmp dword [rbx + 0x130], 0
je 0x1401fac8b
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x40], 0xa
mov ecx, VariantTimeToDosDateTime
call fcn.140247068
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1401fac5f
movsd xmm0, qword [str.REGKEYROOT]
movsd qword [rax], xmm0
movzx ecx, word [0x1402c42f0]
mov word [rax + 8], cx
movzx ecx, byte [0x1402c42f2]
mov byte [rax + 0xa], cl
mov dword [rsp + 0x44], 1
lea r8, [rbx + 0x120]
lea r9, [rsp + 0x30]
xor edx, edx
mov rcx, r14
call fcn.1401faec0
nop
test rdi, rdi
je 0x1401fac8b
mov rcx, rdi
call fcn.140247060
cmp dword [rbx + 0x100], 0
je 0x1401facf0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x40], 7
mov ecx, 8
call fcn.140247068
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1401facc4
movsd xmm0, qword [str.REGPATH]
movsd qword [rax], xmm0
mov dword [rsp + 0x44], 1
lea r8, [rbx + 0xf0]
lea r9, [rsp + 0x30]
xor edx, edx
mov rcx, r14
call fcn.1401faec0
nop
test rdi, rdi
je 0x1401facf0
mov rcx, rdi
call fcn.140247060
cmp dword [rbx + 0x160], 0
je 0x1401fad5f
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x40], 8
mov ecx, 9
call fcn.140247068
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1401fad33
movsd xmm0, qword [str.REGVALUE]
movsd qword [rax], xmm0
movzx ecx, byte [0x1402c4300]
mov byte [rax + 8], cl
mov dword [rsp + 0x44], 1
lea r8, [rbx + 0x150]
lea r9, [rsp + 0x30]
xor edx, edx
mov rcx, r14
call fcn.1401faec0
nop
test rdi, rdi
je 0x1401fad5f
mov rcx, rdi
call fcn.140247060
cmp dword [rbx + 0xe8], 0
je 0x1401fadc0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x40], 3
mov ecx, 4
call fcn.140247068
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1401fad94
mov ecx, dword [0x140286b20]
mov dword [rax], ecx
mov dword [rsp + 0x44], 1
lea r8, [rbx + 0xd8]
lea r9, [rsp + 0x30]
xor edx, edx
mov rcx, r14
call fcn.1401faec0
nop
test rdi, rdi
je 0x1401fadc0
mov rcx, rdi
call fcn.140247060
test r14, r14
je 0x1401fadd2
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax]
inc r13d
mov rbx, qword [rbx]
mov rdi, qword [rbp + 0x9e8]
cmp rbx, qword [rdi]
lea rsi, vtable.CSABString.0
jne 0x1401fa971
mov r12, qword [rsp + 0x58]
mov rcx, qword [rbp + 0x9f8]
lea rsi, vtable.CSABString.0
lea r14, vtable.CSABOLECompoundFile.0
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov qword [rbp + 0xa0], r14
lea rax, vtable.CSABOSVersion.0
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0x970], rsi
add dword [rbp + 0x984], 0xffffffff
jne 0x1401fae57
mov rcx, qword [rbp + 0x978]
test rcx, rcx
je 0x1401fae57
call fcn.140247060
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x1401fae69
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbp + 0xa8], rsi
add dword [rbp + 0xbc], 0xffffffff
jne 0x1401fae8b
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x1401fae8b
call fcn.140247060
nop
test r12, r12
je 0x1401fae98
mov rcx, r12
call fcn.140247060
mov eax, 1
add rsp, 0xa98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret