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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov ebx, r9d
mov r14d, r8d
mov rsi, rdx
mov r15, rcx
xor edi, edi
lea rdx, [rbp + 0x67]
lea rcx, [rbp + 0x5f]
call fcn.14001e6bc
mov dword [rbp - 0x61], edi
mov qword [rbp - 0x59], rdi
lea rax, [rbp - 0x61]
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x49], ebx
mov eax, dword [rbp + 0x5f]
mov dword [rbp - 0x45], eax
mov eax, dword [rbp + 0x67]
mov dword [rbp - 0x41], eax
lea rcx, [rbp - 0x61]
call fcn.140029ba0
or r12d, 0xffffffff
cmp r14d, r12d
je 0x14001f78c
mov ecx, r14d
call fcn.140057938
mov rcx, qword [rbp - 0x51]
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x51], rcx
mov dword [rbp - 0x39], edi
mov rdx, r15
lea rcx, [rbp - 0x31]
call fcn.140009580
nop
mov r8d, 9
lea rdx, str.Software_
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
lea rcx, [rbp - 0x29]
test eax, eax
lea rdx, [rsi + 0x12]
je 0x14001f7c1
mov rdx, rsi
call fcn.140009580
mov al, byte [rbp + 0x77]
mov byte [rbp - 0x21], al
mov rdx, qword [rbp + 0x6f]
mov qword [rbp - 0x19], rdx
mov ecx, dword [rbp - 0x39]
cmp ecx, 4
je 0x14001f92c
sub ecx, 1
je 0x14001f7f4
cmp ecx, 1
mov rdx, rdi
jne 0x14001f7f4
mov rdx, 0xffffffff80000002
test rdx, rdx
je 0x14001f891
mov dword [rbp - 0x11], edi
mov qword [rbp - 9], rdi
lea rax, [rbp - 0x11]
mov qword [rbp - 1], rax
mov qword [rbp + 7], rdi
mov dword [rbp + 0xf], edi
mov r8, rsi
lea rcx, [rbp - 0x11]
call fcn.140029bd4
test eax, eax
js 0x14001f8dc
cmp dword [rbp - 0x49], edi
je 0x14001f83c
mov eax, dword [rbp + 7]
test eax, eax
je 0x14001f83c
cmp dword [rbp - 0x49], eax
jne 0x14001f8dc
cmp dword [rbp - 0x45], edi
je 0x14001f851
mov eax, dword [rbp + 0xb]
test eax, eax
je 0x14001f851
cmp dword [rbp - 0x45], eax
jne 0x14001f8dc
cmp dword [rbp - 0x41], edi
je 0x14001f862
mov eax, dword [rbp + 0xf]
test eax, eax
je 0x14001f862
cmp dword [rbp - 0x41], eax
jne 0x14001f8dc
mov rcx, qword [rbp - 0x51]
mov eax, dword [rcx]
mov rdx, qword [rbp - 1]
cmp eax, dword [rdx]
jne 0x14001f8dc
test eax, eax
je 0x14001f888
mov r8d, eax
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 8]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001f8dc
lea rcx, [rbp - 0x11]
call fcn.140029b78
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x14001f8b2
cmp word [rbx], di
je 0x14001f8b2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
je 0x14001f8c2
mov rdx, rbx
mov rcx, qword [rbp + 0x7f]
call fcn.14005bd78
test eax, eax
jns 0x14001f8e7
lea rcx, [rbp - 0x39]
call fcn.14001f4cc
mov ecx, dword [rbp - 0x39]
cmp ecx, 4
je 0x14001f92c
mov rdx, qword [rbp - 0x19]
jmp 0x14001f7e0
lea rcx, [rbp - 0x11]
call fcn.140029b78
jmp 0x14001f8c2
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14001f907
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14001f927
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dil, 1
jmp 0x14001f96e
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14001f94c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14001f96e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rbp - 0x61]
call fcn.140029b78
mov al, dil
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret