Function at 0x180030a60
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, dword [0x1800fb7d8]
xor edi, edi
mov rbx, rcx
test edx, edx
je 0x180030b0b
lea rcx, [0x1800fb300]
lea eax, [rdi + 2]
nop dword [rax]
lea rbx, [rbx + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rbx - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rbx - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rbx - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rbx - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rbx - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rbx - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rbx - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rbx - 0x10], xmm1
sub rax, 1
jne 0x180030a90
movups xmm0, xmmword [rcx]
mov edi, edx
movups xmmword [rbx], xmm0
mov rax, qword [rcx + 0x10]
mov qword [rbx + 0x10], rax
mov eax, dword [rcx + 0x18]
mov dword [rbx + 0x18], eax
mov eax, edx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1800d73f8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov r8d, 0x11c
mov rcx, rbx
mov rsi, rax
call fcn.180084ad0
mov dword [rbx], 0x11c
test rsi, rsi
je 0x180030b4f
mov rcx, rbx
call rsi
test eax, eax
je 0x180030b6c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x180030b6c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [rbx + 0x10], 2
jne 0x180030f31
mov eax, dword [rbx + 4]
cmp eax, 0xa
jne 0x180030b85
cmp dword [rbx + 8], edi
ja 0x180030b87
cmp eax, eax
jbe 0x180030b9e
mov edi, 0xff
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 0xa
jne 0x180030bf2
cmp dword [rbx + 8], edi
jne 0x180030bc8
cmp byte [rbx + 0x11a], 1
jne 0x180030bc8
mov edi, __WSAFDIsSet
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 0xa
jne 0x180030bf2
cmp dword [rbx + 8], edi
jne 0x180030bf2
cmp byte [rbx + 0x11a], 1
je 0x180030bf2
mov edi, LoadRegTypeLib
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x180030dad
cmp dword [rbx + 8], 3
jne 0x180030c21
cmp byte [rbx + 0x11a], 1
je 0x180030c21
mov edi, 0x8d
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x180030dad
cmp dword [rbx + 8], 3
jne 0x180030c50
cmp byte [rbx + 0x11a], 1
jne 0x180030c50
mov edi, 0x83
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x180030dad
cmp dword [rbx + 8], 2
jne 0x180030c7f
cmp byte [rbx + 0x11a], 1
je 0x180030c7f
mov edi, 0x8c
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x180030dad
cmp dword [rbx + 8], 2
jne 0x180030cae
cmp byte [rbx + 0x11a], 1
jne 0x180030cae
mov edi, 0x82
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x180030dad
cmp dword [rbx + 8], 1
jne 0x180030ce5
cmp byte [rbx + 0x11a], 1
jne 0x180030ce5
cmp word [rbx + 0x114], 1
sbb edi, edi
add edi, 0x79
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x180030dad
cmp dword [rbx + 8], 1
jne 0x180030d1c
cmp byte [rbx + 0x11a], 1
je 0x180030d1c
cmp word [rbx + 0x114], 1
sbb edi, edi
add edi, 0x71
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x180030dad
cmp dword [rbx + 8], edi
jne 0x180030d52
cmp byte [rbx + 0x11a], 1
je 0x180030d52
cmp word [rbx + 0x114], 2
sbb edi, edi
add edi, 0x6f
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x180030dad
cmp dword [rbx + 8], edi
jne 0x180030dad
cmp byte [rbx + 0x11a], 1
jne 0x180030dad
lea edi, [rax + 0x5e]
movzx eax, word [rbx + 0x114]
cmp ax, 1
jne 0x180030d8c
mov edi, 0x66
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ax, 2
jb 0x180030f31
mov edi, 0x67
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 5
jne 0x180030e16
cmp dword [rbx + 8], 2
jne 0x180030e16
cmp byte [rbx + 0x11a], 1
je 0x180030e16
lea ecx, [rax + 0x54]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x180030e16
lea edi, [rax + 0x5a]
movzx eax, word [rbx + 0x114]
cmp ax, 1
jne 0x180030df5
mov edi, 0x5c
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ax, 2
jb 0x180030f31
mov edi, 0x5e
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [rbx + 4], 5
jne 0x180030e84
cmp dword [rbx + 8], 2
jne 0x180030e84
cmp byte [rbx + 0x11a], 1
je 0x180030e84
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x180030e84
movzx eax, word [rbx + 0x114]
mov edi, 0x5b
cmp ax, 1
jne 0x180030e63
mov edi, 0x5d
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ax, 2
jb 0x180030f31
mov edi, 0x5f
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 4]
cmp eax, 5
jne 0x180030f31
cmp dword [rbx + 8], 2
jne 0x180030ed2
cmp byte [rbx + 0x11a], 1
jne 0x180030ed2
lea edi, [rax + 0x46]
movzx eax, word [rbx + 0x114]
cmp ax, 1
je 0x180030eed
cmp ax, 2
je 0x180030f0a
cmp ax, 3
jb 0x180030f31
mov edi, 0x54
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 5
jne 0x180030f31
cmp dword [rbx + 8], 1
jne 0x180030f31
lea edi, [rax + 0x46]
movzx eax, word [rbx + 0x114]
cmp ax, 1
jne 0x180030f04
mov edi, 0x50
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ax, 2
jne 0x180030f21
mov edi, 0x52
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, edi
cmp ax, 3
mov edi, 0x54
cmovae ecx, edi
mov edi, ecx
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret