Function at 0x1800a13a0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x4e0
mov rax, qword [0x180168908]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov r14, rcx
test rcx, rcx
je 0x1800a16b3
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800a16b3
xor edi, edi
cmp dword [0x1801688d0], edi
je 0x1800a14b0
mov dword [rsp + 0xc8], edi
mov dword [rsp + 0xcc], edi
mov dword [rsp + 0xb0], edi
mov r15d, edi
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1800a147e
lea rdx, str.RtlGetNtVersionNumbers
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800a146e
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xcc]
lea rcx, [rsp + 0xc8]
call rax
movzx eax, word [rsp + 0xb0]
mov dword [rsp + 0xb0], eax
mov ebx, 1
mov r15d, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1800a1483
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1800a1483
mov ebx, 1
test r15d, r15d
je 0x1800a14a8
mov eax, dword [rsp + 0xc8]
cmp eax, 6
jne 0x1800a14a0
cmp dword [rsp + 0xcc], 2
jae 0x1800a14a2
cmp eax, eax
jbe 0x1800a14a8
mov dword [0x180179a30], ebx
mov dword [0x1801688d0], edi
jmp 0x1800a14b5
mov ebx, 1
cmp dword [0x180179a30], 0
jne 0x1800a14c5
mov eax, ebx
jmp 0x1800a16b5
mov qword [rsp + 0x90], 0x20
mov qword [rsp + 0x98], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0xb8], 0xaac56b
mov dword [rsp + 0xbc], 0x11d0cd44
mov dword [rsp + 0xc0], 0xc000c28c
mov dword [rsp + 0xc4], 0xee95c24f
mov qword [rsp + 0x40], 0x50
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x70], 1
mov eax, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rdi
or eax, 0x1080
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], edi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xb8]
xor ecx, ecx
call sub.WINTRUST.dll_WinVerifyTrust
test eax, eax
je 0x1800a1594
cmp eax, 0x800b0101
je 0x1800a1594
xor eax, eax
jmp 0x1800a16b5
mov rcx, qword [rsp + 0x78]
call sub.WINTRUST.dll_WTHelperProvDataFromStateData
test rax, rax
je 0x1800a1669
cmp dword [rax + 0x78], 0
jbe 0x1800a1669
mov rax, qword [rax + 0x80]
test rax, rax
je 0x1800a1669
mov rax, qword [rax + 0x38]
test rax, rax
je 0x1800a1669
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1800a1669
cmp dword [rax + 0xc], 0
jbe 0x1800a1669
mov rax, qword [rcx]
test rax, rax
je 0x1800a1669
cmp dword [rax + 0xc], 0
jbe 0x1800a1669
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1800a1669
mov rax, qword [rcx]
test rax, rax
je 0x1800a1669
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x1800a1669
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0xd0]
call fcn.1800d4600
mov dword [rsp + 0x28], 0x200
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CertGetNameStringW]
dec eax
cmp eax, 0x1fe
ja 0x1800a1669
lea rcx, [rsp + 0xd0]
call fcn.1800a16e0
test eax, eax
cmovne edi, ebx
mov dword [rsp + 0x30], edi
mov rbx, qword [rsp + 0x78]
xor edx, edx
lea r8d, [rdx + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1800d4600
mov dword [rsp + 0x40], 0x50
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x70], 2
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xb8]
xor ecx, ecx
call sub.WINTRUST.dll_WinVerifyTrust
jmp 0x1800a16af
mov eax, edi
jmp 0x1800a16b5
xor eax, eax
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1800a5130
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret