Function at 0x14001efa0
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14015b138]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
cmp qword [rcx + 0x18], 8
jb 0x14001efe8
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14001effa
xor al, al
jmp 0x14001f367
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001f007
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x140125218]
test rax, rax
cmovne rdx, rax
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x71], xmm0
mov word [rsp + 0x28], r14w
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14001f040
lea rcx, [rsp + 0x28]
call fcn.1400149d0
nop
mov dword [rsp + 0x20], 9
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x61]
mov rcx, rsi
call fcn.14001c9a0
nop
mov dword [rsp + 0x20], ntohl
cmp qword [rax + 0x18], 8
jb 0x14001f081
mov rax, qword [rax]
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r14w
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14001f093
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.1400149d0
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 8
jb 0x14001f0ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f0e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f391
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], r14w
mov rdx, qword [rbp - 0x69]
cmp rdx, 8
jb 0x14001f140
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f13b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f391
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x71], xmm0
mov word [rsp + 0x28], r14w
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001f160
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001f174
test al, 0x10
je 0x14001f174
mov dil, 1
jmp 0x14001f177
xor dil, dil
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.14001d3a0
test dil, dil
jne 0x14001f21c
test eax, eax
jne 0x14001f198
mov dil, 1
jmp 0x14001f327
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.14001c720
mov rcx, rax
call fcn.14001c930
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x14001f1ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f1e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f397
call fcn.1400cd424
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
cmp qword [rbx + 0x18], 8
jb 0x14001f205
mov rbx, qword [rbx]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne dil
jmp 0x14001f327
test eax, eax
jne 0x14001f228
mov dil, 1
jmp 0x14001f327
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14001f268
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001f263
test al, 0x10
je 0x14001f263
mov dil, 1
jmp 0x14001f287
xor dil, dil
jmp 0x14001f287
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
sete dil
lea rax, [rbp - 0x19]
mov qword [rbp + 0xf], rax
mov dword [rbp + 0x17], 1
lea rax, [0x14001ef80]
mov qword [rbp + 7], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0x2f], 0
xor edx, edx
xor ecx, ecx
call fcn.14001f9f0
mov rsi, rax
xor edx, edx
xor ecx, ecx
call fcn.14001f9f0
mov r14, rax
mov rcx, qword [rbp + 0x1f]
cmp rcx, rax
je 0x14001f2e9
cmp byte [rbp + 0x2f], 0
je 0x14001f2e5
test rcx, rcx
je 0x14001f2e5
mov r8, qword [rcx]
mov edx, 1
call qword [rreloc.WS2_32.dll_htonl + 8]
mov qword [rbp + 0x1f], r14
mov rcx, qword [rbp + 0x27]
cmp rcx, rsi
je 0x14001f30c
cmp byte [rbp + 0x2f], 0
je 0x14001f308
test rcx, rcx
je 0x14001f308
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rbp + 0x27], rsi
mov byte [rbp + 0x2f], 1
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.14001fc40
nop
lea rcx, [rbp + 7]
call fcn.14001f940
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x14001f363
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f35e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f38b
call fcn.1400cd424
movzx eax, dil
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400cd400
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
int3