Function at 0x14000c050
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rdx
mov r14, rcx
mov dword [rsp + 0x64], 0x200
xor esi, esi
mov dword [rsp + 0x68], esi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rbp - 0x70], rax
mov byte [rsp + 0x60], sil
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
lea r9d, [rsi + 2]
mov r8d, 0x400
mov rdx, qword [rdi + 8]
lea ecx, [rsi + 1]
call qword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
je 0x14000c287
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x64]
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x70]
call fcn.14000c3a0
movzx ebx, al
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.CRYPT32.dll_CryptMsgClose]
test bl, bl
je 0x14000c281
cmp byte [rsp + 0x60], sil
je 0x14000c14c
or qword [rdi + 0x40], 0x20000
mov rcx, qword [rdi + 8]
call fcn.14000c600
movzx ebx, al
test al, al
jne 0x14000c1d0
mov eax, dword [0x1403ebc18]
test eax, eax
jns 0x14000c19e
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr ax, 8
cmp ecx, 6
jae 0x14000c184
mov dword [0x1403ebc18], 1
jmp 0x14000c1a0
jne 0x14000c196
test al, al
jne 0x14000c196
mov dword [0x1403ebc18], 1
jmp 0x14000c1a0
mov dword [0x1403ebc18], esi
jmp 0x14000c1c8
jle 0x14000c1c8
lea rcx, [rbp - 0x80]
call fcn.14000c2d0
test al, al
je 0x14000c1c8
mov bl, 1
mov r8, qword [rdi + 8]
lea rdx, str.SHA_2
lea rcx, str._s__ls_r_n
call fcn.140298d38
jmp 0x14000c1d0
or qword [rdi + 0x40], 0x10000
mov edx, dword [rsp + 0x68]
test edx, edx
je 0x14000c205
lea rcx, [rsp + 0x70]
call fcn.14000b3d0
nop
mov r8, rax
mov edx, 6
mov rcx, rdi
call fcn.14000b7c0
nop
cmp dword [rsp + 0x78], 0
jle 0x14000c205
mov rcx, qword [rsp + 0x70]
call fcn.140298600
lea rdx, [rbp - 0x60]
mov rcx, qword [r14 + 8]
test bl, bl
je 0x14000c24b
mov esi, dword [rsp + 0x64]
mov r8d, esi
call fcn.1400fc3a0
test al, al
je 0x14000c23e
mov rax, qword [rdi + 0x40]
movabs rcx, 0xffffffbffffffffc
and rax, rcx
movabs rcx, 0x1000000000
jmp 0x14000c274
mov r8d, esi
lea rdx, [rbp - 0x60]
mov rcx, qword [r14 + 8]
jmp 0x14000c250
mov r8d, dword [rsp + 0x64]
call fcn.1400fc4b0
test al, al
je 0x14000c27b
movabs rcx, 0xffffffefffffffff
mov rax, qword [rdi + 0x40]
and rax, rcx
movabs rcx, 0x4000000000
or rax, rcx
mov qword [rdi + 0x40], rax
mov rsi, qword [rbp - 0x78]
jmp 0x14000c28f
mov rsi, qword [rbp - 0x78]
jmp 0x14000c28d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
test rsi, rsi
je 0x14000c2a3
mov r8, rsi
xor edx, edx
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, bl
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret