Function at 0x14000e740
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov qword [rsp + 0xb8], 0xfffffffffffffffe
lea rcx, [rsp + 0x50]
call fcn.140074884
nop
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x38], 1
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.140018590
nop
lea rcx, [rsp + 0x20]
call fcn.140001cf0
nop
lea rcx, [rsp + 0x30]
call fcn.140001cf0
nop
lea rcx, [rsp + 0x28]
call fcn.140001cf0
nop
lea rdx, str.CopyWildcard:________________________________IN_n
mov ecx, 5
call fcn.14001c160
cmp qword [rsp + 0x140], 0
je 0x14000e7d8
cmp qword [rsp + 0x150], 0
jne 0x14000e7f6
lea rdx, str.CopyWildcard:_pSourcePath_or_pTargetPath_is_invalid._n
mov ecx, 2
call fcn.14001c160
mov dword [rsp + 0x38], 0
jmp 0x14000ec3d
lea rcx, [rsp + 0x40]
call fcn.14000e660
cmp qword [rsp + 0x148], 0
je 0x14000e81d
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x40]
call fcn.14000fd10
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140001da0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14007498c
test eax, eax
je 0x14000ec1f
mov r8, qword [rsp + 0x40]
lea rdx, str.CopyWildcard:_findfile__1_s___succeeded._n
mov ecx, 5
call fcn.14001c160
cmp dword [rsp + 0x48], 0
je 0x14000ec13
lea rcx, [rsp + 0x50]
call fcn.14007438c
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x50]
call fcn.140074830
test eax, eax
je 0x14000e880
jmp 0x14000e857
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x20]
call fcn.1400185f0
lea rcx, [rsp + 0x30]
call fcn.14000e660
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x30]
call fcn.1400185f0
lea rcx, [rsp + 0x30]
call fcn.14000e660
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.140074930
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140001dc0
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x20]
call fcn.140001dc0
mov ecx, dword [rsp + 0xd0]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xd4], eax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.140074930
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0xd4]
mov r8d, eax
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0xe0]
call fcn.140010240
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x28]
call fcn.140001d70
nop
lea rcx, [rsp + 0x98]
call fcn.140001d50
nop
lea rcx, [rsp + 0x88]
call fcn.140001d50
nop
lea rcx, [rsp + 0x90]
call fcn.140001d50
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14000fce0
lea rcx, [rsp + 0x20]
call fcn.14000e660
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14000fce0
lea rcx, [rsp + 0x30]
call fcn.14000e660
mov r8, qword [rsp + 0x20]
lea rdx, str.CopyWildcard:_SourceDir___1_s_._n
mov ecx, 5
call fcn.14001c160
mov r8, qword [rsp + 0x30]
lea rdx, str.CopyWildcard:_TargetDir___1_s_._n
mov ecx, 5
call fcn.14001c160
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140001da0
mov rcx, rax
call fcn.14000e4a0
mov ecx, dword [rsp + 0x38]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14000ea59
mov r8, qword [rsp + 0x30]
lea rdx, str.CopyWildcard:_CreateDirectoryRecursively____1_s___failed._n
mov ecx, 2
call fcn.14001c160
lea rcx, [rsp + 0x50]
call fcn.1400742b8
jmp 0x14000ec3d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.140074e88
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x20]
call fcn.140001d70
nop
lea rcx, [rsp + 0xa0]
call fcn.140001d50
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x50]
call fcn.140074f54
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.14000fce0
nop
lea rcx, [rsp + 0xa8]
call fcn.140001d50
mov r8, qword [rsp + 0x20]
lea rdx, str.CopyWildcard:_SourceFile___1_s_._n
mov ecx, 5
call fcn.14001c160
mov r8, qword [rsp + 0x30]
lea rdx, str.CopyWildcard:_TargetFile___1_s_._n
mov ecx, 5
call fcn.14001c160
lea rcx, [rsp + 0x50]
call fcn.14000fc60
test eax, eax
je 0x14000eb6e
lea rcx, [rsp + 0x30]
call fcn.14002fd40
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x20]
call fcn.14002fd40
mov rcx, qword [rsp + 0x118]
mov r8, rcx
lea rdx, [0x1401e1724]
mov rcx, rax
call fcn.14000e740
mov ecx, dword [rsp + 0x38]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
jmp 0x14000ec0e
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140001da0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000eba2
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140001da0
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140001da0
mov qword [rsp + 0x120], rax
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140001da0
xor r8d, r8d
mov rcx, qword [rsp + 0x120]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [rsp + 0x38]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14000ec0e
mov r8, qword [rsp + 0x30]
lea rdx, str.CopyWildcard:_CopyFile____1_s___failed._n
mov ecx, 2
call fcn.14001c160
lea rcx, [rsp + 0x50]
call fcn.1400742b8
jmp 0x14000ec3d
jmp 0x14000e857
lea rcx, [rsp + 0x50]
call fcn.1400742b8
jmp 0x14000ec3d
mov dword [rsp + 0x38], 0
mov r8, qword [rsp + 0x40]
lea rdx, str.CopyWildcard:_SearchFile____1_s___is_not_found._n
mov ecx, 2
call fcn.14001c160
lea rdx, str.CopyWildcard:________________________________OUT_n
mov ecx, 5
call fcn.14001c160
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0xb0], eax
lea rcx, [rsp + 0x28]
call fcn.140001d50
nop
lea rcx, [rsp + 0x30]
call fcn.140001d50
nop
lea rcx, [rsp + 0x20]
call fcn.140001d50
nop
lea rcx, [rsp + 0x40]
call fcn.140001d50
nop
lea rcx, [rsp + 0x50]
call fcn.1400748e4
mov eax, dword [rsp + 0xb0]
add rsp, 0x138
ret