Function at 0x14000ab70
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x3c0], rbx
mov rax, qword [0x140024018]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, rdx
mov r13, rcx
xor r15d, r15d
mov esi, r15d
xor eax, eax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
xorps xmm0, xmm0
movss dword [rsp + 0x70], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
call fcn.1400102e0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
movss xmm0, dword [0x14001cd28]
movss dword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x78]
call fcn.1400020d0
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x30], rax
lea r8, [rbp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.140001ef0
mov r12d, 7
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 8
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000b1a8
xor eax, eax
mov qword [rbp + 0x30], rax
mov word [rbp + 0x38], ax
mov edi, r15d
mov r14, 0xffffffffffffffff
nop
mov rax, r14
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000ac53
add rax, rdi
movzx ecx, word [rbx + rax*2 - 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [rbp + rdi*2 + 0x30], ax
inc rdi
cmp rdi, 4
jl 0x14000ac50
mov rcx, r15
lea rdx, [rbp + 0x30]
lea r8, str..dll
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14000b1a8
cmp rcx, 5
jne 0x14000ac90
mov dword [rbp + 0x30], 0xaac56b
mov dword [rbp + 0x34], 0x11d0cd44
mov dword [rbp + 0x38], 0xc000c28c
mov dword [rbp + 0x3c], 0xee95c24f
mov qword [rsp + 0x48], 0x20
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor edx, edx
lea r8d, [rcx + 0x53]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x50], rbx
mov dword [rbp - 0x40], 0x58
mov qword [rbp - 0x28], 2
mov dword [rbp - 0x20], 1
lea rax, [rsp + 0x48]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 1
mov dword [rbp + 8], 0x1000
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x30]
mov rcx, r14
call qword [sym.imp.WINTRUST.dll_WinVerifyTrust]
test eax, eax
je 0x14000ad46
mov edi, r15d
jmp 0x14000adde
mov rcx, qword [rbp - 8]
call qword [sym.imp.WINTRUST.dll_WTHelperProvDataFromStateData]
test rax, rax
jne 0x14000ad5d
mov edi, r15d
jmp 0x14000adde
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINTRUST.dll_WTHelperGetProvSignerFromChain]
test rax, rax
jne 0x14000ad78
mov edi, r15d
jmp 0x14000adde
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINTRUST.dll_WTHelperGetProvCertFromChain]
mov dword [rsp + 0x28], 0x100
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x20], rcx
lea r9, str.2.5.4.3
xor r8d, r8d
lea edx, [r8 + 3]
mov rcx, qword [rax + 8]
call qword [sym.imp.CRYPT32.dll_CertGetNameStringW]
lea rdx, str.ASUSTeK_Computer_Inc.
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000add9
lea rdx, str.ASUSTEK_COMPUTER_INCORPORATION
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
mov edi, r15d
jne 0x14000adde
mov edi, 1
mov dword [rbp - 0x10], 2
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.WINTRUST.dll_WinVerifyTrust]
test edi, edi
je 0x14000b1a8
mov edx, 0x5c
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
cmp rax, rbx
jbe 0x14000ae5c
sub rax, rbx
sar rax, 1
lea eax, [rax*2 + 2]
mov edi, eax
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x14000ae5c
mov r9d, edi
mov r8, rbx
mov edx, edi
mov rcx, rax
call fcn.140003690
shr rdi, 1
xor eax, eax
mov word [r15 + rdi*2 - 2], ax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AddDllDirectory]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x14000ae99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, str.Load__s_Failed:__d
lea edx, [rdi + 2]
mov rcx, r13
call fcn.14000a5c0
jmp 0x14000b1a8
lea rdx, str.QueryLibrary
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000b19e
mov ecx, 1
call rax
mov rsi, rax
test rax, rax
je 0x14000b19e
mov r8, qword [rax]
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [r8 + 0x18]
mov rcx, qword [rbp + 0x50]
cmp rcx, qword [0x14001a048]
jne 0x14000aef1
mov rcx, qword [rbp + 0x58]
cmp rcx, qword [0x14001a050]
je 0x14000b191
mov rax, qword [rsi]
mov r8, r13
lea rdx, [fcn.140008610]
mov rcx, rsi
call qword [rax + 0x68]
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov rax, qword [rsi]
lea rdx, [rbp + 0x40]
mov rcx, rsi
call qword [rax + 0x38]
lea rdx, [rbp + 0x50]
lea rcx, [r13 + 0x30]
call fcn.14000e4c0
test rax, rax
jne 0x14000b179
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x50]
mov rdx, rsi
mov rcx, r13
test eax, eax
jns 0x14000af64
mov dword [rsp + 0x20], eax
lea r9, str.Library_v_d._d._d._d_join_failed__error__0x_08X
mov r8d, 2
call fcn.140008610
jmp 0x14000b191
mov eax, dword [rbp + 0x4c]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x48]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x40]
mov dword [rsp + 0x20], eax
lea r9, str.Loaded_library_v_d._d._d._d_successfully_in_ush
mov r8d, 4
call fcn.140008610
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rsi
movdqa xmm0, xmmword [0x14001cd30]
movdqa xmmword [rbp - 0x20], xmm0
xor eax, eax
mov word [rbp - 0x30], ax
nop dword [rax]
inc r14
cmp word [rbx + r14*2], ax
jne 0x14000afb0
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1400039f0
xor r14d, r14d
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
mov qword [rbp], r14
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], r14
lea r8, [rbp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [r13 + 0x30]
call fcn.14000fde0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbp - 0x40]
mov qword [rbx + 0x20], rax
mov rax, qword [rbp - 0x38]
mov qword [rbx + 0x28], rax
lea rdi, [rbx + 0x30]
lea rax, [rbp - 0x30]
cmp rdi, rax
je 0x14000b03b
mov rcx, rdi
call fcn.140001e80
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rdi], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [rdi + 0x10], xmm1
xor edi, edi
mov word [rbp - 0x30], di
jmp 0x14000b041
mov r12, qword [rbp - 0x18]
xor edi, edi
mov qword [rbx + 0x50], r14
mov qword [rbx + 0x58], r14
mov qword [rbx + 0x60], r14
mov qword [rbx + 0x68], r14
mov qword [rbx + 0x70], r14
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x80], r14
cmp r12, 8
jb 0x14000b09f
lea rdx, [r12*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b09a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b09a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016704
mov rax, qword [rsi]
mov r8, r13
lea rdx, [0x140008630]
mov rcx, rsi
call qword [rax + 0x78]
mov rax, qword [rsi]
lea r8, [rsp + 0x40]
lea rdx, [0x14001c9d0]
mov rcx, rsi
call qword [rax]
test eax, eax
js 0x14000b13e
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8, r13
lea rdx, [0x140008750]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8, r13
lea rdx, [0x1400087b0]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8, r13
lea rdx, [0x1400087e0]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8, r13
lea rdx, [fcn.140008840]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8, r13
lea rdx, [0x140008850]
call qword [rax + 0x58]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rsi]
lea r8, [rbp + 0x30]
lea rdx, [0x14001c9c0]
mov rcx, rsi
call qword [rax]
test eax, eax
js 0x14000b1a8
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
lea rdx, [r13 + 8]
test r13, r13
cmove rdx, rdi
call qword [rax + 0xb8]
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000b1a8
lea r9, str.Load_repeated_library
mov r8d, 3
mov rdx, rsi
mov rcx, r13
call fcn.140008610
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
xor eax, eax
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x70]
call fcn.14000b1f0
mov rax, rsi
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400163f0
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x370
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret