Function at 0x7fff25da54c0
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, 0xd0
mov r14, r9
mov rsi, rdx
xor ebx, ebx
mov qword [rax - 0x58], rbx
mov qword [rax - 0x60], rbx
cmp rcx, 0xffffffff80000004
je 0x7fff25df4cc3
cmp rcx, 0xffffffff80000050
je 0x7fff25df4cc3
cmp rcx, 0xffffffff80000060
je 0x7fff25df4cc3
test r8d, r8d
jne 0x7fff25df4b62
test rdx, rdx
je 0x7fff25df4cb9
mov r15, qword [rsp + 0x128]
test r15, r15
je 0x7fff25df4cb9
lea r9, [rax - 0x60]
lea r8, [rax - 0x58]
lea rdx, [rax + 8]
call sym.KERNELBASE.dll_MapPredefinedHandleInternal
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x7fff25da562c
mov rdx, rsi
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_RtlCreateUnicodeStringFromAsciiz]
nop dword [rax + rax]
test al, al
je 0x7fff25df4b6c
add word [rsp + 0x70], 2
test r14, r14
jne 0x7fff25df4b84
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x68], rbx
mov rcx, qword [rsp + 0x120]
test rcx, rcx
jne 0x7fff25da565d
mov rsi, rbx
mov qword [rsp + 0x80], rbx
mov r14, qword [rsp + 0xf0]
test r14b, 1
jne 0x7fff25df4bf6
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rsi
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x110]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.7fff25d6bb1c
mov edi, eax
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop dword [rax + rax]
test rsi, rsi
jne 0x7fff25da568d
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call sym.KERNELBASE.dll_CLOSE_LOCAL_HANDLE_INTERNAL
mov eax, edi
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rsi, [rsp + 0xa8]
mov qword [rsp + 0x80], rsi
lea rdx, [rsp + 0xa8]
call fcn.7fff25da62f4
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
je 0x7fff25da55a4
jmp 0x7fff25df4bdf
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 0x7fff25da561b
mov eax, 0x57
jmp 0x7fff25da5643
mov ecx, 0xc0000017
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov edi, eax
jmp 0x7fff25da562c
mov rdx, r14
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntdll.dll_RtlInitAnsiStringEx]
nop dword [rax + rax]
test eax, eax
js 0x7fff25df4bca
mov r8b, 1
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
nop dword [rax + rax]
test eax, eax
js 0x7fff25df4bca
add word [rsp + 0x60], 2
jmp 0x7fff25da5588
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov edi, eax
jmp 0x7fff25da561b
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop dword [rax + rax]
nop
jmp 0x7fff25da561b
call fcn.7fff25dcefc8
test al, al
je 0x7fff25da5605
mov dword [rsp + 0x58], ebx
and r14, 0xfffffffffffffffe
call fcn.7fff25dcefc8
test al, al
je 0x7fff25df4c35
lea rdx, [rsp + 0x58]
mov rcx, r14
call qword [sym.imp.ext_ms_win_advapi32_registry_l1_1_0.dll_BaseRegGetVersion]
nop dword [rax + rax]
test eax, eax
jne 0x7fff25df4c35
cmp dword [rsp + 0x58], 6
mov al, 1
je 0x7fff25df4c37
mov al, bl
mov ecx, dword [rsp + 0x118]
and ecx, 0xfffffcff
test al, al
cmovne ecx, dword [rsp + 0x118]
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x110]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, r14
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 0x7fff25df4ca8
test edi, edi
jne 0x7fff25da5605
or qword [r15], 1
jmp 0x7fff25da5605
mov eax, 0x3f2
jmp 0x7fff25da5643
mov eax, 6
jmp 0x7fff25da5643