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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1400cb008]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov qword [rbp - 0x39], rdx
xor dil, dil
cmp qword [rdx + 0x10], 0
je 0x14003e5f5
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], rax
mov r14d, 1
mov r8d, r14d
lea rdx, str.__:_a_zA_Z_:_________:____________:______
lea rcx, [rbp + 0xf]
call fcn.140030060
nop
cmp qword [rbx + 0x18], 8
jb 0x14003e39c
mov r8, qword [rbx]
mov rcx, qword [rbx + 0x10]
lea rdx, [r8 + rcx*2]
jmp 0x14003e3a7
mov rax, qword [rbx + 0x10]
lea rdx, [rbx + rax*2]
mov r8, rbx
mov dword [rsp + 0x20], 0x10
lea r9, [rbp + 0xf]
mov rcx, r8
call fcn.140031fc0
test al, al
je 0x14003e5d4
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.1400122b0
nop
lea rsi, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rsi, qword [rbp - 0x11]
mov rax, qword [rbp - 1]
lea rdx, [rsi + rax*2]
mov rcx, rsi
call fcn.14003c7f0
mov r11, rax
cmp rax, rdx
je 0x14003e43b
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14003e412
cmp cx, 0x2f
je 0x14003e412
mov rdx, r8
cmp r11, r8
jmp 0x14003e3f4
cmp r11, rdx
je 0x14003e43b
nop word [rax + rax]
lea rcx, [rdx - 2]
movzx eax, word [rcx]
cmp ax, 0x5c
je 0x14003e433
cmp ax, 0x2f
jne 0x14003e43b
mov rdx, rcx
cmp r11, rcx
jne 0x14003e420
mov qword [rbp - 0x59], rsi
sub rdx, rsi
sar rdx, 1
mov qword [rbp - 0x51], rdx
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.1400128d0
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003e484
bt eax, 0xa
movzx edi, dil
cmovb edi, r14d
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14003e4c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e4c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e4c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400624a0
movdqa xmm0, xmmword [0x1400ab040]
movdqu xmmword [rbp - 0x21], xmm0
xor esi, esi
mov word [rbp - 0x31], si
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14003e51d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e518
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400624a0
movdqa xmm0, xmmword [0x1400ab040]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], si
lea rcx, [rbp + 0xf]
call fcn.140030510
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x14003e55b
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14003e55b
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, r14d
mov rcx, rax
call r8
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14003e596
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14003e591
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003e5cd
mov rcx, r8
call fcn.1400624a0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
movzx eax, dil
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140062480
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.CapDataStore::isNTFSJunction___path_to_file_must_be_valid.
lea rcx, [rbp - 0x59]
call fcn.140006620
lea rdx, [0x1400c1310]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.CapDataStore::isNTFSJunction___path_to_file_cant_be_empty.
lea rcx, [rbp - 0x59]
call fcn.140006620
lea rdx, [0x1400c1310]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
int3