Function at 0x180010930
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x2b0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x18009b4d0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, rcx
call fcn.18000b0d0
mov r9d, 0x158
mov r8d, 0x154
test al, al
cmove r9d, r8d
mov dword [rsp + 0xa0], r9d
xor edx, edx
lea rcx, [rsp + 0xa4]
call fcn.1800220a0
xor r9d, r9d
lea r8, [rsp + 0xa0]
mov edx, 0x158
lea ecx, [r9 + 0x29]
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
xor esi, esi
test eax, eax
je 0x180010b62
mov dword [rsp + 0x60], esi
xor edx, edx
lea r8d, [rsi + 0x38]
lea rcx, [rsp + 0x64]
call fcn.1800220a0
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x1800109e4
lea r8, [rsp + 0x60]
lea edx, [rsi + 0x3c]
call qword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [rsp + 0x140]
cmp dword [rsp + 0x60], eax
jne 0x180010ac4
mov eax, dword [rsp + 0x144]
cmp dword [rsp + 0x64], eax
jne 0x180010ac4
mov eax, dword [rsp + 0x148]
cmp dword [rsp + 0x68], eax
jne 0x180010ac4
mov eax, dword [rsp + 0x14c]
cmp dword [rsp + 0x6c], eax
jne 0x180010ac4
mov eax, dword [rsp + 0x150]
cmp dword [rsp + 0x70], eax
jne 0x180010ac4
movzx eax, byte [rsp + 0x154]
cmp byte [rsp + 0x74], al
jne 0x180010ac4
movzx eax, byte [rsp + 0x155]
cmp byte [rsp + 0x75], al
jne 0x180010ac4
movzx eax, byte [rsp + 0x156]
cmp byte [rsp + 0x76], al
jne 0x180010ac4
movzx eax, byte [rsp + 0x157]
cmp byte [rsp + 0x77], al
jne 0x180010ac4
movzx eax, byte [rsp + 0x158]
cmp byte [rsp + 0x78], al
jne 0x180010ac4
movzx eax, byte [rsp + 0x159]
cmp byte [rsp + 0x79], al
jne 0x180010ac4
movzx eax, byte [rsp + 0x15a]
cmp byte [rsp + 0x7a], al
jne 0x180010ac4
movzx eax, byte [rsp + 0x15b]
cmp byte [rsp + 0x7b], al
jne 0x180010ac4
lea rdx, [rsp + 0x15c]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x180010b62
lea rcx, [rsp + 0x140]
call qword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov rdi, rax
test rax, rax
je 0x180010b62
cmp qword [rbx + 0x110], rsi
je 0x180010aff
mov rcx, qword [rbx + 0x110]
call qword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x180010aff
mov qword [rbx + 0x110], rsi
mov rcx, qword [rbx + 0x110]
test rcx, rcx
je 0x180010b16
cmp rcx, rdi
je 0x180010b16
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, [0x18004b63c]
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 r12, qword [rbx + 8]
mov qword [rsp + 0x50], r12
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowDC]
mov rbp, rax
mov qword [rsp + 0x48], rax
mov rdx, qword [rbx + 0x110]
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdi, rax
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x3c], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x20], 0x424
lea r9, [rsp + 0x38]
or r8d, 0xffffffff
lea rdx, [0x18004b638]
mov rcx, rbp
call qword [sym.imp.USER32.dll_DrawTextA]
mov r11d, dword [rsp + 0x40]
sub r11d, dword [rsp + 0x38]
cmp r11d, 4
jge 0x180010c0f
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [rsp + 0x20], 0x424
lea r9, [rsp + 0x38]
or r8d, 0xffffffff
lea rdx, [0x18004b634]
mov rcx, rbp
call qword [sym.imp.USER32.dll_DrawTextA]
mov r11d, dword [rsp + 0x40]
sub r11d, dword [rsp + 0x38]
mov dword [rbx + 0x128], r11d
jmp 0x180010c15
mov dword [rbx + 0x128], esi
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x200], 0x94
xor edx, edx
mov r8d, 0x90
lea rcx, [rsp + 0x204]
call fcn.1800220a0
lea rcx, [rsp + 0x200]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov r11d, dword [rsp + 0x204]
cmp r11d, 5
jb 0x180010cbc
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 0x180010c89
cmp dword [rsp + 0x30], 0
jne 0x180010c89
mov al, 1
jmp 0x180010c8b
xor eax, eax
and byte [rbx + 0xf1], 0xfd
and al, 1
or al, 4
add al, al
or byte [rbx + 0xf1], al
movzx edx, byte [rbx + 0xf1]
shr dl, 1
not dl
and dl, 1
mov rcx, rbx
call fcn.18000e5f0
mov r11d, dword [rsp + 0x204]
cmp r11d, 5
jne 0x180010cce
cmp dword [rsp + 0x208], 1
jae 0x180010cd4
jmp 0x180010d0d
cmp r11d, 5
jbe 0x180010d0d
mov dword [rsp + 0x30], esi
xor r9d, r9d
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1022
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x180010cfc
cmp dword [rsp + 0x30], 0
je 0x180010cfc
mov al, 1
jmp 0x180010cfe
xor eax, eax
and byte [rbx + 0xf1], 0xfe
and al, 1
or byte [rbx + 0xf1], al
call fcn.18000b0d0
test al, al
je 0x180010d9a
call fcn.18000b030
test al, al
je 0x180010d9a
test byte [rbx + 0x98], 0x10
jne 0x180010d9a
mov dil, 1
lea rcx, str.uxtheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180010dbe
lea rdx, str.IsThemeActive
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180010d5f
call rax
test eax, eax
jne 0x180010d62
xor dil, dil
lea rdx, str.IsAppThemed
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test dil, dil
je 0x180010d87
test rax, rax
je 0x180010d87
call rax
test eax, eax
je 0x180010d87
mov dil, 1
jmp 0x180010d8a
xor dil, dil
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test dil, dil
jne 0x180010dbe
jmp 0x180010d9d
xor dil, dil
test byte [rbx + 0xf2], 1
je 0x180010dbe
cmp qword [rbx + 0x78], 0
je 0x180010dbe
cmp dword [rbx + 0x90], 0
jle 0x180010dbe
mov rcx, rbx
call fcn.180010320
and byte [rbx + 0xf2], 0xfe
and dil, 1
or byte [rbx + 0xf2], dil
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.180022070
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret