Function at 0x14001f5f0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov r12, rcx
mov dword [rbp - 0x20], 0x100
call fcn.140008400
mov r8, qword [rax]
lea rdx, str.CJRVideoThumbHelper::GetThumbnailJR
mov rcx, rax
call qword [r8 + 0x20]
mov qword [rbp - 0x18], rax
mov byte [rbp - 0x10], 1
lea rax, vtable.JRTimer.0
mov qword [rbp - 8], rax
xor eax, eax
mov qword [rbp], rax
lea rcx, [rbp - 8]
call fcn.140025db0
mov dword [rbp + 8], 0x8a33f231
xor esi, esi
cmp byte [rbp - 0x10], sil
je 0x14001f69a
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x14001f6a1
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x14001f69a
mov r10, qword [rax]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9, str.Start
mov r8, qword [rbp - 0x18]
mov edx, dword [rbp - 0x20]
mov rcx, rax
call qword [r10 + 0x10]
mov rcx, qword [0x14019a6b8]
mov byte [rbp + 0x110], 0
mov byte [rbp + 0x118], 0
lea rdi, vtable.JRPropertyMap.0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rsi
test rcx, rcx
je 0x14001f6d2
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x70]
mov rcx, rax
jmp 0x14001f6d5
mov rcx, rsi
mov rax, qword [rcx]
mov r8d, 0xd
mov rdx, qword [r12]
call qword [rax + 0x48]
test al, al
je 0x14001f71e
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x118]
lea rdx, [rbp + 0x110]
mov rcx, r12
call fcn.14001e9f0
cmp byte [rbp + 0x110], 0
je 0x14001f71e
cmp byte [rbp + 0x118], 0
je 0x14001f71e
mov r15b, 1
jmp 0x14001fd6e
lea rbx, [r12 + 8]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1400080e0
nop
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rsi
mov byte [rbp - 0x68], 1
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140045f20
nop
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140045dc0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.1400333a0
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x58]
mov rax, qword [rbp - 0x58]
call qword [rax + 0x80]
movzx eax, byte [rbp - 0x68]
mov byte [rbp - 0x48], al
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x3c], 3
mov qword [rbp - 0x38], 3
mov byte [rbp - 0x30], 0
mov qword [rbp - 0x28], 0xffffffffffffffff
mov qword [rbp - 0x78], rdi
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14001f7b7
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbp - 0x70], rsi
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14001f7ea
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14001f7e0
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001f7ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x60]
call fcn.14004fe20
test al, al
jne 0x14001f8b6
mov dword [rsp + 0x50], esi
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0xb0], xmm0
mov dword [rsp + 0x50], esi
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm1
mov dword [rsp + 0x50], esi
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0xa0], xmm0
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x48], rbx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x14001f8ae
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x14001f8ae
lea rcx, [rsp + 0x50]
mov qword [rbp + 0x10], rcx
lea rcx, [rbp + 0xa0]
mov qword [rbp + 0x18], rcx
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
lea rcx, [rbp + 0xb0]
mov qword [rbp + 0x28], rcx
mov r10, qword [rax]
mov dword [rsp + 0x28], 4
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
lea r9, str.File_in_use:__s
mov r8, qword [rbp - 0x18]
mov edx, dword [rbp - 0x20]
mov rcx, rax
call qword [r10 + 0x10]
xor r15b, r15b
jmp 0x14001fd42
cmp byte [rbp - 0x31], 0
je 0x14001f8d4
mov rcx, qword [rbp - 0x28]
cmp rcx, 0xffffffffffffffff
je 0x14001f8d4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], 0xffffffffffffffff
mov byte [rbp - 0x31], 0
mov dword [rsp + 0x48], 1
mov rdi, rsi
mov qword [rsp + 0x40], rsi
call fcn.140045bf0
mov r14, rax
mov dword [rbp + 0xb8], 1
mov r13, rax
mov qword [rbp + 0xb0], rax
mov r9, qword [rax]
mov r8d, 0xffffd8f0
mov rdx, qword [rbx]
mov rcx, rax
call qword [r9 + 0x10]
movzx r15d, al
test al, al
jne 0x14001f9e1
mov dword [rsp + 0x30], esi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x10], xmm0
mov dword [rsp + 0x30], esi
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0xc0], xmm1
mov dword [rsp + 0x30], esi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0xa0], xmm0
mov dword [rsp + 0x50], 3
mov qword [rsp + 0x58], rbx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x14001f9d9
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x14001f9d9
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0xa0]
mov qword [rsp + 0x58], rcx
lea rcx, [rbp + 0xc0]
mov qword [rsp + 0x60], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x68], rcx
mov r10, qword [rax]
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea r9, str.Unable_to_open_video_file:__s
mov r8, qword [rbp - 0x18]
mov edx, dword [rbp - 0x20]
mov rcx, rax
call qword [r10 + 0x10]
xor r15b, r15b
jmp 0x14001fd15
mov ecx, 0x58
call fcn.1400df728
mov rsi, rax
mov qword [rbp + 0x118], rax
lea rax, vtable.CJRThumbGrabber.0
mov qword [rsi], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x10], rax
lea rbx, [rsi + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov dword [rsi + 0x50], 1
mov qword [rsi + 0x48], 0
mov qword [rsi + 8], r14
mov rax, qword [r14]
mov rdx, rsi
mov rcx, r14
call qword [rax + 0x30]
nop
mov dword [rbp + 0x18], 1
mov qword [rbp + 0x10], rsi
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax + 0x98]
mov dword [rbp + 0x118], eax
cmp byte [rbp + 0x110], 0
jne 0x14001fce8
test eax, eax
js 0x14001fce8
movsxd rax, dword [r12 + 0x20]
mov qword [rbp + 0x110], rax
mov rdx, rax
mov rcx, rsi
call fcn.140008980
test rbx, rbx
je 0x14001fab0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rsi + 0x48], 0
sete r15b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14001fab9
cmp qword [rsi + 0x48], 0
sete r15b
test r15b, r15b
je 0x14001fad4
mov rdx, qword [rbp + 0x110]
add rdx, 0xea60
mov rcx, rsi
call fcn.140008980
test rbx, rbx
je 0x14001fae2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rsi + 0x48], 0
je 0x14001fb40
and dword [rsi + 0x50], 0xfffffffe
mov rdi, qword [rsi + 0x48]
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x40], rdi
test rdi, rdi
je 0x14001fb40
mov qword [rsi + 0x48], 0
mov eax, dword [rsi + 0x50]
test al, 1
je 0x14001fb40
test al, 2
je 0x14001fb33
lea rcx, [rdi - 8]
cmp qword [rcx], 0
je 0x14001fb27
mov edx, 3
jmp 0x14001fb38
mov edx, 8
call fcn.1400df7a0
jmp 0x14001fb40
mov edx, 1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
test rbx, rbx
je 0x14001fb4e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
setne r15b
xor ebx, ebx
test rdi, rdi
je 0x14001fce8
xor eax, eax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rbx
lea rcx, [0x140129d58]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rbx
lea rcx, [0x140129d58]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rbx
lea rcx, [0x140129d58]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rbx
lea rcx, [0x140129d58]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0x50], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x80], rbx
mov rax, qword [r14]
lea r8, [rbp + 0x30]
mov edx, dword [rbp + 0x118]
mov rcx, r14
call qword [rax + 0xa0]
cmp al, 1
jne 0x14001fc1a
cmp dword [rbp + 0x58], ebx
jne 0x14001fc1a
mov rdx, qword [rbp + 0x78]
test edx, edx
je 0x14001fc1a
mov rax, qword [rdi]
xor r9d, r9d
lea r8d, [rbx + 0x64]
mov rcx, rdi
call qword [rax + 0x1c0]
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xc0], xmm0
mov rax, qword [rdi]
lea r8, [rbp + 0xc0]
mov edx, 0xff
mov rcx, rdi
call qword [rax + 0x300]
mov rax, qword [rdi]
mov rdx, qword [r12 + 0x10]
mov rcx, rdi
call qword [rax + 0x48]
test al, al
je 0x14001fc60
mov edx, 0x2000
mov rcx, qword [r12 + 0x10]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14001fc78
call fcn.1400df720
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x88], rbx
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14001fc95
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0x50], rbx
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14001fca8
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0x48], rbx
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14001fcbb
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0x40], rbx
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14001fcce
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x14001fce8
mov rcx, rdi
mov rdi, rbx
mov qword [rsp + 0x40], rbx
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax + 0x48]
xor esi, esi
test r14, r14
je 0x14001fd15
mov r13d, esi
mov rax, qword [r14]
lea edx, [rsi + 1]
mov rcx, r14
call qword [rax]
nop
test r13, r13
je 0x14001fd29
mov rax, qword [r13]
mov edx, 1
mov rcx, r13
call qword [rax]
nop
test rdi, rdi
je 0x14001fd3b
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
lea rdi, vtable.JRPropertyMap.0
cmp byte [rbp - 0x31], 0
je 0x14001fd60
mov rcx, qword [rbp - 0x28]
cmp rcx, 0xffffffffffffffff
je 0x14001fd60
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], 0xffffffffffffffff
mov byte [rbp - 0x31], 0
lea rcx, [rbp - 0x60]
call fcn.140045eb0
nop
mov qword [rsp + 0x70], rdi
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14001fd8d
mov r8, qword [rcx]
mov edx, 1
call qword [r8]
mov qword [rsp + 0x78], rsi
lea rcx, [rbp - 0x20]
call fcn.14003f2b0
movzx eax, r15b
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret