Function at 0x140001c78
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 - 0x100]
sub rsp, 0x200
mov rax, qword [0x140074020]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor ebx, ebx
mov r13, rcx
xor ecx, ecx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov r14d, ebx
mov r15d, ebx
mov esi, ebx
mov edi, ebx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140002196
test al, 0x50
jne 0x140002196
cmp qword [0x14007a750], rbx
jne 0x140001e02
xor edx, edx
lea rcx, [0x1400605b0]
call fcn.1400012a4
mov qword [0x14007a750], rax
test rax, rax
je 0x140001e02
lea rdx, str.CryptMsgClose
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14007a750]
lea rdx, str.CertCloseStore
mov qword [0x14007a968], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14007a750]
lea rdx, str.CertFreeCertificateContext
mov qword [0x14007a960], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14007a750]
lea rdx, str.CertFindCertificateInStore
mov qword [0x14007a7a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14007a750]
lea rdx, str.CryptMsgGetParam
mov qword [0x14007a748], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14007a750]
lea rdx, str.CryptQueryObject
mov qword [0x14007a800], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14007a750]
lea rdx, str.CertGetNameStringA
mov qword [0x14007a828], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14007a750]
lea rdx, str.CryptDecodeObjectEx
mov qword [0x14007a7d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14007a750]
lea rdx, str.CertGetIssuerCertificateFromStore
mov qword [0x14007a818], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14007a7c8], rax
jmp 0x140001e09
mov rax, qword [0x14007a7c8]
cmp qword [0x14007a968], rbx
je 0x140002059
cmp qword [0x14007a960], rbx
je 0x140002059
cmp qword [0x14007a7a8], rbx
je 0x140002059
cmp qword [0x14007a748], rbx
je 0x140002059
cmp qword [0x14007a800], rbx
je 0x140002059
mov rbx, qword [0x14007a828]
test rbx, rbx
je 0x140002059
cmp qword [0x14007a7d0], rsi
je 0x140002059
cmp qword [0x14007a818], rsi
je 0x140002059
test rax, rax
je 0x140002059
mov rcx, rbx
call qword [fcn.1400048e0]
and qword [rsp + 0x50], rsi
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, r13
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x38], rax
lea ecx, [r9 - 1]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], esi
call rbx
mov esi, eax
test eax, eax
jne 0x140001ee7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000219b
mov rbx, qword [0x14007a800]
mov rcx, rbx
call qword [fcn.1400048e0]
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 rbx
mov esi, eax
test eax, eax
je 0x140001eda
mov edx, dword [rsp + 0x60]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
jne 0x140001f3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
xor esi, esi
jmp 0x14000219b
mov rbx, qword [0x14007a800]
mov rcx, rbx
call qword [fcn.1400048e0]
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 rbx
mov esi, eax
test eax, eax
je 0x140001eda
movups xmm0, xmmword [r14 + 8]
mov rbx, qword [0x14007a748]
mov rcx, rbx
movdqu xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [r14 + 0x18]
movdqu xmmword [rbp + 0x18], xmm1
call qword [fcn.1400048e0]
and qword [rsp + 0x28], rdi
lea rax, [rbp + 0x10]
mov rcx, qword [rsp + 0x68]
mov r9d, 0xb0000
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x10001
call rbx
mov r15, rax
test rax, rax
je 0x140001f2f
test r12, r12
je 0x140001fe7
mov rcx, rax
call fcn.140002234
mov dword [r12], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jne 0x14000219b
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.140002430
test eax, eax
jne 0x14000200b
mov rcx, r14
call fcn.140002588
test eax, eax
jne 0x14000200b
xor esi, esi
jmp 0x140001eda
cmp qword [0x14007a778], 0
jne 0x14000204b
xor edx, edx
lea rcx, str.wintrust.dll
call fcn.1400012a4
mov qword [0x14007a778], rax
test rax, rax
je 0x14000204b
lea rdx, str.WinVerifyTrust
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x14007a758], rax
jmp 0x140002052
mov rbx, qword [0x14007a758]
xor esi, esi
test rbx, rbx
jne 0x140002063
mov edi, 0x7e
jmp 0x14000219b
xor r12d, r12d
xor edx, edx
mov dword [rbp + 0xe0], 0xaac56b
lea rcx, [rbp - 0x78]
mov dword [rbp + 0xe4], 0x11d0cd44
mov dword [rbp + 0xe8], 0xc000c28c
mov dword [rbp + 0xec], 0xee95c24f
lea r8d, [rdx + 0x20]
call fcn.14002c580
xor edx, edx
mov dword [rbp - 0x78], 0x20
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x70], r13
lea r8d, [rdx + 0x58]
call fcn.14002c580
and dword [rbp - 0x20], esi
mov eax, 1
bts dword [rbp - 8], 0xc
mov rcx, rbx
mov dword [rbp - 0x34], eax
mov dword [rbp - 0x30], eax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x50], 0x58
mov dword [rbp - 0x38], 2
call qword [fcn.1400048e0]
lea r8, [rbp - 0x50]
or rcx, 0xffffffffffffffff
lea rdx, [rbp + 0xe0]
call rbx
test eax, eax
je 0x14000211e
mov edi, eax
mov eax, 1
add r12d, eax
cmp r12d, eax
jae 0x140002119
mov rbx, qword [0x14007a758]
jmp 0x140002066
mov r12d, eax
jmp 0x140002127
mov r12d, 1
mov esi, r12d
cmp edi, 0x800b010a
jne 0x14000219b
mov rbx, qword [0x14007a7c8]
and dword [rsp + 0x78], 0
mov rcx, rbx
call qword [fcn.1400048e0]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, r15
call rbx
mov r13, rax
test rax, rax
je 0x14000219b
mov rcx, qword [rax + 0x18]
add rcx, 0x78
call fcn.140001a1c
mov rbx, qword [0x14007a7a8]
test eax, eax
mov rcx, rbx
mov edi, eax
cmovne esi, r12d
call qword [fcn.1400048e0]
mov rcx, r13
call rbx
neg edi
sbb edi, edi
not edi
and edi, 0x800b010a
jmp 0x14000219b
mov edi, 2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r15, r15
je 0x1400021be
mov rbx, qword [0x14007a7a8]
mov rcx, rbx
call qword [fcn.1400048e0]
mov rcx, r15
call rbx
mov r14, qword [rsp + 0x68]
test r14, r14
je 0x1400021df
mov rbx, qword [0x14007a960]
mov rcx, rbx
call qword [fcn.1400048e0]
xor edx, edx
mov rcx, r14
call rbx
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x1400021fe
mov rbx, qword [0x14007a968]
mov rcx, rbx
call qword [fcn.1400048e0]
mov rcx, r14
call rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140027920
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret