Function at 0x14004bbf8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.User32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbx + 0x18], rax
call fcn.1401165c8
test al, al
je 0x14004bd5f
mov rcx, qword [rbx + 0x18]
lea rdx, str.ChangeWindowMessageFilter
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x14004bc52
mov edx, 1
mov ecx, 0x323
call rax
mov edx, 1
mov ecx, 0x326
call qword [rbx + 0x38]
lea rcx, str.dwmapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14004bd5f
lea rdx, str.DwmIsCompositionEnabled
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x20]
lea rdx, str.DwmSetWindowAttribute
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x20]
lea rdx, str.DwmGetWindowAttribute
mov qword [rbx + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x20]
lea rdx, str.DwmExtendFrameIntoClientArea
mov qword [rbx + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x20]
lea rdx, str.DwmDefWindowProc
mov qword [rbx + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x20]
lea rdx, str.DwmSetIconicThumbnail
mov qword [rbx + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x20]
lea rdx, str.DwmSetIconicLivePreviewBitmap
mov qword [rbx + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x20]
lea rdx, str.DwmInvalidateIconicBitmaps
mov qword [rbx + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x20]
lea rdx, str.DwmEnableBlurBehindWindow
mov qword [rbx + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rbx + 0x40], 0
mov qword [rbx + 0x80], rax
je 0x14004bd52
cmp qword [rbx + 0x60], 0
je 0x14004bd52
cmp qword [rbx + 0x48], 0
je 0x14004bd52
cmp qword [rbx + 0x50], 0
je 0x14004bd52
cmp qword [rbx + 0x58], 0
je 0x14004bd52
mov al, 1
jmp 0x14004bd54
xor al, al
mov byte [rbx + 8], al
test al, al
je 0x14004bd5f
mov byte [rbx + 0xb], 1
mov eax, dword [0x14022aa24]
cmp eax, 6
jae 0x14004bd80
cmp eax, 5
jne 0x14004bfa6
cmp dword [0x14022aa28], 1
jb 0x14004bfa6
lea rcx, str.UxTheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x14004bfa6
lea rdx, str.IsAppThemed
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.IsThemeActive
mov qword [rbx + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.OpenThemeData
mov qword [rbx + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.CloseThemeData
mov qword [rbx + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.DrawThemeBackground
mov qword [rbx + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.DrawThemeEdge
mov qword [rbx + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.GetThemeMargins
mov qword [rbx + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.GetThemePartSize
mov qword [rbx + 0xe8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.GetThemePosition
mov qword [rbx + 0xf0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.GetThemeSysSize
mov qword [rbx + 0xf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.GetThemeBackgroundContentRect
mov qword [rbx + 0x100], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.SetThemeAppProperties
mov qword [rbx + 0x108], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.BufferedPaintInit
mov qword [rbx + 0x110], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.BufferedPaintUnInit
mov qword [rbx + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.BeginBufferedPaint
mov qword [rbx + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.BufferedPaintSetAlpha
mov qword [rbx + 0xb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.EndBufferedPaint
mov qword [rbx + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.DrawThemeTextEx
mov qword [rbx + 0xc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x28]
lea rdx, str.SetWindowTheme
mov qword [rbx + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rbx + 0x88], 0
mov qword [rbx + 0x120], rax
je 0x14004bf79
cmp qword [rbx + 0x90], 0
je 0x14004bf79
mov al, 1
jmp 0x14004bf7b
xor al, al
mov byte [rbx + 9], al
test al, al
je 0x14004bfa6
mov rax, qword [rbx + 0xa8]
mov byte [rbx + 0xc], 1
test rax, rax
je 0x14004bfa6
cmp qword [rbx + 0xb0], 0
je 0x14004bfa6
call rax
test eax, eax
setns al
mov byte [rbx + 0xa], al
call fcn.140116544
test al, al
je 0x14004bfc4
mov rcx, qword [rbx + 0x18]
lea rdx, str.AdjustWindowRectExForDpi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
add rsp, 0x20
pop rbx
ret