Function at 0x14009d1b0
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, 0x1d0
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov r14, rcx
mov rbx, rdx
mov qword [rsp + 0x40], rdx
xorps xmm0, xmm0
movups xmmword [r11 - 0x80], xmm0
xor esi, esi
mov qword [r11 - 0x70], rsi
mov qword [r11 - 0x68], 7
mov word [r11 - 0x80], si
mov byte [r11 - 0x30], sil
lea rax, [r11 - 0x80]
mov qword [r11 - 0x28], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14024be88], eax
jle 0x14009d25c
lea rcx, [0x14024be88]
call fcn.140144780
cmp dword [0x14024be88], 0xffffffff
jne 0x14009d25c
call fcn.14014190c
mov qword [0x14024be90], rax
lea rcx, [0x14024be88]
call fcn.140144710
mov rax, qword [rbx + 0x10]
cmp rax, 4
jb 0x14009d54b
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14009d277
mov rcx, qword [rbx]
lea rdx, [rax - 4]
lea rdx, [rcx + rdx*2]
test rdx, rdx
je 0x14009d6b5
lea rax, str..sys
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], 4
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 4
movaps xmm0, xmmword [rsp + 0x190]
movdqa xmmword [rsp + 0x190], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm1
mov r9, qword [0x14024be90]
mov r8d, 4
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.140024e20
test eax, eax
jne 0x14009d54b
call fcn.140067fa0
test al, al
jne 0x14009d6d7
xorps xmm0, xmm0
movups xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], rsi
mov qword [rsp + 0x1a8], rsi
mov r8d, 3
lea rdx, [0x140206268]
lea rcx, [rsp + 0x190]
call fcn.140025740
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov r8d, 3
lea rdx, [0x140208828]
lea rcx, [rsp + 0x20]
call fcn.140025740
nop
lea rcx, [rsp + 0x48]
call fcn.14009c380
nop
lea r9, [rsp + 0x190]
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14009cc70
mov rdi, rax
lea rax, [rsp + 0x168]
cmp rax, rdi
je 0x14009d427
mov rdx, qword [rsp + 0x180]
cmp rdx, 7
jbe 0x14009d3e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x168]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009d3e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009d721
call fcn.140144330
mov qword [rsp + 0x178], rsi
mov qword [rsp + 0x180], 7
mov word [rsp + 0x168], si
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x168], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x178], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
lea rcx, [rsp + 0xa0]
call fcn.140025f00
nop
lea rcx, [rsp + 0x48]
call fcn.140025f00
nop
lea rcx, [rsp + 0x20]
call fcn.140025f00
nop
lea rcx, [rsp + 0x190]
call fcn.140025f00
mov sil, 1
movzx edi, sil
mov r15d, 0x80
test dil, dil
je 0x14009d4c3
lea rcx, [rsp + 0x168]
cmp qword [rsp + 0x180], 7
cmova rcx, qword [rsp + 0x168]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dil, 1
cmp eax, 0xffffffff
je 0x14009d4c3
and eax, 0x3126
cmove eax, r15d
lea rcx, [rsp + 0x168]
cmp qword [rsp + 0x180], 7
cmova rcx, qword [rsp + 0x168]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
sete dil
lea rdx, [rsp + 0x168]
cmp qword [rsp + 0x180], 7
cmova rdx, qword [rsp + 0x168]
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14009d4ea
mov rcx, qword [rbx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14009d587
lea rcx, [rsp + 0x168]
cmp qword [rsp + 0x180], 7
cmova rcx, qword [rsp + 0x168]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14009d54b
and eax, 0x3126
cmove eax, r15d
lea rcx, [rsp + 0x168]
cmp qword [rsp + 0x180], 7
cmova rcx, qword [rsp + 0x168]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rdi, [rsp + 0x168]
cmp qword [rsp + 0x178], 0
cmove rdi, rbx
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14009d56d
mov rcx, qword [rdi]
lea rdx, [rsp + 0x1b0]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14009d727
jmp 0x14009d5b6
add sil, 0xff
je 0x14009d757
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x14009d5a6
cmp eax, 0x20
mov ecx, socket
jne 0x14009d5ab
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14009d465
mov rcx, rsi
call fcn.140144de0
mov rbx, rax
mov qword [rsp + 0x190], rax
cmp qword [rdi + 0x18], 7
jbe 0x14009d5d3
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 0x14009d790
lea r9, [rsp + 0x1b4]
lea r8, [rsp + 0x160]
lea rdx, [0x140206058]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14009d7c0
mov rcx, qword [rsp + 0x160]
cmp dword [rcx], 0xfeef04bd
jne 0x14009d7f0
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.140144330
nop
cmp byte [rsp + 0x1b8], 0
jne 0x14009d67c
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x190], rax
lea rcx, [rsp + 0x190]
call fcn.14009df40
nop
lea rcx, [rsp + 0x168]
call fcn.140025f00
mov rax, r14
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.140144310
lea r11, [rsp + 0x1d0]
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 + 0x68]
call fcn.140015a10
lea rdx, [0x14023d838]
lea rcx, [rsp + 0x68]
call fcn.14015a550
lea rax, str.Cannot_query_a_.sys_file_version_from_PPL_process_
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], gethostname
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x80]
call fcn.14000b7e0
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x80]
call fcn.14015a550
nop
call fcn.140167900
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, [0x140211f58]
lea rcx, [rsp + 0xe0]
call fcn.140029f80
lea rdx, [0x14023da00]
lea rcx, [rsp + 0xe0]
call fcn.14015a550
lea rdx, str.Unable_to_make_a_.sys_copy
lea rcx, [rsp + 0x48]
call fcn.1400219a0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xc0]
call fcn.1400535d0
lea rdx, [0x14023da00]
lea rcx, [rsp + 0xc0]
call fcn.14015a550
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, [0x140211f40]
lea rcx, [rsp + 0x100]
call fcn.140029f80
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x100]
call fcn.14015a550
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, [0x140211f98]
lea rcx, [rsp + 0x120]
call fcn.140029f80
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x120]
call fcn.14015a550
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.VerQueryValueW_signature_is_invalid
lea rcx, [rsp + 0x140]
call fcn.140029f80
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x140]
call fcn.14015a550
int3