Function at 0x14007f050
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 [0x1400f7060]
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 fcn.14009ba90
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 0x14007f11d
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 0x14007f0f0
mov r8, rsi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.1400043e0
mov dword [r14], r15d
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
jmp 0x14007f4df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rsi, 0xffffffffffffffff
test r15d, r15d
je 0x14007f228
cmp eax, 8
jne 0x14007f4bc
mov eax, 2
mul r15
cmovo rax, rsi
lea rdx, [0x1400ce826]
mov rcx, rax
call fcn.14005c360
mov rdi, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x14007f199
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 0x14007f4e9
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 0x14007f20e
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 0x14007f1d0
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.1400043e0
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.14005be00
jmp 0x14007f4e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, rdi
call fcn.14005be00
test r13d, r13d
jne 0x14007f4bc
test r12d, r12d
je 0x14007f4bc
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.1400043e0
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, [0x1400ce826]
mov ecx, ebx
call fcn.14005c360
mov r13, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14007f44c
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.14009ba90
mov r9d, ebx
mov r8, r13
mov edx, 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
jne 0x14007f362
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14007f2e4
mov rcx, r13
call fcn.14005be00
mov eax, 0xfffe
cmp ebx, eax
jb 0x14007f270
jmp 0x14007f3dd
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.14005be00
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14007f4e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f358
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f516
call fcn.14005be00
jmp 0x14007f4e9
lea r9, [r13 + 4]
nop word [rax + rax]
inc rsi
cmp word [r9 + rsi*2], 0
jne 0x14007f370
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14007f3bf
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 fcn.14009b3c0
mov word [rbx + rdi*2], r15w
jmp 0x14007f3d5
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1400052d0
nop
mov rcx, r13
call fcn.14005be00
cmp qword [rsp + 0x68], 7
jbe 0x14007f436
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 0x14007f436
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 0x14007f317
mov dword [r14], r15d
lea rcx, [r14 + 8]
lea rdx, [rsp + 0x58]
call fcn.1400130f0
jmp 0x14007f317
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 0x14007f4e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f358
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f516
jmp 0x14007f358
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.14005bde0
mov rbx, qword [rsp + 0x270]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a8018
int3