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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
lea rbp, [r11 - 0x238]
sub rsp, 0x320
mov rax, qword [0x140051020]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r13
mov esi, r12d
mov qword [r11 - 0x30], r14
mov r13, rcx
xor ecx, ecx
mov qword [r11 - 0x38], r15
mov r14, rdx
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov ebx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000db31
test al, 0x50
jne 0x14000db31
mov rax, qword [0x140053db0]
test rax, rax
jne 0x14000d23c
lea rcx, str.crypt32.dll
call fcn.14000b8a0
mov qword [0x140053db0], rax
test rax, rax
je 0x14000d3d9
cmp qword [0x140053b68], rbx
jne 0x14000d26c
lea rdx, str.CryptMsgClose
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053b68], rax
test rax, rax
je 0x14000d3d9
mov rax, qword [0x140053db0]
cmp qword [0x140053b70], rbx
jne 0x14000d29c
lea rdx, str.CertCloseStore
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053b70], rax
test rax, rax
je 0x14000d3d9
mov rax, qword [0x140053db0]
cmp qword [0x140053d38], rbx
jne 0x14000d2cc
lea rdx, str.CertFreeCertificateContext
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d38], rax
test rax, rax
je 0x14000d3d9
mov rax, qword [0x140053db0]
cmp qword [0x140053db8], rbx
jne 0x14000d2fc
lea rdx, str.CertFindCertificateInStore
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053db8], rax
test rax, rax
je 0x14000d3d9
mov rax, qword [0x140053db0]
cmp qword [0x140053cd8], rbx
jne 0x14000d32c
lea rdx, str.CryptMsgGetParam
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053cd8], rax
test rax, rax
je 0x14000d3d9
mov rax, qword [0x140053db0]
cmp qword [0x140053ca8], rbx
jne 0x14000d35c
lea rdx, str.CryptQueryObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053ca8], rax
test rax, rax
je 0x14000d3d9
mov rax, qword [0x140053db0]
cmp qword [0x140053d00], rbx
jne 0x14000d388
lea rdx, str.CertGetNameStringA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d00], rax
test rax, rax
je 0x14000d3d9
mov rax, qword [0x140053db0]
cmp qword [0x140053cb8], rbx
jne 0x14000d3b4
lea rdx, str.CryptDecodeObjectEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053cb8], rax
test rax, rax
je 0x14000d3d9
mov rax, qword [0x140053db0]
cmp qword [0x140053d08], rbx
jne 0x14000d3e3
lea rdx, str.CertGetIssuerCertificateFromStore
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d08], rax
test rax, rax
jne 0x14000d3e3
mov ebx, 0x7e
jmp 0x14000db36
mov qword [rsp + 0x50], r12
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, [rbp - 0x80]
mov qword [rsp + 0x38], rax
lea ecx, [r9 - 1]
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140053ca8]
mov dword [rsp + 0x20], r12d
call qword [0x14003a2f0]
mov esi, eax
test eax, eax
jne 0x14000d44f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14000db36
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x64]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov rax, qword [0x140053cd8]
xor r8d, r8d
lea edx, [r9 + 6]
call qword [0x14003a2f0]
mov esi, eax
test eax, eax
jne 0x14000d488
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14000db36
mov edx, dword [rsp + 0x64]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x14000d4b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, r12d
mov rcx, rdi
mov ebx, eax
jmp 0x14000db38
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x64]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [0x140053cd8]
mov r9, rdi
lea edx, [r8 + 6]
call qword [0x14003a2f0]
mov esi, eax
test eax, eax
jne 0x14000d4ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
jmp 0x14000db38
movups xmm0, xmmword [rdi + 8]
mov rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], r12
mov r9d, 0xb0000
movaps xmmword [rbp + 0x20], xmm0
xor r8d, r8d
movups xmm1, xmmword [rdi + 0x18]
mov qword [rsp + 0x20], rax
mov edx, 0x10001
mov rax, qword [0x140053db8]
movups xmmword [rbp - 8], xmm1
call qword [0x14003a2f0]
mov r15, rax
test rax, rax
jne 0x14000d547
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, r12d
mov rcx, rdi
mov ebx, eax
jmp 0x14000db38
test r14, r14
je 0x14000d5b4
xor r9d, r9d
mov dword [rsp + 0x28], 0x100
lea rax, [rbp + 0xf0]
mov byte [rbp + 0xf0], bl
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rax, qword [0x140053d00]
mov rcx, r15
lea edx, [r9 + 4]
call qword [0x14003a2f0]
mov r8d, 7
lea rdx, str.NVIDIA
lea rcx, [rbp + 0xf0]
call fcn.140022a54
mov ecx, r12d
test eax, eax
sete cl
mov dword [r14], ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14000db16
xor r14d, r14d
mov dword [rsp + 0x60], 8
mov r12d, ebx
mov ebx, r14d
cmp dword [rdi + 0x68], r14d
jbe 0x14000d647
nop dword [rax + rax]
mov rcx, qword [rdi + 0x70]
lea rdx, str.1.2.840.113549.1.9.5
mov esi, ebx
lea rax, [rsi + rsi*2]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x14000d5f8
inc ebx
cmp ebx, dword [rdi + 0x68]
jb 0x14000d5d0
jmp 0x14000d647
mov rax, qword [rdi + 0x70]
lea rcx, [rsi + rsi*2]
lea rdx, str.1.2.840.113549.1.9.5
mov r8, qword [rax + rcx*8 + 0x10]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov ecx, 0x10001
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov r9d, dword [r8]
mov rax, qword [0x140053cb8]
mov r8, qword [r8 + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
call qword [0x14003a2f0]
test eax, eax
jne 0x14000d64c
mov qword [rsp + 0x78], r14
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x78]
mov rcx, rdi
call fcn.14000dbc0
test eax, eax
jne 0x14000d7cb
xor esi, esi
xor ebx, ebx
mov qword [rbp + 0xc0], rsi
cmp dword [rdi + 0x78], ebx
jbe 0x14000d7a1
nop word [rax + rax]
mov rcx, qword [rdi + 0x80]
lea rax, [rbx + rbx*2]
lea rdx, str.1.3.6.1.4.1.311.3.3.1
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x14000d6b9
inc ebx
cmp ebx, dword [rdi + 0x78]
jb 0x14000d680
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14000d7af
mov rax, qword [rdi + 0x80]
lea rdx, [rbx + rbx*2]
mov ecx, 0x10001
mov r8, qword [rax + rdx*8 + 0x10]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov edx, 0x21
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x30], rax
mov r9d, dword [r8]
mov rax, qword [0x140053cb8]
mov r8, qword [r8 + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x8000
call qword [0x14003a2f0]
mov rsi, qword [rbp + 0xc0]
test eax, eax
je 0x14000d7a1
mov edx, dword [rsi + 8]
xor r8d, r8d
mov rcx, qword [rsi + 0x10]
call fcn.14000de00
mov rbx, rax
test rax, rax
je 0x14000d7a1
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ecx, word [rbp + 0xd0]
movzx eax, word [rbp + 0xd8]
mov rsi, qword [rbp + 0xc0]
imul rdx, rcx, 0x64
movzx ecx, word [rbp + 0xd2]
add rdx, rcx
movzx ecx, word [rbp + 0xd6]
imul r8, rdx, 0x64
add r8, rcx
imul rcx, r8, 0x64
add rcx, rax
movzx eax, word [rbp + 0xda]
imul rdx, rcx, 0x64
add rdx, rax
movzx eax, word [rbp + 0xdc]
imul rcx, rdx, 0x64
add rcx, rax
lea rax, [rbx + 2]
cmp rcx, rax
setbe r14b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r14d, r14d
jne 0x14000d7c8
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, 0x80096005
test ebx, ebx
cmove ebx, eax
jmp 0x14000db16
xor r14d, r14d
mov ecx, 0x23f0
call fcn.14000fa10
test eax, eax
jne 0x14000d99f
mov rcx, r13
call fcn.14000bfa0
test eax, eax
je 0x14000d99f
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0xe8], eax
mov rax, qword [0x140053d98]
movups xmmword [rbp + 0xd0], xmm0
test rax, rax
jne 0x14000d82e
lea rcx, str.Advapi32.dll
call fcn.14000b8a0
mov qword [0x140053d98], rax
test rax, rax
je 0x14000d993
cmp qword [0x140053da0], 0
jne 0x14000d85f
lea rdx, str.OpenSCManagerW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053da0], rax
test rax, rax
je 0x14000d993
mov rax, qword [0x140053d98]
cmp qword [0x140053d68], 0
jne 0x14000d890
lea rdx, str.OpenServiceW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d68], rax
test rax, rax
je 0x14000d993
mov rax, qword [0x140053d98]
cmp qword [0x140053ce8], 0
jne 0x14000d8c1
lea rdx, str.QueryServiceStatus
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053ce8], rax
test rax, rax
je 0x14000d993
mov rax, qword [0x140053d98]
cmp qword [0x140053d10], 0
jne 0x14000d8eb
lea rdx, str.CloseServiceHandle
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d10], rax
test rax, rax
je 0x14000d993
mov rax, qword [0x140053da0]
xor edx, edx
xor ecx, ecx
mov r8d, 0x80000000
call qword [0x14003a2f0]
mov rsi, rax
test rax, rax
je 0x14000d993
mov rcx, rax
lea rdx, str.CryptSvc
mov rax, qword [0x140053d68]
mov r8d, 4
call qword [0x14003a2f0]
mov rbx, rax
test rax, rax
je 0x14000d97e
mov rcx, rax
lea rdx, [rbp + 0xd0]
mov rax, qword [0x140053ce8]
call qword [0x14003a2f0]
test eax, eax
je 0x14000d96e
mov ecx, dword [rbp + 0xd4]
sub ecx, 4
je 0x14000d968
sub ecx, 1
je 0x14000d968
sub ecx, 1
je 0x14000d968
cmp ecx, 1
jne 0x14000d96e
mov r14d, 1
mov rax, qword [0x140053d10]
mov rcx, rbx
call qword [0x14003a2f0]
mov rax, qword [0x140053d10]
mov rcx, rsi
call qword [0x14003a2f0]
test r14d, r14d
jne 0x14000d99f
mov esi, 1
xor ebx, ebx
jmp 0x14000db16
mov rax, qword [0x140053d88]
test rax, rax
jne 0x14000d9c3
lea rcx, str.wintrust.dll
call fcn.14000b8a0
mov qword [0x140053d88], rax
test rax, rax
je 0x14000d9ee
mov r9, qword [0x140053da8]
test r9, r9
jne 0x14000d9f8
lea rdx, str.WinVerifyTrust
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053da8], rax
mov r9, rax
test rax, rax
jne 0x14000d9f8
xor esi, esi
lea ebx, [rsi + 0x7e]
jmp 0x14000db16
xorps xmm0, xmm0
mov dword [rbp + 0xc0], 0xaac56b
xor eax, eax
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x70]
movups xmmword [rbp - 0x60], xmm0
xor r14d, r14d
lea rdx, [rbp + 0xc0]
movups xmmword [rbp - 0x50], xmm0
mov esi, r14d
mov dword [rbp + 0xc4], 0x11d0cd44
movups xmmword [rbp - 0x70], xmm0
lea rcx, [r14 - 1]
mov dword [rbp + 0xc8], 0xc000c28c
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp + 0xcc], 0xee95c24f
movdqu xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xd0], 0x20
psrldq xmm0, 8
movd eax, xmm0
mov qword [rbp + 0xd8], r13
mov dword [rbp - 0x70], 0x58
bts eax, 0xc
mov dword [rbp - 0x58], 2
mov dword [rbp - 0x28], eax
lea rax, [rbp + 0xd0]
mov qword [rbp - 0x48], rax
mov rax, r9
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x50], 1
mov dword [rbp - 0x40], r14d
call qword [0x14003a2f0]
mov ebx, eax
test eax, eax
jne 0x14000dabc
lea esi, [rax + 1]
mov ebx, r12d
cmp ebx, 0x800b010a
jne 0x14000db16
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov rax, qword [0x140053d08]
xor r8d, r8d
mov rdx, r15
mov dword [rsp + 0x60], r14d
call qword [0x14003a2f0]
mov r14, rax
test rax, rax
je 0x14000db16
mov rcx, qword [rax + 0x18]
add rcx, 0x78
call fcn.14000c180
test eax, eax
je 0x14000db06
mov esi, 1
xor ebx, ebx
mov rax, qword [0x140053d38]
mov rcx, r14
call qword [0x14003a2f0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [0x140053d38]
mov rcx, r15
call qword [0x14003a2f0]
jmp 0x14000db3e
mov ebx, 2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x300]
mov r14, qword [rsp + 0x308]
mov r13, qword [rsp + 0x310]
mov r12, qword [rsp + 0x318]
mov rdi, qword [rsp + 0x350]
test rcx, rcx
je 0x14000db7f
mov rax, qword [0x140053b70]
xor edx, edx
call qword [0x14003a2f0]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000db96
mov rax, qword [0x140053b68]
call qword [0x14003a2f0]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140016d00
add rsp, 0x320
pop rsi
pop rbx
pop rbp
ret