Function at 0x14001e9f0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov r14, r9
mov r13, r8
mov r12, rdx
mov r15, rcx
xor edi, edi
mov dword [rbp + 0x170], edi
call fcn.140008400
mov r10, qword [rax]
mov rcx, rax
call qword [r10 + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x60]
call fcn.1400af0a0
nop
mov r9, qword [r15]
xor cl, cl
test r9, r9
je 0x14001ea9b
movzx eax, word [r9]
cmp ax, 0x6d
jne 0x14001ea9b
mov r8d, edi
mov edx, edi
mov ecx, edi
lea r10, [0x14012b7a8]
nop dword [rax + rax]
cmp ax, word [rcx + r10]
jne 0x14001ea8b
inc r8d
inc rdx
lea rcx, [rdx + rdx]
movzx eax, word [rcx + r9]
test ax, ax
jne 0x14001ea70
movsxd rcx, r8d
movzx eax, word [r10 + rcx*2]
cmp word [r9 + rcx*2], ax
sete cl
mov byte [rbp + 0xd8], cl
lea rdx, [r15 + 8]
lea rcx, [rsp + 0x78]
call fcn.1400080e0
nop
lea rsi, vtable.JRPropertyMap.0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rdi
mov byte [rbp - 0x70], 1
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140045f20
nop
mov dword [rbp + 0x170], 1
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.1400b1030
test al, al
je 0x14001eb0a
lea rcx, [rbp - 0x60]
call fcn.1400b1150
test al, al
je 0x14001eb0a
lea rcx, [rbp - 0x60]
call fcn.1400b1240
test al, al
je 0x14001eb0a
mov bl, 1
jmp 0x14001eb0c
xor bl, bl
mov qword [rbp - 0x80], rsi
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14001eb27
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbp - 0x78], rdi
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
mov edi, 0xffffffff
cmp eax, 0x7ffffc17
je 0x14001eb5c
mov eax, dword [rdx + 0x10]
cmp eax, edi
je 0x14001eb52
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001eb5c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test bl, bl
je 0x14001eb6f
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.1400b25f0
nop
lea rcx, [rbp - 0x60]
call fcn.1400b0e90
mov rcx, qword [rsp + 0x50]
cmp dword [rcx - 0x10], 0
jle 0x14001ecbf
mov dl, 1
call fcn.140042920
test al, al
je 0x14001ecbf
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, [0x140129d58]
mov rcx, rax
call qword [r10 + 0x28]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [0x14019a680]
call fcn.140045500
test al, al
je 0x14001ec8a
mov rcx, qword [0x14019a6a0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rsi, rax
test rax, rax
je 0x14001ec8a
mov r8, qword [rax]
mov edx, 4
mov rcx, rax
call qword [r8 + 0xc8]
mov dword [rsp + 0x60], 0x190
mov dword [rsp + 0x64], 0x190
mov r10, qword [rsi]
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x40], 1
xor eax, eax
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], al
mov dword [rsp + 0x20], 0xffffffff
mov r9b, 1
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x14001ec7d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x420]
mov ebx, eax
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x418]
imul eax, ebx
cmp eax, 0x10
jl 0x14001ec7d
mov byte [r12], 1
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
cmp byte [r12], 0
je 0x14001ecbf
mov r8d, 1
mov rdx, qword [rsp + 0x50]
mov rcx, qword [r15 + 0x10]
call fcn.140043330
test al, al
je 0x14001ecba
mov edx, 0x2000
mov rcx, qword [r15 + 0x10]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14001ecbf
mov byte [r12], 0
mov rax, qword [r15 + 0x18]
cmp dword [rax - 0x10], 0
jle 0x14001ee2b
mov rax, qword [r14]
lea rdx, str.Width
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x14001ee2b
mov rax, qword [r14]
lea rdx, str.Height
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x14001ee2b
mov rax, qword [r14]
lea rdx, str.Width
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x14001ee2b
mov rax, qword [r14]
lea rdx, str.Height
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x14001ee2b
mov rax, qword [r14]
lea rdx, [0x14012c930]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x14001ee2b
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.XMLPH
mov rcx, rax
call qword [r10 + 0x28]
mov qword [rsp + 0x68], rax
mov rax, qword [r14]
movsd xmm0, qword [0x140156870]
movsd qword [rsp + 0x20], xmm0
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [rax + 0xb0]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14001edce
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14001edc4
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001edce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r8d, 2
mov rdx, qword [r15 + 0x18]
lea rcx, [rsp + 0x70]
call fcn.140038ef0
test al, al
je 0x14001edfa
mov edx, 0x2000
mov rcx, qword [r15 + 0x18]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [r13], 1
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14001ee2b
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14001ee21
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ee2b
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, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14001ee5a
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14001ee50
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14001ee5a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov al, 1
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret