Function at 0x14000b85c
Capabilities:
Delete file
Set file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x518]
sub rsp, 0x618
mov qword [rbp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov ebx, r9d
mov dword [rsp + 0x68], ebx
mov r14, r8
mov r12, rdx
mov r15, rcx
mov qword [rbp + 0x50], r8
xor edi, edi
mov dword [rsp + 0x6c], edi
call fcn.1400279a4
mov rcx, rax
test rax, rax
je 0x14000c268
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
or rsi, 0xffffffffffffffff
cmp dword [r15 + 0x14], edi
je 0x14000b8df
cmp dword [r15 + 0x18], edi
je 0x14000be39
lea rcx, [rbp - 0x68]
call fcn.140038360
nop
xor r8d, r8d
mov rdx, qword [r14]
lea rcx, [rbp - 0x68]
call fcn.140038668
test eax, eax
jne 0x14000b92f
lea rcx, [rbp - 0x68]
call fcn.140038568
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000b92a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14000c218
lea rcx, [rbp - 0x68]
call fcn.140038958
mov r13d, eax
lea rcx, [rbp - 0x68]
call fcn.140038f5c
test eax, eax
jne 0x14000be1d
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.140038af4
nop
call fcn.1400279a4
mov rcx, rax
test rax, rax
je 0x14000c27e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x78], 0x104
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0xa0]
mov rcx, qword [rsp + 0x48]
call fcn.140061ce0
lea rcx, [rbp + 0xa0]
call fcn.1400675ec
mov r8d, eax
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.14000521c
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rbp - 0x68]
mov rax, qword [rbp - 0x68]
call qword [rax + 0x70]
test eax, eax
je 0x14000ba71
cmp dword [r15 + 0x18], edi
je 0x14000ba4c
mov rcx, qword [rsp + 0x40]
call fcn.140002160
lea rax, [rbp - 0x30]
mov qword [rbp + 0x58], rax
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x68]
call fcn.140038af4
nop
lea r8, str..
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14000983c
nop
mov r9d, ebx
mov r8, rax
mov rdx, r12
mov rcx, r15
call fcn.14000b85c
cmp eax, 3
sete bl
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000ba40
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
jne 0x14000c017
mov ebx, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000ba6c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14000bdfe
cmp dword [r15 + 0x14], edi
jne 0x14000bdde
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
call fcn.140004c18
lea rbx, [rax + 0x18]
mov qword [rsp + 0x70], rbx
mov edx, 0x5c
mov rcx, rbx
call fcn.140064f68
test rax, rax
jne 0x14000baa8
mov eax, esi
jmp 0x14000baae
sub rax, rbx
sar rax, 1
mov r8d, eax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.140009ae4
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140003810
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000baec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0x80
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rsp + 0x70]
call fcn.140002160
call fcn.1400293ac
mov r8d, 0x3ee
lea rdx, [rbp - 0x18]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov r8, qword [rsp + 0x48]
mov rdx, qword [rax]
lea rcx, [rsp + 0x58]
call fcn.140004f88
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000bb50
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140026fbc
mov rdi, rax
mov dword [rax], 0x10000001
and dword [rax + 4], 0
mov rbx, qword [rsp + 0x58]
mov ecx, dword [rbx - 0x10]
inc ecx
movsxd rdx, ecx
mov eax, 2
mul rdx
cmovo rax, rsi
mov rcx, rax
call fcn.14002700c
mov qword [rdi + 8], rax
mov ecx, dword [rbx - 0x10]
inc ecx
movsxd rdx, ecx
mov r8, rbx
mov rcx, rax
call fcn.140067468
xor r9d, r9d
mov r8, rdi
mov edx, 0x465
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x80
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov qword [rsp + 0x20], r15
lea r9, [0x140009a80]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.140001ef8
xor edi, edi
test eax, eax
jne 0x14000bdbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
mov r8d, ebx
xor edx, edx
mov ecx, 0x1100
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000bcf4
call qword [sym.imp.KERNEL32.dll_LocalLock]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140003464
nop
lea rcx, [rsp + 0x60]
call fcn.14000cb48
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140003810
lea edx, [rdi + 0xa]
lea rcx, [rsp + 0x60]
call fcn.14000cc00
lea edx, [rdi + 0xd]
lea rcx, [rsp + 0x60]
call fcn.14000cc00
lea rdx, [0x1400887d4]
lea rcx, [rsp + 0x60]
call fcn.14000ca6c
lea rdx, [0x1400852d8]
lea rcx, [rsp + 0x60]
call fcn.14000ca6c
call fcn.1400293ac
mov r8d, 0x3ef
lea rdx, [rbp - 0x10]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rax]
lea rcx, [rsp + 0x58]
call fcn.140004f88
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000bce2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rdx, qword [rsp + 0x60]
jmp 0x14000bd27
call fcn.1400293ac
mov r8d, 0x3f0
lea rdx, [rbp - 8]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov r9d, ebx
mov r8, qword [rsp + 0x48]
mov rdx, qword [rax]
lea rcx, [rsp + 0x58]
call fcn.140004f88
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000bd41
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140026fbc
mov rdi, rax
mov dword [rax], 0x10000000
mov dword [rax + 4], 0x22
mov rbx, qword [rsp + 0x58]
mov ecx, dword [rbx - 0x10]
inc ecx
movsxd rdx, ecx
mov eax, 2
mul rdx
cmovo rax, rsi
mov rcx, rax
call fcn.14002700c
mov qword [rdi + 8], rax
mov ecx, dword [rbx - 0x10]
inc ecx
movsxd rdx, ecx
mov r8, rbx
mov rcx, rax
call fcn.140067468
xor r9d, r9d
mov r8, rdi
mov edx, 0x465
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 3
je 0x14000c0b3
cmp eax, 4
je 0x14000bbb3
xor edi, edi
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000bdda
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000bdfe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000be1d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r13d, r13d
jne 0x14000b92f
lea rcx, [rbp - 0x68]
call fcn.1400385fc
nop
lea rcx, [rbp - 0x68]
call fcn.140038568
cmp dword [r15 + 0x10], edi
je 0x14000c1f8
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.140004c18
add rax, 0x18
mov qword [rbp - 0x70], rax
call fcn.1400279a4
mov rcx, rax
test rax, rax
je 0x14000c273
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x7c], 0x124
lea r8, [rsp + 0x7c]
lea rdx, [rbp + 0x2b0]
mov rcx, qword [r14]
call fcn.140061ce0
lea rcx, [rbp + 0x2b0]
call fcn.1400675ec
mov r8d, eax
lea rdx, [rbp + 0x2b0]
lea rcx, [rsp + 0x50]
call fcn.14000521c
lea rcx, [rbp + 0x60]
call fcn.140061ee0
call fcn.1400279a4
mov rcx, rax
test rax, rax
je 0x14000c289
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
mov r9d, ebx
lea r8, [rbp + 0x60]
lea rdx, str.._s_x_
lea rcx, [rbp - 0x78]
call fcn.140004f88
lea rcx, [rbp + 0x10]
call fcn.140038360
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140038668
test eax, eax
lea rcx, [rbp + 0x10]
je 0x14000c18a
call fcn.140038958
mov edi, eax
lea rcx, [rbp + 0x10]
call fcn.140038f5c
test eax, eax
jne 0x14000c183
lea rdx, [rbp]
lea rcx, [rbp + 0x10]
call fcn.140038af4
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140003810
nop
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000bf6b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp - 0x78]
mov r8d, dword [rax - 0x10]
mov rax, qword [rsp + 0x50]
mov r9d, dword [rax - 0x10]
sub r9d, r8d
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x50]
call fcn.140009b84
mov ebx, dword [rsp + 0x6c]
or ebx, 1
mov dword [rsp + 0x6c], ebx
mov rcx, qword [r14]
cmp dword [rcx - 0x10], 0
jl 0x14000c25d
movzx r8d, word [rcx]
mov r9, qword [rax]
lea rdx, str._c:_s
lea rcx, [rbp - 0x70]
call fcn.140004f88
and ebx, 0xfffffffe
mov dword [rsp + 0x6c], ebx
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000bfe1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x70]
call fcn.140002e80
test eax, eax
jne 0x14000c183
lea edx, [rax + 0x10]
lea rcx, [rbp + 0x10]
mov rax, qword [rbp + 0x10]
call qword [rax + 0x70]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14000c16d
call fcn.140002218
jmp 0x14000c183
lea rcx, [rbp - 0x68]
call fcn.1400385fc
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c041
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c061
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x68]
call fcn.140038568
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c08b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14000c0a9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 3
jmp 0x14000c23a
lea rcx, [rbp - 0x68]
call fcn.1400385fc
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c0dd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c0fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c11d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x68]
call fcn.140038568
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c147
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c0a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000c0a9
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
jmp 0x14000bf0f
call fcn.1400385fc
nop
lea rcx, [rbp + 0x10]
call fcn.140038568
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c1b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c1d9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c1f8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c218
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c235
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.14005ef50
add rsp, 0x618
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80070057
call fcn.140003bc0
nop
mov ecx, 0x80004005
call fcn.140003bc0
nop
mov ecx, 0x80004005
call fcn.140003bc0
nop
mov ecx, 0x80004005
call fcn.140003bc0
nop
mov ecx, 0x80004005
call fcn.140003bc0
int3