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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rax + 8], r12
mov qword [rax - 0x30], r13
xor r13d, r13d
mov qword [rax - 0x38], r15
mov r14d, r13d
mov r15, rcx
mov qword [rsp + 0x60], r13
xor ecx, ecx
mov qword [rsp + 0x68], r13
mov r12d, r13d
mov esi, r13d
mov edi, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140006be7
test al, 0x50
jne 0x140006be7
mov rax, qword [0x1400f9348]
test rax, rax
jne 0x14000675b
lea rcx, str.crypt32.dll
call fcn.140004de0
mov qword [0x1400f9348], rax
test rax, rax
je 0x1400068f8
cmp qword [0x1400f9580], rsi
jne 0x14000678b
lea rdx, str.CryptMsgClose
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f9580], rax
test rax, rax
je 0x1400068f8
mov rax, qword [0x1400f9348]
cmp qword [0x1400f9458], rsi
jne 0x1400067bb
lea rdx, str.CertCloseStore
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f9458], rax
test rax, rax
je 0x1400068f8
mov rax, qword [0x1400f9348]
cmp qword [0x1400f93b8], rsi
jne 0x1400067eb
lea rdx, str.CertFreeCertificateContext
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f93b8], rax
test rax, rax
je 0x1400068f8
mov rax, qword [0x1400f9348]
cmp qword [0x1400f9340], rsi
jne 0x14000681b
lea rdx, str.CertFindCertificateInStore
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f9340], rax
test rax, rax
je 0x1400068f8
mov rax, qword [0x1400f9348]
cmp qword [0x1400f9410], rsi
jne 0x14000684b
lea rdx, str.CryptMsgGetParam
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f9410], rax
test rax, rax
je 0x1400068f8
mov rax, qword [0x1400f9348]
cmp qword [0x1400f9440], rsi
jne 0x14000687b
lea rdx, str.CryptQueryObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f9440], rax
test rax, rax
je 0x1400068f8
mov rax, qword [0x1400f9348]
cmp qword [0x1400f93f0], rsi
jne 0x1400068a7
lea rdx, str.CertGetNameStringA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f93f0], rax
test rax, rax
je 0x1400068f8
mov rax, qword [0x1400f9348]
cmp qword [0x1400f9430], rsi
jne 0x1400068d3
lea rdx, str.CryptDecodeObjectEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f9430], rax
test rax, rax
je 0x1400068f8
mov rax, qword [0x1400f9348]
cmp qword [0x1400f93e8], rsi
jne 0x140006902
lea rdx, str.CertGetIssuerCertificateFromStore
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f93e8], rax
test rax, rax
jne 0x140006902
mov edi, 0x7e
jmp 0x140006bec
mov rbx, qword [0x1400f9440]
mov rcx, rbx
call qword [fcn.140007850]
mov qword [rsp + 0x50], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov r9d, 2
lea rax, [rsp + 0x60]
mov r8d, 0x400
mov qword [rsp + 0x40], rax
mov rdx, r15
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x38], rax
lea ecx, [r9 - 1]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call rbx
mov esi, eax
test eax, eax
jne 0x140006978
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140006bec
mov rbx, qword [0x1400f9410]
mov rcx, rbx
call qword [fcn.140007850]
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r9 + 6]
call rbx
mov esi, eax
test eax, eax
jne 0x1400069b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140006bec
mov edx, dword [rbp + 0x98]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
jne 0x1400069e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov esi, r13d
jmp 0x140006bec
mov rbx, qword [0x1400f9410]
mov rcx, rbx
call qword [fcn.140007850]
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 0x98]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov r9, r14
lea edx, [r8 + 6]
call rbx
mov esi, eax
test eax, eax
jne 0x140006a21
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140006bec
movups xmm0, xmmword [r14 + 8]
mov rbx, qword [0x1400f9340]
mov rcx, rbx
movaps xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [r14 + 0x18]
movups xmmword [rbp - 0x78], xmm0
call qword [fcn.140007850]
mov rcx, qword [rsp + 0x60]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], r13
mov r9d, 0xb0000
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x10001
call rbx
mov r12, rax
test rax, rax
jne 0x140006a7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov esi, r13d
jmp 0x140006bec
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140006c80
test eax, eax
jne 0x140006a96
xor eax, eax
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
mov rcx, r14
call fcn.140006d50
test eax, eax
jne 0x140006ada
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140007170
test eax, eax
jne 0x140006ada
mov esi, r13d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jne 0x140006bec
mov edi, 0x80096005
jmp 0x140006bec
call fcn.140007580
test eax, eax
jne 0x140006b00
mov rcx, r15
call fcn.140005210
test eax, eax
je 0x140006b00
call fcn.1400064d0
test eax, eax
jne 0x140006b00
lea esi, [rax + 1]
jmp 0x140006bec
mov rax, qword [0x1400f9370]
test rax, rax
jne 0x140006b24
lea rcx, str.wintrust.dll
call fcn.140004de0
mov qword [0x1400f9370], rax
test rax, rax
je 0x140006b49
cmp qword [0x1400f9350], rdi
jne 0x140006b56
lea rdx, str.WinVerifyTrust
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f9350], rax
test rax, rax
jne 0x140006b56
mov esi, r13d
mov edi, 0x7e
jmp 0x140006bec
mov esi, r13d
mov ebx, r13d
nop dword [rax]
mov rcx, r15
call fcn.1400053e0
test eax, eax
je 0x140006b77
inc ebx
mov edi, eax
cmp ebx, 1
jb 0x140006b60
jmp 0x140006b7c
mov esi, 1
cmp edi, 0x800b010a
jne 0x140006bec
mov rbx, qword [0x1400f93e8]
mov rcx, rbx
mov dword [rbp + 0xa0], r13d
call qword [fcn.140007850]
mov rcx, qword [rsp + 0x60]
lea r9, [rbp + 0xa0]
xor r8d, r8d
mov rdx, r12
call rbx
mov r15, rax
test rax, rax
je 0x140006bec
mov rcx, qword [rax + 0x18]
add rcx, 0x78
call fcn.1400054c0
test eax, eax
je 0x140006bd0
mov esi, 1
mov edi, r13d
mov rbx, qword [0x1400f93b8]
mov rcx, rbx
call qword [fcn.140007850]
mov rcx, r15
call rbx
jmp 0x140006bec
mov edi, 2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r15, qword [rsp + 0x150]
mov r13, qword [rsp + 0x158]
test r12, r12
je 0x140006c1f
mov rbx, qword [0x1400f93b8]
mov rcx, rbx
call qword [fcn.140007850]
mov rcx, r12
call rbx
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x190]
test r14, r14
je 0x140006c48
mov rbx, qword [0x1400f9458]
mov rcx, rbx
call qword [fcn.140007850]
xor edx, edx
mov rcx, r14
call rbx
mov r14, qword [rsp + 0x68]
test r14, r14
je 0x140006c67
mov rbx, qword [0x1400f9580]
mov rcx, rbx
call qword [fcn.140007850]
mov rcx, r14
call rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret