Function at 0x18003aab0
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x2c0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor ebp, ebp
test ecx, ecx
jne 0x18003ab5d
lea rcx, str.Uxtheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
jne 0x18003ab06
mov edi, ebp
jmp 0x18003ab54
lea rdx, str.IsAppThemed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18003ab34
lea rcx, str._VisualStyle__IsXpAppThemed__Fail_to_GetProcAddress.
call fcn.1800121f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, ebp
jmp 0x18003ab54
call rax
mov edi, eax
mov edx, ebp
test eax, eax
sete dl
lea rcx, str._VisualStyle__IsXpAppThemed__IsAppThemed_:__d
call fcn.1800121f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, ebp
test edi, edi
setne cl
inc ecx
sub ecx, 1
je 0x18003acc0
cmp ecx, 1
jne 0x18003acb8
mov ecx, 0x18
call fcn.180050604
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18003acb0
mov qword [rax + 8], rbp
lea r14, [rax + 0x10]
mov dword [r14], ebp
lea rax, vtable.CThemedVisualStyle.0
mov qword [rdi], rax
lea rdx, str.REBAR
xor ecx, ecx
call qword [sym.imp.UxTheme.dll_OpenThemeData]
mov rsi, rax
test rax, rax
je 0x18003ac66
xor edx, edx
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x50]
call fcn.18009b170
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xd2
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 3]
mov rcx, rsi
call qword [sym.imp.UxTheme.dll_GetThemeFont]
test eax, eax
js 0x18003ac5b
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov dword [rsp + 0x30], ebp
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x34]
call fcn.18003ae40
mov r8d, 0x48
mov edx, dword [rsp + 0x34]
lea ecx, [r8 - 0x3f]
call qword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [rsp + 0x50], eax
mov edx, eax
lea rcx, str._VisualStyle__CreateFont__Theme__lf.lfHeight:__d
call fcn.1800121f0
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rcx, [rsp + 0x50]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rdi + 8], rax
mov rcx, rsi
call qword [sym.imp.UxTheme.dll_CloseThemeData]
jmp 0x18003ac72
lea rcx, str.CreateFont_OpenThemeData_fail
call fcn.1800121f0
lea rdx, str.REBAR
xor ecx, ecx
call qword [sym.imp.UxTheme.dll_OpenThemeData]
mov rbx, rax
test rax, rax
je 0x18003acae
mov qword [rsp + 0x20], r14
mov r9d, 0xedb
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rax
call qword [sym.imp.UxTheme.dll_GetThemeColor]
mov rcx, rbx
call qword [sym.imp.UxTheme.dll_CloseThemeData]
nop
jmp 0x18003acb3
mov rdi, rbp
jmp 0x18003adae
mov rax, rbp
jmp 0x18003adb1
mov ecx, 0x18
call fcn.180050604
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18003adab
mov qword [rax + 8], rbp
mov dword [rax + 0x10], ebp
lea rax, vtable.CClassicVisualStyle.0
mov qword [rdi], rax
mov ebx, 0x1f8
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.18009b170
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, 0x1f4
cmp al, 6
cmovae edx, ebx
mov dword [rsp + 0xb0], edx
xor r9d, r9d
lea r8, [rsp + 0xb0]
lea ecx, [r9 + 0x29]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x18003ada2
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov dword [rsp + 0x34], ebp
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
call fcn.18003ae40
mov r8d, 0x48
mov edx, dword [rsp + 0x30]
lea ecx, [r8 - 0x3f]
call qword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [rsp + 0x248], eax
mov edx, eax
lea rcx, str._VisualStyle__CreateFont__Classic__lf.lfHeight:__d
call fcn.1800121f0
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rcx, [rsp + 0x248]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rdi + 8], rax
mov dword [rdi + 0x10], 0xffffff
jmp 0x18003adae
mov rdi, rbp
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.180050ad0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret