Function at 0x14006e160
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x3e0
mov rax, qword [0x1401786a0]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov rbx, rcx
lea rcx, [rsp + 0xb4]
xor edx, edx
mov r8d, 0x1f0
mov dword [rsp + 0xb0], 0x1f4
call fcn.140076300
xor r9d, r9d
lea r8, [rsp + 0xb0]
lea ecx, [r9 + 0x29]
mov edx, 0x1f4
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x14006e37d
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x5c]
call fcn.140076300
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x14006e1fa
lea r8, [rsp + 0x50]
mov edx, 0x5c
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rsp + 0x190]
cmp dword [rsp + 0x50], eax
jne 0x14006e2da
mov eax, dword [rsp + 0x194]
cmp dword [rsp + 0x54], eax
jne 0x14006e2da
mov eax, dword [rsp + 0x198]
cmp dword [rsp + 0x58], eax
jne 0x14006e2da
mov eax, dword [rsp + 0x19c]
cmp dword [rsp + 0x5c], eax
jne 0x14006e2da
mov eax, dword [rsp + 0x1a0]
cmp dword [rsp + 0x60], eax
jne 0x14006e2da
movzx eax, byte [rsp + 0x1a4]
cmp byte [rsp + 0x64], al
jne 0x14006e2da
movzx eax, byte [rsp + 0x1a5]
cmp byte [rsp + 0x65], al
jne 0x14006e2da
movzx eax, byte [rsp + 0x1a6]
cmp byte [rsp + 0x66], al
jne 0x14006e2da
movzx eax, byte [rsp + 0x1a7]
cmp byte [rsp + 0x67], al
jne 0x14006e2da
movzx eax, byte [rsp + 0x1a8]
cmp byte [rsp + 0x68], al
jne 0x14006e2da
movzx eax, byte [rsp + 0x1a9]
cmp byte [rsp + 0x69], al
jne 0x14006e2da
movzx eax, byte [rsp + 0x1aa]
cmp byte [rsp + 0x6a], al
jne 0x14006e2da
movzx eax, byte [rsp + 0x1ab]
cmp byte [rsp + 0x6b], al
jne 0x14006e2da
lea rdx, [rsp + 0x1ac]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14006e37d
lea rcx, [rsp + 0x190]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rdi, rax
test rax, rax
je 0x14006e37d
cmp qword [rbx + 0x110], 0
je 0x14006e31a
mov rcx, qword [rbx + 0x110]
call qword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x14006e31a
mov qword [rbx + 0x110], 0
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x14006e331
cmp rcx, rdi
je 0x14006e331
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r9d, 1
mov qword [rbx + 0x110], rdi
mov rcx, qword [rbx + 8]
lea edx, [r9 + 0x2f]
mov r8, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
lea r9, [0x140098798]
xor r8d, r8d
mov edx, 0x44d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x421
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, qword [rbx + 8]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowDC]
mov rdx, qword [rbx + 0x110]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [rsp + 0x38]
lea rdx, [0x140098790]
mov rdi, rax
xor eax, eax
or r8d, 0xffffffff
mov rcx, rsi
mov dword [rsp + 0x20], 0x424
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_DrawTextW]
mov r11d, dword [rsp + 0x40]
sub r11d, dword [rsp + 0x38]
cmp r11d, 4
jge 0x14006e422
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetRectEmpty]
lea r9, [rsp + 0x38]
lea rdx, [0x14009878c]
or r8d, 0xffffffff
mov rcx, rsi
mov dword [rsp + 0x20], 0x424
call qword [sym.imp.USER32.dll_DrawTextW]
mov r11d, dword [rsp + 0x40]
sub r11d, dword [rsp + 0x38]
mov dword [rbx + 0x128], r11d
jmp 0x14006e42c
mov dword [rbx + 0x128], 0
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
lea rcx, [rsp + 0x2b4]
xor edx, edx
mov r8d, VarUI4FromDisp
mov dword [rsp + 0x2b0], VarUI4FromDisp
call fcn.140076300
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov r11d, dword [rsp + 0x2b4]
cmp r11d, 5
jb 0x14006e528
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov ecx, 0x100a
mov dword [rsp + 0x30], 1
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x14006e4a4
cmp dword [rsp + 0x30], 0
jne 0x14006e4a4
mov al, 1
jmp 0x14006e4a6
xor eax, eax
and byte [rbx + 0xf1], 0xfd
and al, 1
mov rcx, rbx
or al, 4
add al, al
or byte [rbx + 0xf1], al
movzx edx, byte [rbx + 0xf1]
shr dl, 1
not dl
and dl, 1
call fcn.14006d140
mov r11d, dword [rsp + 0x2b4]
cmp r11d, 5
jne 0x14006e4e9
cmp dword [rsp + 0x2b8], 1
jae 0x14006e4eb
jmp 0x14006e528
jbe 0x14006e528
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov ecx, 0x1022
mov dword [rsp + 0x30], 0
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x14006e517
cmp dword [rsp + 0x30], 0
je 0x14006e517
mov al, 1
jmp 0x14006e519
xor eax, eax
and byte [rbx + 0xf1], 0xfe
and al, 1
or byte [rbx + 0xf1], al
test byte [rbx + 0x98], 0x10
jne 0x14006e55c
call fcn.1400016a0
test al, al
je 0x14006e55c
call fcn.14006b190
test al, al
je 0x14006e55c
call qword [sym.imp.UxTheme.dll_IsThemeActive]
test eax, eax
je 0x14006e55c
call qword [sym.imp.UxTheme.dll_IsAppThemed]
test eax, eax
je 0x14006e55c
mov dil, 1
jmp 0x14006e580
xor dil, dil
test byte [rbx + 0xf2], 1
je 0x14006e580
cmp qword [rbx + 0x78], 0
je 0x14006e580
cmp dword [rbx + 0x90], 0
jle 0x14006e580
mov rcx, rbx
call fcn.14005b580
and byte [rbx + 0xf2], 0xfe
and dil, 1
mov rdx, rsi
or byte [rbx + 0xf2], dil
mov rcx, rbp
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.1400762d0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret