Function at 0x140098ea0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x140216b40]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov rbx, rcx
mov dword [rbp - 0x50], 0x1f4
lea rcx, [rbp - 0x4c]
xor edx, edx
mov r8d, 0x1f0
call fcn.1400e0460
xor r9d, r9d
lea r8, [rbp - 0x50]
mov edx, 0x1f4
lea ecx, [r9 + 0x29]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x1400990a7
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x5c]
call fcn.1400e0460
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x140098f33
lea r8, [rsp + 0x50]
mov edx, 0x5c
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rbp + 0x90]
cmp dword [rsp + 0x50], eax
jne 0x140099005
mov eax, dword [rbp + 0x94]
cmp dword [rsp + 0x54], eax
jne 0x140099005
mov eax, dword [rbp + 0x98]
cmp dword [rsp + 0x58], eax
jne 0x140099005
mov eax, dword [rbp + 0x9c]
cmp dword [rsp + 0x5c], eax
jne 0x140099005
mov eax, dword [rbp + 0xa0]
cmp dword [rsp + 0x60], eax
jne 0x140099005
movzx eax, byte [rbp + 0xa4]
cmp byte [rsp + 0x64], al
jne 0x140099005
movzx eax, byte [rbp + 0xa5]
cmp byte [rsp + 0x65], al
jne 0x140099005
movzx eax, byte [rbp + 0xa6]
cmp byte [rsp + 0x66], al
jne 0x140099005
movzx eax, byte [rbp + 0xa7]
cmp byte [rsp + 0x67], al
jne 0x140099005
movzx eax, byte [rbp + 0xa8]
cmp byte [rsp + 0x68], al
jne 0x140099005
movzx eax, byte [rbp + 0xa9]
cmp byte [rsp + 0x69], al
jne 0x140099005
movzx eax, byte [rbp + 0xaa]
cmp byte [rsp + 0x6a], al
jne 0x140099005
movzx eax, byte [rbp + 0xab]
cmp byte [rsp + 0x6b], al
jne 0x140099005
lea rdx, [rbp + 0xac]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400990a7
lea rcx, [rbp + 0x90]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rdi, rax
test rax, rax
je 0x1400990a7
cmp qword [rbx + 0x110], 0
je 0x140099044
mov rcx, qword [rbx + 0x110]
call qword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x140099044
mov qword [rbx + 0x110], 0
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x14009905b
cmp rcx, rdi
je 0x14009905b
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r9d, 1
mov qword [rbx + 0x110], rdi
mov rcx, qword [rbx + 8]
mov r8, rdi
lea edx, [r9 + 0x2f]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
lea r9, [0x14018be40]
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 rsi, qword [rbx + 8]
mov rcx, rsi
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]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x424
lea r9, [rsp + 0x38]
or r8d, 0xffffffff
lea rdx, [0x14018be48]
mov rcx, rdi
movdqu xmmword [rsp + 0x38], xmm0
mov r14, rax
call qword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x38]
cmp ecx, 4
jge 0x14009913d
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetRectEmpty]
lea r9, [rsp + 0x38]
mov dword [rsp + 0x20], 0x424
or r8d, 0xffffffff
lea rdx, [0x14018be4c]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [rsp + 0x40]
sub eax, dword [rsp + 0x38]
mov dword [rbx + 0x128], eax
jmp 0x140099147
mov dword [rbx + 0x128], 0
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
xor edx, edx
mov dword [rbp + 0x1b0], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rbp + 0x1b4]
call fcn.1400e0460
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rbp + 0x1b4]
cmp eax, 5
jb 0x140099233
xor r9d, r9d
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x100a
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x1400991b9
cmp dword [rsp + 0x30], 0
jne 0x1400991b9
mov al, 2
jmp 0x1400991bb
xor eax, eax
and byte [rbx + 0xf1], 0xfd
or al, 8
or byte [rbx + 0xf1], al
mov rcx, rbx
movzx edx, byte [rbx + 0xf1]
shr dl, 1
not dl
and dl, 1
call fcn.1400a2b50
mov eax, dword [rbp + 0x1b4]
cmp eax, 5
jne 0x1400991f6
cmp dword [rbp + 0x1b8], 1
jae 0x1400991f8
jmp 0x140099233
jbe 0x140099233
xor r9d, r9d
mov dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1022
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x140099224
cmp dword [rsp + 0x30], 0
je 0x140099224
mov al, 1
jmp 0x140099226
xor eax, eax
and byte [rbx + 0xf1], 0xfe
or byte [rbx + 0xf1], al
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1400dd830
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret