Function at 0x14000d230
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x1400975a0]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov rbx, rcx
call fcn.14000e360
mov ecx, 0x1f8
test al, al
mov r8d, 0x1f4
cmove ecx, r8d
xor edx, edx
mov dword [rbp - 0x50], ecx
lea rcx, [rbp - 0x4c]
call fcn.14001d0b0
xor r9d, r9d
lea r8, [rbp - 0x50]
lea ecx, [r9 + 0x29]
mov edx, 0x1f8
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
xor r15d, r15d
test eax, eax
je 0x14000d44b
lea r8d, [r15 + 0x58]
lea rcx, [rsp + 0x54]
xor edx, edx
mov dword [rsp + 0x50], r15d
call fcn.14001d0b0
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x14000d2dc
lea r8, [rsp + 0x50]
lea edx, [r15 + 0x5c]
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rbp + 0x90]
cmp dword [rsp + 0x50], eax
jne 0x14000d3ae
mov eax, dword [rbp + 0x94]
cmp dword [rsp + 0x54], eax
jne 0x14000d3ae
mov eax, dword [rbp + 0x98]
cmp dword [rsp + 0x58], eax
jne 0x14000d3ae
mov eax, dword [rbp + 0x9c]
cmp dword [rsp + 0x5c], eax
jne 0x14000d3ae
mov eax, dword [rbp + 0xa0]
cmp dword [rsp + 0x60], eax
jne 0x14000d3ae
movzx eax, byte [rbp + 0xa4]
cmp byte [rsp + 0x64], al
jne 0x14000d3ae
movzx eax, byte [rbp + 0xa5]
cmp byte [rsp + 0x65], al
jne 0x14000d3ae
movzx eax, byte [rbp + 0xa6]
cmp byte [rsp + 0x66], al
jne 0x14000d3ae
movzx eax, byte [rbp + 0xa7]
cmp byte [rsp + 0x67], al
jne 0x14000d3ae
movzx eax, byte [rbp + 0xa8]
cmp byte [rsp + 0x68], al
jne 0x14000d3ae
movzx eax, byte [rbp + 0xa9]
cmp byte [rsp + 0x69], al
jne 0x14000d3ae
movzx eax, byte [rbp + 0xaa]
cmp byte [rsp + 0x6a], al
jne 0x14000d3ae
movzx eax, byte [rbp + 0xab]
cmp byte [rsp + 0x6b], al
jne 0x14000d3ae
lea rdx, [rbp + 0xac]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14000d44b
lea rcx, [rbp + 0x90]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rdi, rax
test rax, rax
je 0x14000d44b
cmp qword [rbx + 0x110], r15
je 0x14000d3e8
mov rcx, qword [rbx + 0x110]
call qword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x14000d3e8
mov qword [rbx + 0x110], r15
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x14000d3ff
cmp rcx, rdi
je 0x14000d3ff
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, [0x1400463a0]
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 r14, qword [rbx + 8]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowDC]
mov rdx, qword [rbx + 0x110]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [rsp + 0x38]
lea rdx, [0x1400463a8]
xorps xmm0, xmm0
or r8d, 0xffffffff
mov rcx, rdi
movdqu xmmword [rsp + 0x38], xmm0
mov rsi, rax
mov dword [rsp + 0x20], 0x424
call qword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x38]
cmp ecx, 4
jge 0x14000d4e1
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetRectEmpty]
lea r9, [rsp + 0x38]
lea rdx, [0x1400463ac]
or r8d, 0xffffffff
mov rcx, rdi
mov dword [rsp + 0x20], 0x424
call qword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [rsp + 0x40]
sub eax, dword [rsp + 0x38]
mov dword [rbx + 0x128], eax
jmp 0x14000d4e8
mov dword [rbx + 0x128], r15d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
lea rcx, [rbp + 0x1b4]
xor edx, edx
mov r8d, pe_nt_image_headers64
mov dword [rbp + 0x1b0], VarUI4FromDisp
call fcn.14001d0b0
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rbp + 0x1b4]
cmp eax, 5
jb 0x14000d5d7
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 0x14000d55a
cmp dword [rsp + 0x30], r15d
jne 0x14000d55a
mov al, 1
jmp 0x14000d55c
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.1400179f0
mov eax, dword [rbp + 0x1b4]
cmp eax, 5
jne 0x14000d59b
cmp dword [rbp + 0x1b8], 1
jae 0x14000d59d
jmp 0x14000d5d7
jbe 0x14000d5d7
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov ecx, 0x1022
mov dword [rsp + 0x30], r15d
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x14000d5c6
cmp dword [rsp + 0x30], r15d
je 0x14000d5c6
mov al, 1
jmp 0x14000d5c8
xor eax, eax
and byte [rbx + 0xf1], 0xfe
and al, 1
or byte [rbx + 0xf1], al
call fcn.14000e360
test byte [rbx + 0xf2], 1
je 0x14000d5fc
cmp qword [rbx + 0x78], r15
je 0x14000d5fc
cmp dword [rbx + 0x90], r15d
jle 0x14000d5fc
mov rcx, rbx
call fcn.14001a5c0
and byte [rbx + 0xf2], 0xfe
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14001d080
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret