Function at 0x14001ee80
Capabilities:
Set file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov rsi, rcx
mov dword [rbp - 0x69], 0x100
call fcn.140008400
mov r8, qword [rax]
lea rdx, str.CJRVideoThumbHelper::GetThumbnailDX
mov rcx, rax
call qword [r8 + 0x20]
mov qword [rbp - 0x61], rax
mov byte [rbp - 0x59], 1
lea rax, vtable.JRTimer.0
mov qword [rbp - 0x51], rax
xor eax, eax
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x51]
call fcn.140025db0
mov dword [rbp - 0x41], 0x8a33f231
xor ebx, ebx
cmp byte [rbp - 0x59], bl
je 0x14001ef23
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x14001ef2a
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x14001ef23
mov r10, qword [rax]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
lea r9, str.Start
mov r8, qword [rbp - 0x61]
mov edx, dword [rbp - 0x69]
mov rcx, rax
call qword [r10 + 0x10]
mov rcx, qword [0x14019a6b8]
xor r12b, r12b
xor r14b, r14b
mov byte [rbp + 0x6f], r14b
xor r15b, r15b
mov byte [rbp + 0x67], r15b
lea rax, vtable.JRPropertyMap.0
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], rbx
test rcx, rcx
je 0x14001ef5c
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x70]
mov rcx, rax
jmp 0x14001ef5f
mov rcx, rbx
mov rax, qword [rcx]
mov r8d, 0xd
mov rdx, qword [rsi]
call qword [rax + 0x48]
mov edi, 1
test al, al
je 0x14001efa8
lea r9, [rbp - 0x79]
lea r8, [rbp + 0x67]
lea rdx, [rbp + 0x6f]
mov rcx, rsi
call fcn.14001e9f0
movzx r14d, byte [rbp + 0x6f]
movzx r15d, byte [rbp + 0x67]
test r14b, r14b
je 0x14001efa8
test r15b, r15b
je 0x14001efa8
movzx r12d, dil
jmp 0x14001f5aa
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x50], rbx
lea r13, [rsi + 8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x14001f093
mov dword [rsp + 0x40], ebx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x29], xmm0
mov dword [rsp + 0x40], ebx
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x39], xmm1
mov dword [rsp + 0x40], ebx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 7], xmm0
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x48], r13
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x14001f08b
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x14001f08b
lea rcx, [rsp + 0x40]
mov qword [rbp - 0x19], rcx
lea rcx, [rbp + 7]
mov qword [rbp - 0x11], rcx
lea rcx, [rbp - 0x39]
mov qword [rbp - 9], rcx
lea rcx, [rbp - 0x29]
mov qword [rbp - 1], rcx
mov r10, qword [rax]
mov dword [rsp + 0x28], 4
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x20], rcx
lea r9, str.File_in_use:__s
mov r8, qword [rbp - 0x61]
mov edx, dword [rbp - 0x69]
mov rcx, rax
call qword [r10 + 0x10]
xor r12b, r12b
jmp 0x14001f3b1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x77], 0x80004005
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x40], rbx
call fcn.14001e5b0
lea ecx, [rax - 0x3e8]
cmp ecx, 0x3e7
ja 0x14001f0c6
cmp eax, 0x3ee
jg 0x14001f0f2
call fcn.14001e5b0
cmp eax, 0x3ee
jne 0x14001f178
movups xmm0, xmmword [0x140146448]
movaps xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.1400a04e0
test al, al
je 0x14001f178
mov ecx, 0x298
call fcn.1400df728
mov qword [rbp + 0x7f], rax
xor edx, edx
mov rcx, rax
call fcn.14002f0c0
mov rdi, rax
mov dword [rsp + 0x48], 1
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14001f173
mov ecx, dword [rsi + 0x20]
mov dword [rsp + 0x20], ecx
lea r9, [rbp - 0x79]
lea r8, [rsp + 0x50]
mov rdx, r13
mov rcx, rax
call fcn.14002f410
mov dword [rbp + 0x77], eax
test eax, eax
jns 0x14001f3f9
mov rcx, rbx
call fcn.1400322a0
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x388]
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov r8, qword [rdi]
lea edx, [rbx + 1]
mov rcx, rdi
call qword [r8 + 0x2e8]
mov edi, 1
mov ecx, 0x298
call fcn.1400df728
mov qword [rbp + 0x7f], rax
mov edx, edi
mov rcx, rax
call fcn.14002f0c0
mov rdi, rax
test rbx, rbx
je 0x14001f1aa
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8 + 0x2e8]
mov dword [rsp + 0x48], 1
mov rbx, rdi
mov qword [rsp + 0x40], rbx
test rdi, rdi
je 0x14001f1dc
mov eax, dword [rsi + 0x20]
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x79]
lea r8, [rsp + 0x50]
mov rdx, r13
mov rcx, rdi
call fcn.14002f410
jmp 0x14001f1df
mov eax, dword [rbp + 0x77]
test eax, eax
jns 0x14001f3f9
test rdi, rdi
je 0x14001f216
mov rcx, rdi
call fcn.1400322a0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x388]
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov rax, qword [rdi]
lea edx, [rbx + 1]
mov rcx, rdi
call qword [rax + 0x2e8]
mov ecx, 0x298
call fcn.1400df728
mov qword [rbp + 0x77], rax
mov edx, 2
mov rcx, rax
call fcn.14002f0c0
mov rdi, rax
test rbx, rbx
je 0x14001f24b
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8 + 0x2e8]
mov dword [rsp + 0x48], 1
mov rbx, rdi
mov qword [rsp + 0x40], rbx
test rdi, rdi
je 0x14001f283
mov eax, dword [rsi + 0x20]
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x79]
lea r8, [rsp + 0x50]
mov rdx, r13
mov rcx, rdi
call fcn.14002f410
test eax, eax
jns 0x14001f3f9
call fcn.14001e5b0
lea ecx, [rax - 0x3e8]
cmp ecx, 0x3e7
ja 0x14001f341
cmp eax, 0x3ee
jl 0x14001f341
test rdi, rdi
je 0x14001f2d4
mov rcx, rdi
call fcn.1400322a0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x388]
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov rax, qword [rdi]
lea edx, [rbx + 1]
mov rcx, rdi
call qword [rax + 0x2e8]
mov ecx, 0x298
call fcn.1400df728
mov qword [rbp + 0x77], rax
mov edx, 3
mov rcx, rax
call fcn.14002f0c0
mov rdi, rax
test rbx, rbx
je 0x14001f309
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8 + 0x2e8]
mov dword [rsp + 0x48], 1
mov rbx, rdi
mov qword [rsp + 0x40], rbx
test rdi, rdi
je 0x14001f341
mov eax, dword [rsi + 0x20]
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x79]
lea r8, [rsp + 0x50]
mov rdx, r13
mov rcx, rdi
call fcn.14002f410
test eax, eax
jns 0x14001f3f9
mov rcx, qword [rsp + 0x50]
mov edx, 1
test rcx, rcx
je 0x14001f382
mov qword [rsp + 0x50], 0
mov eax, dword [rsp + 0x58]
test al, 1
je 0x14001f382
and eax, 2
test rcx, rcx
je 0x14001f382
test eax, eax
je 0x14001f37d
cmp qword [rcx - 8], 0
je 0x14001f57f
mov edx, 3
mov rax, qword [rcx]
call qword [rax]
mov rcx, rbx
call fcn.1400322a0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x388]
mov edi, 1
test rbx, rbx
je 0x14001f3af
mov rax, qword [rbx]
mov edx, edi
mov rcx, rbx
call qword [rax + 0x2e8]
nop
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001f5aa
mov qword [rsp + 0x50], rbx
mov eax, dword [rsp + 0x58]
test al, 1
je 0x14001f5aa
and eax, 2
test rcx, rcx
je 0x14001f5aa
test eax, eax
je 0x14001f5a2
cmp qword [rcx - 8], 0
je 0x14001f592
mov edx, 3
jmp 0x14001f5a4
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001f382
test r14b, r14b
jne 0x14001f454
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
mov rax, qword [rcx]
lea r8, [rbp - 0x39]
mov edx, 0xff
call qword [rax + 0x300]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rdx, qword [rsi + 0x10]
call qword [rax + 0x48]
test al, al
je 0x14001f44f
mov edx, 0x2000
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov r14b, 1
mov byte [rbp + 0x6f], r14b
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsi + 0x18]
cmp dword [rax - 0x10], 0
jle 0x14001f561
test r15b, r15b
jne 0x14001f561
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r15b
mov byte [rsp + 0x20], r15b
mov edi, 0xffffffff
mov r9d, edi
mov r8d, edi
lea rdx, str.XMLPH
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp + 0x7f], rax
movsd xmm0, qword [0x140156870]
movsd qword [rsp + 0x20], xmm0
xor r9d, r9d
lea r8, [rbp + 0x7f]
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x79]
call fcn.14003de10
nop
mov eax, dword [rbx - 8]
cmp eax, 0x7ffffc17
je 0x14001f4f5
mov eax, dword [rbx - 8]
cmp eax, edi
je 0x14001f4e2
mov eax, edi
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14001f4f5
mov rax, qword [rbx - 0x18]
mov r9, qword [rax]
lea rdx, [rbx - 0x18]
mov rcx, rax
call qword [r9 + reloc.OLEAUT32.dll_VariantClear]
nop
mov r8d, 2
mov rdx, qword [rsi + 0x18]
lea rcx, [rbp + 0x77]
call fcn.140038ef0
test al, al
je 0x14001f51f
mov edx, 0x2000
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [rbp + 0x67], 1
mov rdx, qword [rbp + 0x77]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14001f54d
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14001f543
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14001f54d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
movzx r14d, byte [rbp + 0x6f]
movzx r15d, byte [rbp + 0x67]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test r14b, r14b
je 0x14001f346
movzx r12d, r12b
test r15b, r15b
mov edx, 1
cmovne r12d, edx
jmp 0x14001f34b
mov edx, 8
add rcx, 0xfffffffffffffff8
call fcn.1400df7a0
jmp 0x14001f382
mov edx, 8
add rcx, 0xfffffffffffffff8
call fcn.1400df7a0
jmp 0x14001f5aa
mov edx, edi
mov rax, qword [rcx]
call qword [rax]
nop
lea rax, vtable.JRPropertyMap.0
mov qword [rbp - 0x79], rax
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14001f5ca
mov r8, qword [rcx]
mov edx, edi
call qword [r8]
mov qword [rbp - 0x71], rbx
lea rcx, [rbp - 0x69]
call fcn.14003f2b0
movzx eax, r12b
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret