Function at 0x14002d09c
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400537d8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, r8
mov rbx, rdx
mov r13, rcx
xor r12d, r12d
mov dword [rsp + 0x68], r12d
mov r15d, r12d
mov qword [rsp + 0x60], r12
cmp qword [rdx + 0x18], 8
jb 0x14002d0f3
mov rdx, qword [rdx]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9d, 0xe
mov r8d, 0x1732
lea r14d, [r9 - 0xd]
mov ecx, r14d
call qword [sym.imp.CRYPT32.dll_CryptQueryObject]
nop dword [rax + rax]
test eax, eax
je 0x14002d5d9
cmp dword [rsp + 0x68], 0xc
jne 0x14002d31c
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
cmp qword [rbx + 0x18], 8
jb 0x14002d163
mov rbx, qword [rbx]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.14002b7f0
test eax, eax
js 0x14002d5d9
mov rdi, qword [rbp - 0x70]
cmp dword [r13], 2
jne 0x14002d18a
mov r15d, 0x20
jmp 0x14002d1cf
mov dword [rbp - 0x30], 0x94
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
nop dword [rax + rax]
test eax, eax
je 0x14002d1cf
mov eax, dword [rbp - 0x20]
test eax, eax
je 0x14002d1cf
sub eax, r14d
je 0x14002d1cf
cmp eax, r14d
jne 0x14002d1cf
mov eax, dword [rbp - 0x2c]
sub eax, 4
je 0x14002d1cf
cmp eax, r14d
je 0x14002d1c9
cmp dword [rbp - 0x2c], 5
jbe 0x14002d1cf
mov r15d, 0x1000
cmp qword [rsi + 0x18], 8
jb 0x14002d1db
mov rdx, qword [rsi]
jmp 0x14002d1de
mov rdx, rsi
mov r8d, r15d
lea rcx, [rbp - 0x78]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14002d22a
mov rcx, rax
call qword [sym.imp.CRYPT32.dll_CertDuplicateStore]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
test rcx, rcx
je 0x14002d225
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
nop dword [rax + rax]
mov rax, rbx
jmp 0x14002d24a
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002d26b
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
nop dword [rax + rax]
mov qword [rsp + 0x60], r12
mov rax, r12
test rax, rax
je 0x14002d260
xor edx, edx
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
nop dword [rax + rax]
cmp qword [rsp + 0x60], r12
jne 0x14002d308
cmp qword [rsi + 0x10], r12
jne 0x14002d5b9
mov r8d, r15d
xor edx, edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.CRYPT32.dll_PFXImportCertStore]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14002d2c3
mov rcx, rax
call qword [sym.imp.CRYPT32.dll_CertDuplicateStore]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
test rcx, rcx
je 0x14002d2be
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
nop dword [rax + rax]
mov rax, rbx
jmp 0x14002d2e7
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002d5b9
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
nop dword [rax + rax]
mov qword [rsp + 0x60], r12
mov rax, r12
test rax, rax
je 0x14002d2fd
xor edx, edx
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
nop dword [rax + rax]
cmp qword [rsp + 0x60], r12
je 0x14002d5b9
test rdi, rdi
je 0x14002d31c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop dword [rax + rax]
mov rbx, r12
mov rdx, rbx
mov rbx, r12
mov qword [rbp - 0x68], rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14002d358
mov rcx, rax
call qword [sym.imp.CRYPT32.dll_CertDuplicateCertificateContext]
nop dword [rax + rax]
mov rbx, rax
mov qword [rbp - 0x68], rax
test rbx, rbx
setne sil
test rdi, rdi
je 0x14002d373
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
nop dword [rax + rax]
test sil, sil
je 0x14002d651
cmp dword [rsp + 0x68], 0xc
jne 0x14002d4ca
cmp dword [r13], r14d
je 0x14002d4ca
mov dword [rsp + 0x6c], r12d
mov dword [rbp - 0x80], r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
mov r9d, 0xd0000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
nop dword [rax + rax]
mov rdi, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x14002d4b6
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea r15d, [r8 + 2]
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
nop dword [rax + rax]
test eax, eax
je 0x14002d4b6
lea r9, [rbp - 0x80]
xor r8d, r8d
mov edx, r15d
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
nop dword [rax + rax]
test eax, eax
je 0x14002d4b6
mov edx, dword [rsp + 0x6c]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
lea rcx, [rbp - 0x60]
call fcn.1400040c4
lea r9, [rsp + 0x6c]
mov rsi, qword [rbp - 0x60]
mov r8, rsi
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
nop dword [rax + rax]
test eax, eax
je 0x14002d61f
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertSetCertificateContextProperty]
nop dword [rax + rax]
test eax, eax
je 0x14002d61f
mov r9d, dword [rsi + 0x14]
and r9d, 0x20
or r9d, 0x10
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov r8d, dword [rsi + 0x10]
mov rdx, qword [rsi]
mov rcx, qword [rsi + 8]
call fcn.14002b608
test eax, eax
js 0x14002d61f
mov rcx, rsi
call qword [sym.imp.MFC42.dll_CListCtrl::SetColumnOrderArray]
nop dword [rax + rax]
nop
test rdi, rdi
je 0x14002d4ca
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
nop dword [rax + rax]
mov qword [rsp + 0x78], r12
lea r9, [rsp + 0x78]
mov r8d, 5
mov rdx, rbx
mov rcx, qword [r13 + 8]
call qword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
nop dword [rax + rax]
test eax, eax
je 0x14002d639
cmp dword [rsp + 0x68], 0xc
jne 0x14002d59a
cmp dword [r13], r14d
jne 0x14002d59a
mov dword [rsp + 0x70], r12d
lea r9, [rsp + 0x70]
xor r8d, r8d
lea edi, [r8 + 2]
mov edx, edi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
nop dword [rax + rax]
test eax, eax
je 0x14002d59a
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
lea rcx, [r13 + 0x10]
lea rdx, [rbp - 0x60]
call fcn.140014704
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14002d561
call qword [sym.imp.MFC42.dll_CListCtrl::SetColumnOrderArray]
nop dword [rax + rax]
mov rcx, qword [r13 + 0x18]
add rcx, 0xffffffffffffffe0
mov edx, dword [rsp + 0x70]
call fcn.1400040c4
mov rax, qword [r13 + 0x18]
lea r9, [rsp + 0x70]
mov r8, qword [rax - 0x20]
mov edx, edi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
nop dword [rax + rax]
test eax, eax
je 0x14002d639
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002d31f
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
nop dword [rax + rax]
jmp 0x14002d31f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test rdi, rdi
je 0x14002d5d9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop dword [rax + rax]
mov r14b, r12b
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002d5f4
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
nop dword [rax + rax]
mov al, r14b
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140039fa0
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test rsi, rsi
je 0x14002d634
mov rcx, rsi
call qword [sym.imp.MFC42.dll_CListCtrl::SetColumnOrderArray]
nop dword [rax + rax]
nop
mov rcx, rdi
jmp 0x14002d643
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002d664
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
nop dword [rax + rax]
jmp 0x14002d664
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x80092004
je 0x14002d667
mov r14b, r12b
test rbx, rbx
je 0x14002d5dc
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
nop dword [rax + rax]
jmp 0x14002d5dc