Function at 0x140042440
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rsi, rcx
mov rax, qword [rcx]
cmp dword [rax - 0x10], 0
jle 0x14004297e
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.14000a560
nop
lea rbx, vtable.JRPropertyMap.0
mov qword [rsp + 0x58], rbx
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x68], 1
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14004d810
nop
lea rdx, [rbp + 0x1f8]
lea rcx, [rsp + 0x50]
call fcn.14004e520
nop
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400424ce
mov rax, qword [rcx]
lea edx, [r15 + 1]
call qword [rax]
mov qword [rsp + 0x60], r15
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
mov edi, 0xffffffff
cmp eax, 0x7ffffc17
je 0x140042503
mov eax, dword [rdx + 0x10]
cmp eax, edi
je 0x1400424f9
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042503
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov edx, 0x80
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rbp + 0x1f8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne r14b
test eax, eax
jne 0x140042946
mov dl, 1
mov rcx, qword [rsi]
call fcn.140042070
test al, al
je 0x140042946
cmp dword [0x14021c658], 0xb23a8c33
je 0x14004257d
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp + 0x200], rax
test rax, rax
je 0x140042571
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140042574
mov rcx, r15
mov qword [0x140229e08], rcx
jmp 0x140042584
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, edi
mov r8d, edi
lea rdx, str.JRFileSystem::DeleteFile
call qword [rax + 0x28]
mov rbx, rax
mov qword [rbp + 0x200], rax
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x1b0], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x1a0], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x190], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x180], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x170], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x160], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x150], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x140], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x130], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x120], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x110], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x100], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xf0], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xe0], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xd0], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xc0], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xb0], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xa0], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x90], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x80], xmm1
mov dword [rsp + 0x40], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x70], xmm0
mov dword [rsp + 0x40], r15d
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x60], xmm1
mov dword [rsp + 0x70], 3
mov qword [rsp + 0x78], rsi
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x80], 4
mov eax, eax
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x1f0]
call fcn.14000a680
nop
lea rax, [rbp + 0x50]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x60]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x70]
mov qword [rbp - 0x58], rax
lea r9, [rbp + 0x1f0]
mov r8d, 4
lea rdx, [rbp - 0x70]
lea rcx, str.Error__d_deleting_existing_file:__s
call fcn.140057940
nop
mov rsi, qword [rbp + 0x1f0]
mov rcx, qword [0x14022a428]
test rcx, rcx
je 0x1400428e0
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
mov rcx, rax
test rax, rax
je 0x1400428e0
lea rax, [rbp + 0x80]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x90]
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0xb0]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0xc0]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0xd0]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0xe0]
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x100]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x110]
mov qword [rbp - 8], rax
lea rax, [rbp + 0x120]
mov qword [rbp], rax
lea rax, [rbp + 0x130]
mov qword [rbp + 8], rax
lea rax, [rbp + 0x140]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x150]
mov qword [rbp + 0x18], rax
lea rax, [rbp + 0x160]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x170]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x180]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x190]
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x48], rax
mov rax, qword [rcx]
mov dword [rsp + 0x28], 0x14
lea r8, [rbp - 0x50]
mov qword [rsp + 0x20], r8
mov r9, rsi
mov r8, rbx
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x1f0]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140042913
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140042909
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042913
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x200]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140042946
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004293c
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042946
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x1f8]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140042978
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004296d
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140042978
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
movzx eax, r14b
jmp 0x140042980
xor al, al
mov rbx, qword [rsp + 0x308]
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret