Function at 0x100054e90
Capabilities:
Copy file
Set file attributes

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x28], 0
jne 0x100054ee8
mov dword [rsp + 0x2c], 0x10a
mov rcx, qword [rsp + 0x78]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x80]
call fcn.1000144b0
mov eax, dword [rsp + 0x2c]
jmp 0x10005513a
lea rcx, [rsp + 0x20]
call fcn.100014450
nop
mov rcx, qword [rsp + 0x78]
call fcn.100013fb0
movzx eax, al
test eax, eax
jne 0x100054f18
mov rcx, qword [rsp + 0x80]
call fcn.100013fb0
movzx eax, al
test eax, eax
je 0x100054f4c
mov dword [rsp + 0x30], 0x57
lea rcx, [rsp + 0x20]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x78]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x80]
call fcn.1000144b0
mov eax, dword [rsp + 0x30]
jmp 0x10005513a
mov rcx, qword [rsp + 0x78]
call fcn.1000488d0
movzx eax, al
test eax, eax
jne 0x100054f91
mov dword [rsp + 0x34], 2
lea rcx, [rsp + 0x20]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x78]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x80]
call fcn.1000144b0
mov eax, dword [rsp + 0x34]
jmp 0x10005513a
mov rax, qword [rsp + 0x70]
add rax, 0x10
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.100048450
lea rcx, [rsp + 0x20]
call fcn.100013bb0
mov rcx, rax
call fcn.100086a20
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x100055000
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x20]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x78]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x80]
call fcn.1000144b0
mov eax, dword [rsp + 0x38]
jmp 0x10005513a
lea rcx, [rsp + 0x20]
call fcn.100013bb0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x78]
call fcn.100013bb0
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10005510b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 5
jne 0x1000550da
lea rcx, [rsp + 0x20]
call fcn.100013bb0
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x20]
call fcn.100013bb0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x78]
call fcn.100013bb0
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10005509d
mov dword [rsp + 0x28], 0
jmp 0x1000550d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0x20]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x78]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x80]
call fcn.1000144b0
mov eax, dword [rsp + 0x3c]
jmp 0x10005513a
jmp 0x10005510b
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x20]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x78]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x80]
call fcn.1000144b0
mov eax, dword [rsp + 0x40]
jmp 0x10005513a
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x20]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x78]
call fcn.1000144b0
nop
mov rcx, qword [rsp + 0x80]
call fcn.1000144b0
mov eax, dword [rsp + 0x44]
add rsp, 0x68
ret