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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xb0
mov rax, qword [0x1400922d0]
xor rax, rsp
mov qword [rbp + 7], rax
mov ebx, r9d
mov r14d, r8d
mov rsi, rdx
mov r15, rcx
mov r12, qword [rbp + 0x7f]
xor edi, edi
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x7d]
call fcn.14002e9d0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x49], edi
mov qword [rbp - 0x41], rdi
lea rax, [rbp - 0x49]
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], ebx
mov eax, dword [rbp - 0x7d]
mov dword [rbp - 0x2d], eax
mov eax, dword [rsp + 0x20]
mov dword [rbp - 0x29], eax
lea rcx, [rbp - 0x49]
call fcn.140044434
or r13d, 0xffffffff
cmp r14d, r13d
je 0x14003e5ff
mov ecx, r14d
call fcn.14005d154
mov rcx, qword [rbp - 0x39]
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x39], rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x71], xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x71], edi
mov rdx, r15
lea rcx, [rbp - 0x69]
call fcn.140002f00
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 - 0x61]
test eax, eax
lea rdx, [rsi + 0x12]
je 0x14003e645
mov rdx, rsi
call fcn.140002f00
mov al, byte [rbp + 0x77]
mov byte [rbp - 0x59], al
mov rdx, qword [rbp + 0x6f]
mov qword [rbp - 0x51], rdx
mov ecx, dword [rbp - 0x71]
cmp ecx, 4
je 0x14003e7c7
sub ecx, 1
je 0x14003e678
cmp ecx, 1
mov rdx, rdi
jne 0x14003e678
mov rdx, 0xffffffff80000002
mov rbx, qword [rbp - 0x69]
test rdx, rdx
je 0x14003e72a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rax
mov dword [rbp - 0x21], edi
mov qword [rbp - 0x19], rdi
lea rax, [rbp - 0x21]
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rdi
mov dword [rbp - 1], edi
mov r8, rsi
lea rcx, [rbp - 0x21]
call fcn.140044468
test eax, eax
js 0x14003e771
cmp dword [rbp - 0x31], edi
je 0x14003e6d5
mov eax, dword [rbp - 9]
test eax, eax
je 0x14003e6d5
cmp dword [rbp - 0x31], eax
jne 0x14003e771
cmp dword [rbp - 0x2d], edi
je 0x14003e6ea
mov eax, dword [rbp - 5]
test eax, eax
je 0x14003e6ea
cmp dword [rbp - 0x2d], eax
jne 0x14003e771
cmp dword [rbp - 0x29], edi
je 0x14003e6fb
mov eax, dword [rbp - 1]
test eax, eax
je 0x14003e6fb
cmp dword [rbp - 0x29], eax
jne 0x14003e771
mov rcx, qword [rbp - 0x39]
mov eax, dword [rcx]
mov rdx, qword [rbp - 0x11]
cmp eax, dword [rdx]
jne 0x14003e771
test eax, eax
je 0x14003e721
mov r8d, eax
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 8]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003e771
lea rcx, [rbp - 0x21]
call fcn.14004440c
test rbx, rbx
je 0x14003e747
cmp word [rbx], di
je 0x14003e747
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
je 0x14003e757
mov rdx, qword [rbp - 0x69]
mov rcx, r12
call fcn.14005f380
test eax, eax
jns 0x14003e77c
lea rcx, [rbp - 0x71]
call fcn.14003e304
mov ecx, dword [rbp - 0x71]
cmp ecx, 4
je 0x14003e7c7
mov rdx, qword [rbp - 0x51]
jmp 0x14003e664
lea rcx, [rbp - 0x21]
call fcn.14004440c
jmp 0x14003e757
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14003e79f
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14003e7c2
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dil, 1
jmp 0x14003e80f
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14003e7ea
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14003e80f
lfence
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rbp - 0x49]
call fcn.14004440c
mov al, dil
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140001020
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret