Function at 0x1400b0b50
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 [0x14029e8b8]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov r14, rcx
test rcx, rcx
je 0x1400b0e63
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b0e63
xor edi, edi
cmp dword [0x14029e470], edi
je 0x1400b0c60
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 0x1400b0c2e
lea rdx, str.RtlGetNtVersionNumbers
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b0c1e
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 0x1400b0c33
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400b0c33
mov ebx, 1
test r15d, r15d
je 0x1400b0c58
mov eax, dword [rsp + 0xc8]
cmp eax, 6
jne 0x1400b0c50
cmp dword [rsp + 0xcc], 2
jae 0x1400b0c52
cmp eax, eax
jbe 0x1400b0c58
mov dword [0x1402b8118], ebx
mov dword [0x14029e470], edi
jmp 0x1400b0c65
mov ebx, 1
cmp dword [0x1402b8118], 0
jne 0x1400b0c75
mov eax, ebx
jmp 0x1400b0e65
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 0x1400b0d44
cmp eax, 0x800b0101
je 0x1400b0d44
xor eax, eax
jmp 0x1400b0e65
mov rcx, qword [rsp + 0x78]
call sub.WINTRUST.dll_WTHelperProvDataFromStateData
test rax, rax
je 0x1400b0e19
cmp dword [rax + 0x78], 0
jbe 0x1400b0e19
mov rax, qword [rax + 0x80]
test rax, rax
je 0x1400b0e19
mov rax, qword [rax + 0x38]
test rax, rax
je 0x1400b0e19
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1400b0e19
cmp dword [rax + 0xc], 0
jbe 0x1400b0e19
mov rax, qword [rcx]
test rax, rax
je 0x1400b0e19
cmp dword [rax + 0xc], 0
jbe 0x1400b0e19
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1400b0e19
mov rax, qword [rcx]
test rax, rax
je 0x1400b0e19
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x1400b0e19
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0xd0]
call fcn.1401afc90
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 0x1400b0e19
lea rcx, [rsp + 0xd0]
call fcn.1400b0e90
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.1401afc90
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 0x1400b0e5f
mov eax, edi
jmp 0x1400b0e65
xor eax, eax
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.140160a40
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret