Function at 0x7fff25d6b860
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0xc0
mov r15, r9
mov rsi, rdx
xor ebx, ebx
mov qword [rax - 0x60], rbx
mov qword [rax - 0x58], rbx
cmp rcx, 0xffffffff80000004
je 0x7fff25de58ca
cmp rcx, 0xffffffff80000050
je 0x7fff25de58ca
cmp rcx, 0xffffffff80000060
je 0x7fff25de58ca
test r8d, r8d
jne 0x7fff25de57d8
test rdx, rdx
je 0x7fff25de58c0
mov r14, qword [rsp + 0x118]
test r14, r14
je 0x7fff25de58c0
lea r9, [rax - 0x58]
lea r8, [rax - 0x60]
lea rdx, [rax + 8]
call sym.KERNELBASE.dll_MapPredefinedHandleInternal
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x7fff25d6b9b4
mov rdx, rsi
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeStringEx]
nop dword [rax + rax]
test eax, eax
js 0x7fff25de57e2
add word [rsp + 0x88], 2
test r15, r15
jne 0x7fff25d6bad4
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x70], rbx
mov rcx, qword [rsp + 0x110]
test rcx, rcx
jne 0x7fff25d6ba7f
mov rsi, rbx
mov qword [rsp + 0x60], rbx
mov r15, qword [rsp + 0xe0]
test r15b, 1
jne 0x7fff25de57fb
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x100]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x88]
mov rcx, r15
call fcn.7fff25d6bb1c
mov edi, eax
mov dword [rsp + 0x50], eax
test rsi, rsi
jne 0x7fff25d6baac
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov r14, rbx
test rax, rax
jne 0x7fff25d6ba70
mov rsi, qword [rsp + 0x80]
test rsi, rsi
jne 0x7fff25d6b9f3
mov eax, edi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, [0x7fff25fd28a8]
call qword [sym.imp.ntdll.dll_RtlAcquireSRWLockExclusive]
nop dword [rax + rax]
add dword [rsi + 8], 0xffffffff
jne 0x7fff25d6ba29
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + 8]
cmp rsi, rcx
jne 0x7fff25d6bafb
mov rax, qword [rax]
cmp qword [rsi], rax
jne 0x7fff25d6bafb
lea rcx, [0x7fff25fd28a8]
call qword [sym.imp.ntdll.dll_RtlReleaseSRWLockExclusive]
nop dword [rax + rax]
test r14, r14
je 0x7fff25d6b9d7
mov rcx, qword [r14]
call sym.KERNELBASE.dll_RegCloseKey
mov rcx, qword gs:[0x60]
mov r8, r14
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov edi, dword [rsp + 0x50]
jmp 0x7fff25d6b9d7
lea rcx, [rsp + 0x60]
call fcn.7fff25daba24
jmp 0x7fff25d6b9ca
lea rsi, [rsp + 0x98]
mov qword [rsp + 0x60], rsi
lea rdx, [rsp + 0x98]
call fcn.7fff25da62f4
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
je 0x7fff25d6b947
jmp 0x7fff25d6b9b4
mov rcx, qword gs:[0x60]
mov r8, qword [rsi + 8]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov edi, dword [rsp + 0x50]
jmp 0x7fff25d6b9b4
mov rdx, r15
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeStringEx]
nop dword [rax + rax]
test eax, eax
js 0x7fff25de57e2
add word [rsp + 0x68], 2
jmp 0x7fff25d6b92e
mov r14, rsi
mov rdx, rsi
call fcn.7fff25db183c
mov rdx, qword [rsi + 0x10]
mov qword [rdx + 8], rax
jmp 0x7fff25d6ba29
mov eax, 0x57
jmp 0x7fff25d6b9d9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x50], eax
jmp 0x7fff25d6b9b4
call fcn.7fff25dcefc8
test al, al
je 0x7fff25d6b9ab
mov dword [rsp + 0x58], ebx
and r15, 0xfffffffffffffffe
call fcn.7fff25dcefc8
test al, al
je 0x7fff25de583a
lea rdx, [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.ext_ms_win_advapi32_registry_l1_1_0.dll_BaseRegGetVersion]
nop dword [rax + rax]
test eax, eax
jne 0x7fff25de583a
cmp dword [rsp + 0x58], 6
mov al, 1
je 0x7fff25de583c
mov al, bl
mov ecx, dword [rsp + 0x108]
and ecx, 0xfffffcff
test al, al
cmovne ecx, dword [rsp + 0x108]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x100]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x88]
mov rcx, r15
call qword [sym.imp.ext_ms_win_advapi32_registry_l1_1_0.dll_BaseRegCreateKey]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x50], eax
jmp 0x7fff25de58af
test edi, edi
jne 0x7fff25d6b9ab
or qword [r14], 1
jmp 0x7fff25d6b9ab
mov eax, 0x3f2
jmp 0x7fff25d6b9d9
mov eax, 6
jmp 0x7fff25d6b9d9