Function at 0x140003290
Capabilities:
Check if file exists
Get file attributes
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14001e008]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor r13d, r13d
mov r15, rcx
xor ecx, ecx
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov r14d, r13d
mov r12d, r13d
mov esi, r13d
mov ebx, r13d
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000376f
test al, 0x50
jne 0x14000376f
mov rax, qword [0x14001ed28]
test rax, rax
jne 0x140003323
lea rcx, str.crypt32.dll
call fcn.140001af0
mov qword [0x14001ed28], rax
test rax, rax
je 0x1400034c0
cmp qword [0x14001f370], rbx
jne 0x140003353
lea rdx, str.CryptMsgClose
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f370], rax
test rax, rax
je 0x1400034c0
mov rax, qword [0x14001ed28]
cmp qword [0x14001f248], rbx
jne 0x140003383
lea rdx, str.CertCloseStore
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f248], rax
test rax, rax
je 0x1400034c0
mov rax, qword [0x14001ed28]
cmp qword [0x14001ed90], rbx
jne 0x1400033b3
lea rdx, str.CertFreeCertificateContext
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001ed90], rax
test rax, rax
je 0x1400034c0
mov rax, qword [0x14001ed28]
cmp qword [0x14001ed20], rbx
jne 0x1400033e3
lea rdx, str.CertFindCertificateInStore
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001ed20], rax
test rax, rax
je 0x1400034c0
mov rax, qword [0x14001ed28]
cmp qword [0x14001f200], rbx
jne 0x140003413
lea rdx, str.CryptMsgGetParam
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f200], rax
test rax, rax
je 0x1400034c0
mov rax, qword [0x14001ed28]
cmp qword [0x14001f230], rbx
jne 0x140003443
lea rdx, str.CryptQueryObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f230], rax
test rax, rax
je 0x1400034c0
mov rax, qword [0x14001ed28]
cmp qword [0x14001efd0], rbx
jne 0x14000346f
lea rdx, str.CertGetNameStringA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001efd0], rax
test rax, rax
je 0x1400034c0
mov rax, qword [0x14001ed28]
cmp qword [0x14001f220], rbx
jne 0x14000349b
lea rdx, str.CryptDecodeObjectEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f220], rax
test rax, rax
je 0x1400034c0
mov rax, qword [0x14001ed28]
cmp qword [0x14001edb8], rbx
jne 0x1400034ca
lea rdx, str.CertGetIssuerCertificateFromStore
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001edb8], rax
test rax, rax
jne 0x1400034ca
mov ebx, 0x7e
jmp 0x140003774
mov qword [rsp + 0x50], r13
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov r9d, 2
lea rax, [rsp + 0x68]
mov r8d, 0x400
mov qword [rsp + 0x40], rax
mov rdx, r15
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
lea ecx, [r9 - 1]
lea rax, [rbp - 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call qword [0x14001f230]
mov esi, eax
test eax, eax
jne 0x14000352f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140003774
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r9 + 6]
call qword [0x14001f200]
mov esi, eax
test eax, eax
jne 0x140003561
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140003774
mov edx, dword [rsp + 0x60]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
jne 0x140003588
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov esi, r13d
jmp 0x140003774
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov r9, r14
lea edx, [r8 + 6]
call qword [0x14001f200]
mov esi, eax
test eax, eax
jne 0x1400035ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140003774
movups xmm0, xmmword [r14 + 8]
mov rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], r13
mov r9d, 0xb0000
movaps xmmword [rbp - 0x30], xmm0
xor r8d, r8d
movups xmm0, xmmword [r14 + 0x18]
mov edx, 0x10001
mov qword [rsp + 0x20], rax
movups xmmword [rbp - 0x58], xmm0
call qword [0x14001ed20]
mov r12, rax
test rax, rax
jne 0x14000360b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov esi, r13d
jmp 0x140003774
test rdi, rdi
je 0x14000362a
mov rcx, r12
call fcn.140003950
mov dword [rdi], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x140003774
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140003bb0
test eax, eax
jne 0x140003640
xor eax, eax
mov qword [rbp - 0x80], rax
mov rdx, qword [rsp + 0x68]
lea r8, [rbp - 0x80]
mov rcx, r14
call fcn.140003c80
test eax, eax
jne 0x140003682
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140004070
test eax, eax
jne 0x140003682
mov esi, r13d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x140003774
mov ebx, 0x80096005
jmp 0x140003774
call fcn.140004430
test eax, eax
jne 0x1400036ab
mov rcx, r15
call fcn.140001e60
test eax, eax
je 0x1400036ab
call fcn.1400030e0
test eax, eax
jne 0x1400036ab
lea esi, [rax + 1]
mov ebx, r13d
jmp 0x140003774
mov rax, qword [0x14001ed50]
test rax, rax
jne 0x1400036cf
lea rcx, str.wintrust.dll
call fcn.140001af0
mov qword [0x14001ed50], rax
test rax, rax
je 0x1400036f4
cmp qword [0x14001ed30], r13
jne 0x1400036fe
lea rdx, str.WinVerifyTrust
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001ed30], rax
test rax, rax
jne 0x1400036fe
mov esi, r13d
mov ebx, 0x7e
jmp 0x140003774
mov esi, r13d
mov edi, r13d
mov rcx, r15
call fcn.140002010
test eax, eax
je 0x14000371b
inc edi
mov ebx, eax
cmp edi, 1
jb 0x140003704
jmp 0x140003720
mov esi, 1
cmp ebx, 0x800b010a
jne 0x140003774
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov dword [rsp + 0x78], r13d
mov rdx, r12
call qword [0x14001edb8]
mov rdi, rax
test rax, rax
je 0x140003774
mov rcx, qword [rax + 0x18]
add rcx, 0x78
call fcn.1400020d0
test eax, eax
je 0x140003764
mov esi, 1
mov ebx, r13d
mov rcx, rdi
call qword [0x14001ed90]
jmp 0x140003774
mov ebx, 2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r12, r12
je 0x14000378b
mov rcx, r12
call qword [0x14001ed90]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000379d
xor edx, edx
call qword [0x14001f248]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400037ad
call qword [0x14001f370]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400115c0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret