Function at 0x417c10
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
push str.UxTheme.dll
mov dword [esi], ebx
call edi
push str.dwmapi.dll
mov dword [esi + 4], eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ebx
cmp eax, ebx
mov dword [esi + 0x10], ebx
je 0x417d39
push str.OpenThemeData
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.CloseThemeData
push eax
call edi
mov ecx, dword [esi + 4]
push str.DrawThemeBackground
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 4]
push str.GetThemeColor
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push str.GetThemeSysColorBrush
push eax
call edi
mov ecx, dword [esi + 4]
push str.GetThemePartSize
push ecx
mov dword [esi + 0x24], eax
call edi
mov edx, dword [esi + 4]
push str.GetThemeBackgroundContentRect
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
push str.GetThemeFont
push eax
call edi
mov ecx, dword [esi + 4]
push str.IsAppThemed
push ecx
mov dword [esi + 0x30], eax
call edi
mov edx, dword [esi + 4]
push str.DrawThemeParentBackground
push edx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
push str.SetWindowTheme
push eax
call edi
mov ecx, dword [esi + 4]
push str.IsThemeBackgroundPartiallyTransparent
push ecx
mov dword [esi + 0x3c], eax
call edi
mov edx, dword [esi + 4]
push str.DrawThemeTextEx
push edx
mov dword [esi + 0x40], eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
push str.GetThemeSysFont
push eax
call edi
mov ecx, dword [esi + 4]
push str.IsThemeActive
push ecx
mov dword [esi + 0x48], eax
call edi
mov edx, dword [esi + 4]
push str.DrawThemeIcon
push edx
mov dword [esi + 0x4c], eax
call edi
mov dword [esi + 0x50], eax
mov eax, dword [esi + 4]
push str.EnableThemeDialogTexture
push eax
call edi
mov dword [esi + 0x54], eax
jmp 0x417d6c
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x417dae
push str.DwmIsCompositionEnabled
push eax
call edi
mov ecx, dword [esi + 8]
push str.DwmSetWindowAttribute
push ecx
mov dword [esi + 0x58], eax
call edi
mov edx, dword [esi + 8]
push str.DwmExtendFrameIntoClientArea
push edx
mov dword [esi + 0x5c], eax
call edi
mov dword [esi + 0x60], eax
mov eax, dword [esi + 8]
push str.DwmDefWindowProc
push eax
call edi
mov dword [esi + 0x64], eax
mov eax, esi
pop edi
pop esi
pop ebx
ret
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov eax, esi
pop edi
pop esi
pop ebx
ret