Function at 0x506ed0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
xor eax, eax
push fcn.00506ec0
push ebp
push 0x414ce0
push dword fs:[eax]
mov dword fs:[eax], esp
add dword [0x748680], 1
cmp dword [0x748670], 0
jne 0x50755c
mov eax, str.uxtheme.dll
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x748670], eax
test eax, eax
jbe 0x50755c
mov eax, str.OpenThemeData
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748210], eax
mov eax, str.CloseThemeData
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748230], eax
mov eax, str.DrawThemeBackground
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748240], eax
mov eax, str.DrawThemeText
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748260], eax
mov eax, str.GetThemeBackgroundContentRect
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748270], eax
mov eax, str.GetThemeBackgroundExtent
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748280], eax
mov eax, str.GetThemePartSize
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7482a0], eax
mov eax, str.GetThemeTextExtent
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7482b0], eax
mov eax, str.GetThemeTextMetrics
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7482c0], eax
mov eax, str.GetThemeBackgroundRegion
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748290], eax
mov eax, str.HitTestThemeBackground
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7482d0], eax
mov eax, str.DrawThemeEdge
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7482e0], eax
mov eax, str.DrawThemeIcon
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7482f0], eax
mov eax, str.IsThemePartDefined
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748300], eax
mov eax, str.IsThemeBackgroundPartiallyTransparent
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748310], eax
mov eax, str.GetThemeColor
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748320], eax
mov eax, str.GetThemeMetric
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748330], eax
mov eax, str.GetThemeString
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748340], eax
mov eax, str.GetThemeBool
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748350], eax
mov eax, str.GetThemeInt
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748360], eax
mov eax, str.GetThemeEnumValue
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748370], eax
mov eax, str.GetThemePosition
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748380], eax
mov eax, str.GetThemeFont
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748390], eax
mov eax, str.GetThemeRect
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7483a0], eax
mov eax, str.GetThemeMargins
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7483b0], eax
mov eax, str.GetThemeIntList
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7483c0], eax
mov eax, str.GetThemePropertyOrigin
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7483d0], eax
mov eax, str.SetWindowTheme
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7483e0], eax
mov eax, str.GetThemeFilename
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7483f0], eax
mov eax, str.GetThemeSysColor
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748400], eax
mov eax, str.GetThemeSysColorBrush
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748410], eax
mov eax, str.GetThemeSysBool
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748420], eax
mov eax, str.GetThemeSysSize
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748430], eax
mov eax, str.GetThemeSysFont
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748440], eax
mov eax, str.GetThemeSysString
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748450], eax
mov eax, str.GetThemeSysInt
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748460], eax
mov eax, str.IsThemeActive
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748470], eax
mov eax, str.IsAppThemed
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748480], eax
mov eax, str.GetWindowTheme
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748490], eax
mov eax, str.EnableThemeDialogTexture
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7484a0], eax
mov eax, str.IsThemeDialogTextureEnabled
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7484b0], eax
mov eax, str.GetThemeAppProperties
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7484c0], eax
mov eax, str.SetThemeAppProperties
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7484d0], eax
mov eax, str.GetCurrentThemeName
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7484e0], eax
mov eax, str.GetThemeDocumentationProperty
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7484f0], eax
mov eax, str.DrawThemeParentBackground
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748500], eax
mov eax, str.EnableTheming
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748510], eax
mov eax, str.OpenThemeDataEx
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748220], eax
mov eax, str.DrawThemeBackgroundEx
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748250], eax
mov eax, str.DrawThemeParentBackgroundEx
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748520], eax
mov eax, str.SetWindowThemeAttribute
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748530], eax
mov eax, str.DrawThemeTextEx
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748540], eax
mov eax, str.GetThemeBitmap
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748550], eax
mov eax, str.GetThemeStream
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748560], eax
mov eax, str.BufferedPaintInit
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748570], eax
mov eax, str.BufferedPaintUnInit
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748580], eax
mov eax, str.BeginBufferedPaint
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748590], eax
mov eax, str.EndBufferedPaint
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7485a0], eax
mov eax, str.GetBufferedPaintTargetRect
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7485b0], eax
mov eax, str.GetBufferedPaintTargetDC
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7485c0], eax
mov eax, str.GetBufferedPaintDC
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7485d0], eax
mov eax, str.GetBufferedPaintBits
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7485e0], eax
mov eax, str.BufferedPaintClear
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7485f0], eax
mov eax, str.BufferedPaintSetAlpha
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748600], eax
mov eax, str.BufferedPaintStopAllAnimations
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748610], eax
mov eax, str.BeginBufferedAnimation
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748620], eax
mov eax, str.EndBufferedAnimation
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748630], eax
mov eax, str.BufferedPaintRenderAnimation
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748640], eax
mov eax, str.IsCompositionActive
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748650], eax
mov eax, str.GetThemeTransitionDuration
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748660], eax
mov eax, str.BeginPanningFeedback
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7481e0], eax
mov eax, str.UpdatePanningFeedback
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x7481f0], eax
mov eax, str.EndPanningFeedback
push eax
push dword [0x748670]
call sub.kernel32.dll_GetProcAddress
mov dword [0x748200], eax
cmp dword [0x748670], 0
seta byte [ebp - 4]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00506ec0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret