Function at 0x14008cac0
Capabilities:
Check if file exists
Copy file
Get file attributes
Get file version info
Set file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x200
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
mov r14, rcx
mov rbx, rdx
mov qword [rsp + 0x40], rdx
xorps xmm0, xmm0
movups xmmword [r11 - 0x78], xmm0
xor esi, esi
mov qword [r11 - 0x68], rsi
mov qword [r11 - 0x60], 7
mov word [r11 - 0x78], si
mov byte [r11 - 0x30], sil
lea rax, [r11 - 0x78]
mov qword [r11 - 0x28], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14021ccd8], eax
jle 0x14008cb6c
lea rcx, [0x14021ccd8]
call fcn.140133a50
cmp dword [0x14021ccd8], 0xffffffff
jne 0x14008cb6c
call fcn.140130b28
mov qword [0x14021cce0], rax
lea rcx, [0x14021ccd8]
call fcn.1401339e4
mov rax, qword [rbx + 0x10]
cmp rax, 4
jb 0x14008ce5b
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14008cb87
mov rcx, qword [rbx]
lea rdx, [rax - 4]
lea rdx, [rcx + rdx*2]
test rdx, rdx
je 0x14008cfc5
lea rax, str..sys
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], 4
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 4
movaps xmm0, xmmword [rsp + 0x1c0]
movdqa xmmword [rsp + 0x1c0], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm1
mov r9, qword [0x14021cce0]
mov r8d, 4
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x20]
call fcn.140024d40
test eax, eax
jne 0x14008ce5b
call fcn.140063540
test al, al
jne 0x14008cfe7
xorps xmm0, xmm0
movups xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1d8], rsi
mov r8d, 3
lea rdx, [0x1401dc648]
lea rcx, [rsp + 0x1c0]
call fcn.1400258d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov r8d, 3
lea rdx, [0x1401de838]
lea rcx, [rsp + 0x20]
call fcn.1400258d0
nop
lea rcx, [rsp + 0x60]
call fcn.14008bc40
nop
lea r9, [rsp + 0x1c0]
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.14008c580
mov rdi, rax
lea rax, [rsp + 0x1a0]
cmp rax, rdi
je 0x14008cd37
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 7
jbe 0x14008ccf5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ccf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d031
call fcn.140133620
mov qword [rsp + 0x1b0], rsi
mov qword [rsp + 0x1b8], 7
mov word [rsp + 0x1a0], si
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x1a0], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x1b0], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
lea rcx, [rsp + 0x88]
call fcn.140025e80
nop
lea rcx, [rsp + 0x60]
call fcn.140025e80
nop
lea rcx, [rsp + 0x20]
call fcn.140025e80
nop
lea rcx, [rsp + 0x1c0]
call fcn.140025e80
mov sil, 1
movzx edi, sil
mov r15d, 0x80
test dil, dil
je 0x14008cdd3
lea rcx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 7
cmova rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dil, 1
cmp eax, 0xffffffff
je 0x14008cdd3
and eax, 0x3126
cmove eax, r15d
lea rcx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 7
cmova rcx, qword [rsp + 0x1a0]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
sete dil
lea rdx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 7
cmova rdx, qword [rsp + 0x1a0]
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14008cdfa
mov rcx, qword [rbx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14008ce97
lea rcx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 7
cmova rcx, qword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14008ce5b
and eax, 0x3126
cmove eax, r15d
lea rcx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 7
cmova rcx, qword [rsp + 0x1a0]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rdi, [rsp + 0x1a0]
cmp qword [rsp + 0x1b0], 0
cmove rdi, rbx
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14008ce7d
mov rcx, qword [rdi]
lea rdx, [rsp + 0x1e0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14008d037
jmp 0x14008cec6
add sil, 0xff
je 0x14008d067
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x14008ceb6
cmp eax, 0x20
mov ecx, setsockopt
jne 0x14008cebb
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14008cd75
mov rcx, rsi
call fcn.140134098
mov rbx, rax
mov qword [rsp + 0x1c0], rax
cmp qword [rdi + 0x18], 7
jbe 0x14008cee3
mov rdi, qword [rdi]
mov r9, rbx
mov r8d, esi
xor edx, edx
mov rcx, rdi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14008d090
lea r9, [rsp + 0x1e4]
lea r8, [rsp + 0x198]
lea rdx, [0x1401dc438]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14008d0c0
mov rcx, qword [rsp + 0x198]
cmp dword [rcx], 0xfeef04bd
jne 0x14008d0f0
mov edx, dword [rcx + 0xc]
mov ecx, dword [rcx + 8]
mov eax, ecx
shr eax, 0x10
mov word [r14], ax
mov word [r14 + 2], cx
mov eax, edx
shr eax, 0x10
mov word [r14 + 4], ax
mov word [r14 + 6], dx
mov rcx, rbx
call fcn.140133620
nop
cmp byte [rsp + 0x1e8], 0
jne 0x14008cf8c
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x1c0], rax
lea rcx, [rsp + 0x1c0]
call fcn.14008d840
nop
lea rcx, [rsp + 0x1a0]
call fcn.140025e80
mov rax, r14
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.140133600
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rdx, str.nocase::compare_left_nullparam
lea rcx, [rsp + 0x48]
call fcn.140022f70
lea rdx, [0x14020e2a0]
lea rcx, [rsp + 0x48]
call fcn.140135f84
lea rax, str.Cannot_query_a_.sys_file_version_from_PPL_process_
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], getservbyname
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa8]
call fcn.14000b8b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0xa8]
call fcn.140135f84
nop
call fcn.140143340
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, [0x1401e72d8]
lea rcx, [rsp + 0xf8]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0xf8]
call fcn.140135f84
lea rdx, str.Unable_to_make_a_.sys_copy
lea rcx, [rsp + 0xd0]
call fcn.1400966e0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0xd0]
call fcn.140135f84
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, [0x1401e72c0]
lea rcx, [rsp + 0x120]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x120]
call fcn.140135f84
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, [0x1401e7318]
lea rcx, [rsp + 0x148]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x148]
call fcn.140135f84
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.VerQueryValueW_signature_is_invalid
lea rcx, [rsp + 0x170]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rsp + 0x170]
call fcn.140135f84
int3