Function at 0x140028520
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov r15, rcx
lea rcx, [rbp + 0xf]
call fcn.140028980
nop
lea r8, str._version.dll
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.1400031a2
nop
cmp qword [rax + 0x18], 8
jb 0x140028587
mov rax, qword [rax]
mov r8d, 1
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.140002239
nop
mov r8, qword [rbp + 7]
cmp r8, 8
jb 0x1400285b4
inc r8
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x11]
call fcn.14000452a
mov qword [rbp + 7], 7
xor ebx, ebx
mov qword [rbp - 1], rbx
mov word [rbp - 0x11], bx
mov r8, qword [rbp + 0x27]
cmp r8, 8
jb 0x1400285e0
inc r8
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.14000452a
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], rbx
mov word [rbp + 0xf], bx
lea rdx, str.GetFileVersionInfoSizeW
mov rdi, qword [rbp - 0x41]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x14002862b
lea rdx, str.GetFileVersionInfoSizeW
lea rcx, str.GetProcAddress:__s_is_missing
call fcn.140001e10
lea rcx, str.GetFileVersionInfoSizeW_is_missing
call fcn.140001091
lea rdx, str.GetFileVersionInfoW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
jne 0x140028662
lea rdx, str.GetFileVersionInfoW
lea rcx, str.GetProcAddress:__s_is_missing
call fcn.140001e10
lea rcx, str.GetFileVersionInfoW_is_missing
call fcn.140001091
lea rdx, str.VerQueryValueW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
jne 0x140028699
lea rdx, str.VerQueryValueW
lea rcx, str.GetProcAddress:__s_is_missing
call fcn.140001e10
lea rcx, str.VerQueryValueW_is_missing
call fcn.140001091
cmp qword [rsi + 0x18], 8
jb 0x1400286a5
mov rcx, qword [rsi]
jmp 0x1400286a8
mov rcx, rsi
xor edx, edx
call rbx
mov r14d, eax
test eax, eax
jne 0x140028738
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14002871c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x714
je 0x14002871c
mov r8, rsi
lea rdx, str.GetFileVersionInfoSizeW_failed_on
lea rcx, [rbp - 0x31]
call fcn.14000148d
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400286ef
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140002f27
nop
mov r8, qword [rbp - 0x19]
cmp r8, 8
jb 0x140028738
inc r8
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x31]
call fcn.14000452a
jmp 0x140028738
lea rax, vtable.ModuleNotFound.0
mov qword [rbp - 0x49], rax
lea rdx, [0x1400a7c18]
lea rcx, [rbp - 0x49]
call fcn.140003760
int3
mov rcx, r14
call fcn.140002aa4
mov rbx, rax
mov qword [rbp - 0x49], rax
cmp qword [rsi + 0x18], 8
jb 0x140028753
mov rcx, qword [rsi]
jmp 0x140028756
mov rcx, rsi
mov r9, rbx
mov r8d, r14d
xor edx, edx
call r12
test eax, eax
jne 0x1400287b0
mov r8, rsi
lea rdx, str.GetFileVersionInfoW_failed_on
lea rcx, [rbp - 0x31]
call fcn.14000148d
mov r14, rax
cmp qword [rax + 0x18], 8
jb 0x140028785
mov r14, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, r14
call fcn.140002f27
nop
mov r8, qword [rbp - 0x19]
cmp r8, 8
jb 0x1400287b0
inc r8
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x31]
call fcn.14000452a
xor eax, eax
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x59], eax
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x51]
lea rdx, [0x14008b390]
mov rcx, rbx
call r13
test eax, eax
je 0x1400287e9
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x1400287e9
cmp dword [rbp - 0x59], 0x34
jne 0x1400287e9
cmp dword [rax], 0xfeef04bd
je 0x14002882e
mov r8, rsi
lea rdx, str.VerQueryValueW_failed_on
lea rcx, [rbp - 0x31]
call fcn.14000148d
nop
cmp qword [rax + 0x18], 8
jb 0x140028807
mov rax, qword [rax]
mov rcx, rax
call fcn.140001091
nop
mov r8, qword [rbp - 0x19]
cmp r8, 8
jb 0x14002882a
inc r8
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x31]
call fcn.14000452a
mov rax, qword [rbp - 0x51]
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r15 + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [r15 + 0x30], eax
test rbx, rbx
je 0x14002885c
mov rcx, rbx
call fcn.1400012cb
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, r15
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140003cb0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret