Function at 0x140042e00
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 0x14004330d
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.1400080e0
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.140045f20
nop
lea rdx, [rbp + 0x1f8]
lea rcx, [rsp + 0x50]
call fcn.140046c90
nop
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140042e8e
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 0x140042ec3
mov eax, dword [rdx + 0x10]
cmp eax, edi
je 0x140042eb9
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140042ec3
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 0x1400432d5
mov dl, 1
mov rcx, qword [rsi]
call fcn.140042920
test al, al
je 0x1400432d5
call fcn.140008400
mov r10, qword [rax]
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
mov rcx, rax
call qword [r10 + 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
call fcn.140008400
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rbp + 0x1f0], rax
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.14005db80
nop
mov rsi, qword [rbp + 0x1f0]
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x14004326f
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
mov rcx, rax
test rax, rax
je 0x14004326f
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 0x1400432a2
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043298
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400432a2
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 0x1400432d5
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400432cb
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400432d5
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 0x140043307
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400432fc
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140043307
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
movzx eax, r14b
jmp 0x14004330f
xor al, al
mov rbx, qword [rsp + 0x308]
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret