Function at 0x180007270
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1800ccee8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
mov dword [rbp + 0x30], 0x154
xor edx, edx
mov r8d, 0x150
lea rcx, [rbp + 0x34]
call fcn.180016a40
xor r9d, r9d
lea r8, [rbp + 0x30]
mov edx, 0x154
lea ecx, [r9 + 0x29]
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x18000747c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], eax
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x18000730d
lea r8, [rsp + 0x48]
lea edx, [rax + 0x3c]
call qword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [rbp + 0xd0]
cmp dword [rsp + 0x48], eax
jne 0x1800073df
mov eax, dword [rbp + 0xd4]
cmp dword [rsp + 0x4c], eax
jne 0x1800073df
mov eax, dword [rbp + 0xd8]
cmp dword [rsp + 0x50], eax
jne 0x1800073df
mov eax, dword [rbp + 0xdc]
cmp dword [rsp + 0x54], eax
jne 0x1800073df
mov eax, dword [rbp + 0xe0]
cmp dword [rsp + 0x58], eax
jne 0x1800073df
movzx eax, byte [rbp + 0xe4]
cmp byte [rsp + 0x5c], al
jne 0x1800073df
movzx eax, byte [rbp + 0xe5]
cmp byte [rsp + 0x5d], al
jne 0x1800073df
movzx eax, byte [rbp + 0xe6]
cmp byte [rsp + 0x5e], al
jne 0x1800073df
movzx eax, byte [rbp + 0xe7]
cmp byte [rsp + 0x5f], al
jne 0x1800073df
movzx eax, byte [rbp + 0xe8]
cmp byte [rsp + 0x60], al
jne 0x1800073df
movzx eax, byte [rbp + 0xe9]
cmp byte [rsp + 0x61], al
jne 0x1800073df
movzx eax, byte [rbp + 0xea]
cmp byte [rsp + 0x62], al
jne 0x1800073df
movzx eax, byte [rbp + 0xeb]
cmp byte [rsp + 0x63], al
jne 0x1800073df
lea rdx, [rbp + 0xec]
lea rcx, [rsp + 0x64]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x18000747c
lea rcx, [rbp + 0xd0]
call qword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov rdi, rax
test rax, rax
je 0x18000747c
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x180007419
call qword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x180007419
mov qword [rbx + 0x110], 0
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x180007430
cmp rcx, rdi
je 0x180007430
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rbx + 0x110], rdi
mov r9d, 1
mov r8, rdi
lea edx, [r9 + 0x2f]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageA]
lea r9, [0x180066680]
xor r8d, r8d
mov edx, 0x41c
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x421
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageA]
mov r14, qword [rbx + 8]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowDC]
mov rdi, rax
mov rdx, qword [rbx + 0x110]
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rsi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x20], 0x424
lea r9, [rsp + 0x38]
mov r8d, 0xffffffff
lea rdx, [0x180066684]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x38]
cmp ecx, 4
jge 0x180007510
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [rsp + 0x20], 0x424
lea r9, [rsp + 0x38]
mov r8d, 0xffffffff
lea rdx, [0x180066688]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [rsp + 0x40]
sub eax, dword [rsp + 0x38]
jmp 0x180007512
xor eax, eax
mov dword [rbx + 0x128], eax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rbp - 0x70], 0x94
xorps xmm0, xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [rbp - 0x6c]
cmp eax, 5
jb 0x180007607
mov dword [rsp + 0x30], 1
xor r9d, r9d
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x100a
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x180007594
cmp dword [rsp + 0x30], 0
jne 0x180007594
mov al, 2
jmp 0x180007596
xor al, al
movzx edx, byte [rbx + 0xf1]
and dl, 0xfd
or dl, al
or dl, 8
mov byte [rbx + 0xf1], dl
shr dl, 1
not dl
and dl, 1
mov rcx, rbx
call fcn.18000e7a0
mov eax, dword [rbp - 0x6c]
cmp eax, 5
jne 0x1800075ca
cmp dword [rbp - 0x68], 1
jae 0x1800075cc
jmp 0x180007607
jbe 0x180007607
mov dword [rsp + 0x30], 0
xor r9d, r9d
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1022
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x1800075f8
cmp dword [rsp + 0x30], 0
je 0x1800075f8
mov al, 1
jmp 0x1800075fa
xor eax, eax
and byte [rbx + 0xf1], 0xfe
or byte [rbx + 0xf1], al
call fcn.180007980
movzx edx, byte [rbx + 0xf2]
movzx eax, dl
test dl, 1
je 0x18000763a
cmp qword [rbx + 0x78], 0
je 0x18000763a
cmp dword [rbx + 0x90], 0
jle 0x18000763a
mov rcx, rbx
call fcn.1800112b0
movzx eax, byte [rbx + 0xf2]
and al, 0xfe
mov byte [rbx + 0xf2], al
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.180014190
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret