Function at 0x1800175e0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, dword [0x1800f9268]
xor edi, edi
mov rbx, rcx
test edx, edx
je 0x18001768b
lea rcx, [0x1800f7e00]
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 0x180017610
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, [0x1800d9b98]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1800d9b88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov r8d, 0x11c
mov rcx, rbx
mov rsi, rax
call fcn.180071390
mov dword [rbx], 0x11c
test rsi, rsi
je 0x1800176cf
mov rcx, rbx
call rsi
test eax, eax
je 0x1800176ec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1800176ec
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [rbx + 0x10], 2
jne 0x180017ab1
mov eax, dword [rbx + 4]
cmp eax, 0xa
jne 0x180017705
cmp dword [rbx + 8], edi
ja 0x180017707
cmp eax, eax
jbe 0x18001771e
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 0x180017772
cmp dword [rbx + 8], edi
jne 0x180017748
cmp byte [rbx + 0x11a], 1
jne 0x180017748
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 0x180017772
cmp dword [rbx + 8], edi
jne 0x180017772
cmp byte [rbx + 0x11a], 1
je 0x180017772
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 0x18001792d
cmp dword [rbx + 8], 3
jne 0x1800177a1
cmp byte [rbx + 0x11a], 1
je 0x1800177a1
mov edi, Ordinal_145
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x18001792d
cmp dword [rbx + 8], 3
jne 0x1800177d0
cmp byte [rbx + 0x11a], 1
jne 0x1800177d0
mov edi, Ordinal_133
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x18001792d
cmp dword [rbx + 8], 2
jne 0x1800177ff
cmp byte [rbx + 0x11a], 1
je 0x1800177ff
mov edi, Ordinal_142
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x18001792d
cmp dword [rbx + 8], 2
jne 0x18001782e
cmp byte [rbx + 0x11a], 1
jne 0x18001782e
mov edi, Ordinal_133
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp eax, 6
jne 0x18001792d
cmp dword [rbx + 8], 1
jne 0x180017865
cmp byte [rbx + 0x11a], 1
jne 0x180017865
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 0x18001792d
cmp dword [rbx + 8], 1
jne 0x18001789c
cmp byte [rbx + 0x11a], 1
je 0x18001789c
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 0x18001792d
cmp dword [rbx + 8], edi
jne 0x1800178d2
cmp byte [rbx + 0x11a], 1
je 0x1800178d2
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 0x18001792d
cmp dword [rbx + 8], edi
jne 0x18001792d
cmp byte [rbx + 0x11a], 1
jne 0x18001792d
lea edi, [rax + 0x5e]
movzx eax, word [rbx + 0x114]
cmp ax, 1
jne 0x18001790c
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 0x180017ab1
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 0x180017996
cmp dword [rbx + 8], 2
jne 0x180017996
cmp byte [rbx + 0x11a], 1
je 0x180017996
lea ecx, [rax + 0x54]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x180017996
lea edi, [rax + 0x5a]
movzx eax, word [rbx + 0x114]
cmp ax, 1
jne 0x180017975
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 0x180017ab1
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 0x180017a04
cmp dword [rbx + 8], 2
jne 0x180017a04
cmp byte [rbx + 0x11a], 1
je 0x180017a04
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x180017a04
movzx eax, word [rbx + 0x114]
mov edi, 0x5b
cmp ax, 1
jne 0x1800179e3
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 0x180017ab1
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 0x180017ab1
cmp dword [rbx + 8], 2
jne 0x180017a52
cmp byte [rbx + 0x11a], 1
jne 0x180017a52
lea edi, [rax + 0x46]
movzx eax, word [rbx + 0x114]
cmp ax, 1
je 0x180017a6d
cmp ax, 2
je 0x180017a8a
cmp ax, 3
jb 0x180017ab1
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 0x180017ab1
cmp dword [rbx + 8], 1
jne 0x180017ab1
lea edi, [rax + 0x46]
movzx eax, word [rbx + 0x114]
cmp ax, 1
jne 0x180017a84
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 0x180017aa1
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