Function at 0x14004b3b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140085010]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r13, rdx
mov qword [rsp + 0x50], rdx
mov r14, rcx
mov qword [rsp + 0x78], rcx
xor edx, edx
mov r8d, 0x190
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov ebx, 0xc8
mov r8d, ebx
lea rdx, [rbp - 0x80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleW]
mov r15d, eax
lea eax, [r15 - 1]
cmp eax, 0xc6
ja 0x14004b47d
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
lea rax, [rbp - 0x80]
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp word [rax + rsi*2], r15w
jne 0x14004b450
mov r8, rsi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14002e340
mov dword [r14], r15d
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
jmp 0x14004b845
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rsi, 0xffffffffffffffff
test r15d, r15d
je 0x14004b588
cmp eax, 8
jne 0x14004b822
mov eax, 2
mul r15
cmovo rax, rsi
lea rdx, [0x14006cc90]
mov rcx, rax
call fcn.14002fe10
mov rdi, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x14004b4f9
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov dword [r14], r12d
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r14 + 8], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [r14 + 0x18], xmm1
jmp 0x14004b84f
xor r9d, r9d
mov r8d, r15d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleW]
mov r13d, eax
lea ecx, [r15 - 1]
cmp eax, ecx
jne 0x14004b56e
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
nop dword [rax]
inc rsi
cmp word [rdi + rsi*2], r15w
jne 0x14004b530
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14002e340
mov dword [r14], r15d
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r14 + 8], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [r14 + 0x18], xmm1
mov rcx, rdi
call fcn.14002f890
jmp 0x14004b84f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, rdi
call fcn.14002f890
test r13d, r13d
jne 0x14004b822
test r12d, r12d
je 0x14004b822
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
lea r8d, [r15 + 7]
lea rdx, str._UNC
lea rcx, [rsp + 0x58]
call fcn.14002e340
nop
mov eax, 0xfffe
mov r12, qword [rsp + 0x50]
nop dword [rax]
add ebx, ebx
cmp ebx, eax
cmova ebx, eax
mov edi, ebx
lea rdx, [0x14006cc90]
mov ecx, ebx
call fcn.14002fe10
mov r13, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14004b7ac
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9d, ebx
mov r8, r13
mov edx, 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
jne 0x14004b6c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14004b644
mov rcx, r13
call fcn.14002f890
mov eax, 0xfffe
cmp ebx, eax
jb 0x14004b5d0
jmp 0x14004b73d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov dword [r14], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r14 + 8], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r14 + 0x18], xmm1
mov rcx, r13
call fcn.14002f890
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14004b84f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b6b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b81b
call fcn.14002f890
jmp 0x14004b84f
lea r9, [r13 + 4]
nop word [rax + rax]
inc rsi
cmp word [r9 + rsi*2], 0
jne 0x14004b6d0
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14004b71f
lea rdi, [rsi + rcx]
mov qword [rsp + 0x68], rdi
lea rbx, [rsp + 0x58]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x58]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r15w
jmp 0x14004b735
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.14002e7c0
nop
mov rcx, r13
call fcn.14002f890
cmp qword [rsp + 0x68], 7
jbe 0x14004b796
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14004b796
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov dword [r14], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r14 + 8], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r14 + 0x18], xmm1
jmp 0x14004b677
mov dword [r14], r15d
lea rcx, [r14 + 8]
lea rdx, [rsp + 0x58]
call fcn.14002e6b0
jmp 0x14004b677
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov dword [r14], 8
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r14 + 8], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r14 + 0x18], xmm1
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14004b84f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b6b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b6b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov dword [r14], r12d
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r14 + 8], xmm0
movups xmmword [r14 + 0x18], xmm1
mov rax, r14
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14002f870
mov rbx, qword [rsp + 0x270]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret