Function at 0x140044020
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 [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov qword [rbp - 0x39], rdx
xor esi, esi
xor dil, dil
cmp qword [rdx + 0x10], rsi
je 0x1400442e6
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.140035d50
nop
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14004409d
mov rcx, qword [rbx]
lea rdx, [rcx + rax*2]
jmp 0x1400440a4
lea rdx, [rbx + rax*2]
mov rcx, rbx
mov dword [rsp + 0x20], 0x10
lea r9, [rbp + 0xf]
call fcn.140037960
test al, al
je 0x1400442c5
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140013f00
nop
lea r11, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova r11, qword [rbp - 0x11]
mov rax, qword [rbp - 1]
lea rdx, [r11 + rax*2]
mov rcx, r11
call fcn.140042770
mov r10, rax
cmp rax, rdx
je 0x14004412e
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14004410e
cmp cx, 0x2f
je 0x14004410e
mov rdx, r8
cmp r10, r8
jne 0x1400440f0
jmp 0x14004412e
cmp r10, rdx
je 0x14004412e
lea rcx, [rdx - 2]
movzx eax, word [rcx]
cmp ax, 0x5c
je 0x140044126
cmp ax, 0x2f
jne 0x14004412e
mov rdx, rcx
cmp r10, rcx
jne 0x140044113
mov qword [rbp - 0x59], r11
sub rdx, r11
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.140014740
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 7
cmova rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140044177
bt eax, 0xa
movzx edi, dil
cmovb edi, r14d
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x1400441ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400441b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400441b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400688dc
movdqa xmm0, xmmword [0x1400b2980]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], si
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x14004420e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044209
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044209
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400688dc
movdqa xmm0, xmmword [0x1400b2980]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], si
lea rcx, [rbp + 0xf]
call fcn.140036210
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x14004424c
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14004424c
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, r14d
mov rcx, rax
call r8
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140044287
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140044282
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400442be
mov rcx, r8
call fcn.1400688dc
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.140068890
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.140007470
lea rdx, [0x1400c93e8]
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.140007470
lea rdx, [0x1400c93e8]
lea rcx, [rbp - 0x59]
call sub.VCRUNTIME140.dll__CxxThrowException
int3