Function at 0x18003b060
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 [0x180143158]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor ebp, ebp
test ecx, ecx
jne 0x18003b10d
lea rcx, str.Uxtheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
jne 0x18003b0b6
mov edi, ebp
jmp 0x18003b104
lea rdx, str.IsAppThemed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18003b0e4
lea rcx, str._VisualStyle__IsXpAppThemed__Fail_to_GetProcAddress.
call fcn.1800127a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, ebp
jmp 0x18003b104
call rax
mov edi, eax
mov edx, ebp
test eax, eax
sete dl
lea rcx, str._VisualStyle__IsXpAppThemed__IsAppThemed_:__d
call fcn.1800127a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, ebp
test edi, edi
setne cl
inc ecx
sub ecx, 1
je 0x18003b270
cmp ecx, 1
jne 0x18003b268
mov ecx, 0x18
call fcn.180050ac4
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18003b260
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 0x18003b216
xor edx, edx
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x50]
call fcn.18009b770
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 0x18003b20b
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.18003b3f0
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.1800127a0
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 0x18003b222
lea rcx, str.CreateFont_OpenThemeData_fail
call fcn.1800127a0
lea rdx, str.REBAR
xor ecx, ecx
call qword [sym.imp.UxTheme.dll_OpenThemeData]
mov rbx, rax
test rax, rax
je 0x18003b25e
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 0x18003b263
mov rdi, rbp
jmp 0x18003b35e
mov rax, rbp
jmp 0x18003b361
mov ecx, 0x18
call fcn.180050ac4
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18003b35b
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.18009b770
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 0x18003b352
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.18003b3f0
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.1800127a0
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 0x18003b35e
mov rdi, rbp
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.180050f90
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