Function at 0x1400548a0
Capabilities:
Get file attributes
Move file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x38], rdx
mov sil, 1
cmp qword [rdx + 0x18], 8
jb 0x1400548e7
mov rdx, qword [rdx]
xor r12d, r12d
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140018360
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov r9d, 0xffffffff
lea r8d, [r12 + 3]
lea rdx, [rbp - 0x30]
call fcn.1401ab2e4
lea r13d, [r12 + 1]
test eax, eax
jne 0x140054968
mov ecx, dword [rbp - 0x20]
bt ecx, 0xa
jae 0x14005495a
mov eax, dword [rbp - 0x1c]
cmp eax, 0xa000000c
jne 0x14005494c
lea ebx, [r12 + 4]
jmp 0x14005498d
cmp eax, 0xa0000003
jne 0x14005495a
mov ebx, 0xa
jmp 0x14005498d
movzx ebx, cl
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
jmp 0x14005498d
sub eax, 2
je 0x14005498a
sub eax, r13d
je 0x14005498a
sub eax, 0x32
je 0x14005498a
cmp eax, 0x46
je 0x14005498a
lea rcx, [rbp - 0x60]
call fcn.1400272a0
jmp 0x140054b79
mov ebx, r13d
lea rcx, [rbp - 0x60]
call fcn.1400272a0
cmp ebx, r13d
je 0x140054b79
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400549ac
mov rdx, qword [rdi]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140018360
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
call fcn.1401ab700
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.1400272a0
test bl, bl
jne 0x140054b79
xor sil, sil
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140054a00
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140054a16
mov rcx, qword [rdi]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140054a77
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140054a2f
mov rdx, qword [rdi]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140018360
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
call fcn.1401ab700
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.1400272a0
test bl, bl
je 0x140054a77
mov sil, 1
jmp 0x140054b79
mov rax, qword [r14]
cmp byte [rax], 0
je 0x140054b79
mov rax, qword [rdi + 0x10]
mov r11, rdi
cmp qword [rdi + 0x18], 8
jb 0x140054a94
mov r11, qword [rdi]
cmp rax, 0x14
jb 0x140054b56
add rax, 0xffffffffffffffed
lea rbx, [r11 + rax*2]
mov rax, r11
lea r15, [0x140236d20]
mov rcx, rbx
sub rcx, rax
sar rcx, 1
mov rdx, r12
je 0x140054ada
cmp word [rax], 0x41
je 0x140054ad7
cmp rcx, 1
je 0x140054ada
dec rcx
add rax, 2
cmp word [rax], 0x41
jne 0x140054ac4
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140054b56
mov r9d, 0x14
mov rcx, r15
movzx edx, word [rdx]
mov r8d, MsiGetPropertyW
cmp dx, r8w
jb 0x140054b22
mov r10, rax
sub r10, r15
cmp dx, r8w
ja 0x140054b22
cmp r9, 1
je 0x140054b28
dec r9
add rcx, 2
movzx edx, word [r10 + rcx]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x140054b04
add rax, 2
jmp 0x140054ab0
sub rax, r11
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140054b56
mov rax, qword [r14 + 8]
cmp dword [rax + 0xf70], 4
je 0x140054b56
call fcn.1401320a0
test al, al
jne 0x140054b56
mov rcx, rdi
call fcn.1400272a0
mov al, 1
jmp 0x140054b85
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140054b63
mov rcx, qword [rdi]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
movzx esi, sil
test eax, eax
cmovne esi, r13d
mov rcx, rdi
call fcn.1400272a0
movzx eax, sil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret