Function at 0x14003cb0c
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.14002def0
mov dword [rbp - 0x39], edi
mov qword [rbp - 0x31], rdi
lea rax, [rbp - 0x39]
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x21], ebx
mov eax, dword [rbp + 0x5f]
mov dword [rbp - 0x1d], eax
mov eax, dword [rbp + 0x67]
mov dword [rbp - 0x19], eax
lea rcx, [rbp - 0x39]
call fcn.140042540
or r12d, 0xffffffff
cmp r14d, r12d
je 0x14003cb8c
mov ecx, r14d
call fcn.14005a8c8
mov rcx, qword [rbp - 0x29]
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x29], rcx
mov dword [rbp - 0x61], edi
mov rdx, r15
lea rcx, [rbp - 0x59]
call fcn.140002cec
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 - 0x51]
test eax, eax
lea rdx, [rsi + 0x12]
je 0x14003cbc1
mov rdx, rsi
call fcn.140002cec
mov al, byte [rbp + 0x77]
mov byte [rbp - 0x49], al
mov rdx, qword [rbp + 0x6f]
mov qword [rbp - 0x41], rdx
mov ecx, dword [rbp - 0x61]
cmp ecx, 4
je 0x14003cd2d
sub ecx, 1
je 0x14003cbf4
cmp ecx, 1
mov rdx, rdi
jne 0x14003cbf4
mov rdx, 0xffffffff80000002
mov rbx, qword [rbp - 0x59]
test rdx, rdx
je 0x14003cc95
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.140042574
test eax, eax
js 0x14003ccdd
cmp dword [rbp - 0x21], edi
je 0x14003cc40
mov eax, dword [rbp + 7]
test eax, eax
je 0x14003cc40
cmp dword [rbp - 0x21], eax
jne 0x14003ccdd
cmp dword [rbp - 0x1d], edi
je 0x14003cc55
mov eax, dword [rbp + 0xb]
test eax, eax
je 0x14003cc55
cmp dword [rbp - 0x1d], eax
jne 0x14003ccdd
cmp dword [rbp - 0x19], edi
je 0x14003cc66
mov eax, dword [rbp + 0xf]
test eax, eax
je 0x14003cc66
cmp dword [rbp - 0x19], eax
jne 0x14003ccdd
mov rcx, qword [rbp - 0x29]
mov eax, dword [rcx]
mov rdx, qword [rbp - 1]
cmp eax, dword [rdx]
jne 0x14003ccdd
test eax, eax
je 0x14003cc8c
mov r8d, eax
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 8]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003ccdd
lea rcx, [rbp - 0x11]
call fcn.140042518
test rbx, rbx
je 0x14003ccb2
cmp word [rbx], di
je 0x14003ccb2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
je 0x14003ccc3
mov rdx, qword [rbp - 0x59]
mov rcx, qword [rbp + 0x7f]
call fcn.14005c7d4
test eax, eax
jns 0x14003cce8
lea rcx, [rbp - 0x61]
call fcn.14003c8cc
mov ecx, dword [rbp - 0x61]
cmp ecx, 4
je 0x14003cd2d
mov rdx, qword [rbp - 0x41]
jmp 0x14003cbe0
lea rcx, [rbp - 0x11]
call fcn.140042518
jmp 0x14003ccc3
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14003cd08
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14003cd28
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dil, 1
jmp 0x14003cd6f
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14003cd4d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14003cd6f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rbp - 0x39]
call fcn.140042518
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