Function at 0x6c645360
Capabilities:
Check os version

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x390
mov eax, 0x30
mov rsi, r9
mov dword [rsp + 0x88], ecx
mov r14, rdx
mov rbx, r8
mov r10d, dword [rsi]
mov qword [rsp + 0x90], r8
lea r11, [rsp + 0x98]
mov qword [rsp + 0x98], 0
mov r9, qword [rsp + 0x3f0]
mov qword [rsp + 0xa0], 0
cmp r10d, 0x30
mov qword [rsp + 0xa8], 0
cmovbe rax, r10
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
cmp eax, 8
jae 0x6c6456e0
test al, 4
jne 0x6c6459b0
test eax, eax
je 0x6c645414
movzx edx, byte [rsi]
mov byte [r11], dl
test al, 2
jne 0x6c645a28
cmp r10d, 0x30
ja 0x6c645718
mov rax, qword [0x6c655f60]
mov r8d, dword [rsi + 0x10]
mov dword [rsp + 0xe0], 0
lea rbp, [rsp + 0x80]
mov r10, qword [0x6c663008]
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd8], 0
mov rdx, r10
mov dword [rsp + 0xe8], 0
cmp r8d, 1
je 0x6c645770
lea r12, [rsp + 0x120]
xor eax, eax
mov ecx, 0x4e
movdqu xmm1, xmmword [0x6c655fb0]
mov rdi, r12
lea r13, [rsp + 0x20]
mov qword [rsp + 0xf0], 0
rep stosq qword [rdi], rax
mov rdi, qword [0x6c655f18]
lea rax, [0x6c648330]
mov dword [rsp + 0xf8], 0
mov dword [rsp + 0x110], 0
mov qword [rsp + 0x128], r10
mov qword [rsp + 0x130], 0x71
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x150], rbp
movups xmmword [rsp + 0x100], xmm1
cmp r8d, 4
je 0x6c64595c
jbe 0x6c645730
lea r13, [rsp + 0x20]
cmp r8d, 5
jne 0x6c645a56
mov dword [rsp + 0xcc], 3
mov ecx, 2
mov r8d, 3
mov eax, 1
mov r9, qword [0x6c655f20]
lea r10, [rax + rax*2]
movq xmm2, rdx
movq xmm0, r14
movdqu xmm1, xmmword [0x6c655fa0]
lea rax, [rax + r10*4]
lea rsi, [0x6c645ba0]
punpcklqdq xmm0, xmm2
shl rax, 3
mov qword [rsp + rax + 0x120], r9
movups xmmword [rsp + rax + 0x168], xmm1
mov qword [rsp + rax + 0x128], rdx
mov qword [rsp + rax + 0x148], rsi
lea rsi, [0x6c64aa00]
mov qword [rsp + rax + 0x130], 0x75
mov qword [rsp + rax + 0x150], rbp
movsxd rax, ecx
lea rcx, [rax + rax*2]
lea rax, [rax + rcx*4]
mov rcx, r13
shl rax, 3
test rbx, rbx
mov qword [rsp + rax + 0x120], rdi
mov qword [rsp + rax + 0x128], rdx
mov qword [rsp + rax + 0x130], 0x76
mov qword [rsp + rax + 0x148], rsi
mov qword [rsp + rax + 0x150], rbp
mov rax, qword [0x6c655f50]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x20], rax
mov eax, 0x4b0
cmove rbx, rax
mov dword [rsp + 0x48], r8d
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], 0xcd
mov qword [rsp + 0x78], 0xce
call qword [sym.imp.comctl32.dll_PropertySheetW]
mov rcx, qword [rsp + 0x80]
mov rbx, rax
call qword [sym.imp.gdi32.dll_DeleteObject]
mov eax, dword [rsp + 0xe8]
mov rdi, qword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
jne 0x6c645988
mov rsi, qword gs:[0x30]
mov rax, qword [rsi + 0x60]
xor edx, edx
mov r8, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x30]
call rdi
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rax, qword [rsi + 0x60]
xor edx, edx
mov r8, qword [rsp + 0x100]
mov rcx, qword [rax + 0x30]
call rdi
test rbx, rbx
jne 0x6c645760
mov dword [rsi + 0x68], 0x4c7
xor eax, eax
add rsp, 0x390
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov edx, eax
sub eax, 1
mov rcx, qword [rsi + rdx - 8]
mov qword [r11 + rdx - 8], rcx
cmp eax, 8
jb 0x6c645414
and eax, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r8, qword [rsi + rcx]
mov qword [r11 + rcx], r8
cmp edx, eax
jb 0x6c6456fd
cmp r10d, 0x30
jbe 0x6c64541e
mov dword [rsp + 0x98], 0x30
jmp 0x6c64541e
sub r8d, 2
lea r13, [rsp + 0x20]
cmp r8d, 1
ja 0x6c645a56
mov dword [rsp + 0xcc], 1
mov rdx, r10
jmp 0x6c64552b
mov eax, dword [rsp + 0x110]
jmp 0x6c6456cd
test r9, r9
je 0x6c6457a8
cmp dword [r9], 0x20
mov eax, 0x20
cmovbe eax, dword [r9]
lea r8, [rsp + 0xc8]
cmp eax, 8
jae 0x6c6459c8
test al, 4
jne 0x6c645a38
test eax, eax
jne 0x6c645a00
nop dword [rax + rax]
xor eax, eax
mov ecx, 0x4e
lea r13, [rsp + 0x20]
xor r8d, r8d
lea r12, [rsp + 0x120]
mov r9, r13
movdqu xmm1, xmmword [0x6c655fb0]
mov edx, 2
mov qword [rsp + 0xf0], 0
mov rdi, r12
rep stosq qword [rdi], rax
mov rdi, qword [0x6c655f18]
lea rax, [0x6c648330]
mov dword [rsp + 0xf8], 0
mov dword [rsp + 0x110], 0
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x128], r10
mov qword [rsp + 0x130], 0x71
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x150], rbp
movups xmmword [rsp + 0x100], xmm1
call qword [sym.imp.crypt32.dll_CertGetCertificateContextProperty]
mov edx, dword [rsi + 0x10]
cmp edx, 5
je 0x6c645ab8
jbe 0x6c645950
test eax, eax
je 0x6c645a4f
movdqu xmm1, xmmword [0x6c655f70]
lea rax, [0x6c6465e0]
mov rdx, qword [0x6c663008]
mov qword [rsp + 0x198], 0x72
mov r9, qword [0x6c655f20]
mov qword [rsp + 0x1b0], rax
lea rax, [0x6c645080]
mov ecx, 5
movups xmmword [rsp + 0x1d0], xmm1
movdqu xmm1, xmmword [0x6c655f80]
mov r8d, 6
mov qword [rsp + 0x218], rax
lea rax, [0x6c648380]
movups xmmword [rsp + 0x238], xmm1
movdqu xmm1, xmmword [0x6c655f90]
mov qword [rsp + 0x280], rax
mov eax, 4
mov qword [rsp + 0x190], rdx
mov qword [rsp + 0x188], r9
mov qword [rsp + 0x1b8], rbp
mov qword [rsp + 0x1f8], rdx
mov qword [rsp + 0x200], 0x74
mov qword [rsp + 0x1f0], r9
mov qword [rsp + 0x220], rbp
mov qword [rsp + 0x260], rdx
mov qword [rsp + 0x268], 0x73
mov qword [rsp + 0x258], r9
mov qword [rsp + 0x288], rbp
movups xmmword [rsp + 0x2a0], xmm1
jmp 0x6c645542
mov r10, qword [0x6c663008]
cmp edx, 4
jne 0x6c645970
mov dword [rsp + 0xcc], 5
mov rdx, r10
jmp 0x6c64552b
cmp edx, 1
jbe 0x6c645855
mov r10, qword [0x6c663008]
jmp 0x6c645743
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, qword [rsp + 0xd8]
xor edx, edx
mov rcx, qword [rax + 0x30]
call rdi
jmp 0x6c64567c
mov dword [r11], r10d
mov edx, dword [rsi + rax - 4]
mov dword [r11 + rax - 4], edx
jmp 0x6c645414
mov edx, eax
sub eax, 1
mov rcx, qword [r9 + rdx - 8]
mov qword [r8 + rdx - 8], rcx
cmp eax, 8
jb 0x6c6457a8
and eax, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r11, qword [r9 + rcx]
mov qword [r8 + rcx], r11
cmp edx, eax
jb 0x6c6459e5
jmp 0x6c6457a8
movzx edx, byte [r9]
mov byte [r8], dl
test al, 2
je 0x6c6457a8
mov eax, eax
movzx edx, word [r9 + rax - 2]
mov word [r8 + rax - 2], dx
jmp 0x6c6457a8
movzx edx, word [rsi + rax - 2]
mov word [r11 + rax - 2], dx
jmp 0x6c645414
mov edx, dword [r9]
mov eax, eax
mov dword [r8], edx
mov edx, dword [r9 + rax - 4]
mov dword [r8 + rax - 4], edx
jmp 0x6c6457a8
mov r10, qword [0x6c663008]
mov qword [rsp + 0x190], r10
mov rdx, r10
mov ecx, 3
mov r9, qword [0x6c655f20]
movdqu xmm1, xmmword [0x6c655f80]
lea rax, [0x6c645080]
mov qword [rsp + 0x198], 0x74
mov r8d, 4
mov qword [rsp + 0x1b0], rax
mov eax, 2
mov qword [rsp + 0x188], r9
mov qword [rsp + 0x1b8], rbp
movups xmmword [rsp + 0x1d0], xmm1
jmp 0x6c645542
mov rdx, qword [0x6c663008]
jmp 0x6c645520