Function at 0x53d8a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x2c]
mov eax, 1
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x10]
call fcn.0040d4e0
call fcn.0040f0d0
push eax
test eax, eax
jne 0x53df42
add dword [0x5a9120], 1
cmp dword [0x5a9110], 0
jne 0x53df37
mov eax, str.uxtheme.dll
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5a9110], eax
test eax, eax
jbe 0x53df37
mov eax, str.OpenThemeData
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8cb0], eax
mov eax, str.CloseThemeData
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8cd0], eax
mov eax, str.DrawThemeBackground
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8ce0], eax
mov eax, str.DrawThemeText
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8d00], eax
mov eax, str.GetThemeBackgroundContentRect
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8d10], eax
mov eax, str.GetThemeBackgroundExtent
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8d20], eax
mov eax, str.GetThemePartSize
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8d40], eax
mov eax, str.GetThemeTextExtent
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8d50], eax
mov eax, str.GetThemeTextMetrics
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8d60], eax
mov eax, str.GetThemeBackgroundRegion
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8d30], eax
mov eax, str.HitTestThemeBackground
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8d70], eax
mov eax, str.DrawThemeEdge
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8d80], eax
mov eax, str.DrawThemeIcon
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8d90], eax
mov eax, str.IsThemePartDefined
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8da0], eax
mov eax, str.IsThemeBackgroundPartiallyTransparent
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8db0], eax
mov eax, str.GetThemeColor
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8dc0], eax
mov eax, str.GetThemeMetric
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8dd0], eax
mov eax, str.GetThemeString
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8de0], eax
mov eax, str.GetThemeBool
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8df0], eax
mov eax, str.GetThemeInt
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8e00], eax
mov eax, str.GetThemeEnumValue
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8e10], eax
mov eax, str.GetThemePosition
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8e20], eax
mov eax, str.GetThemeFont
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8e30], eax
mov eax, str.GetThemeRect
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8e40], eax
mov eax, str.GetThemeMargins
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8e50], eax
mov eax, str.GetThemeIntList
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8e60], eax
mov eax, str.GetThemePropertyOrigin
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8e70], eax
mov eax, str.SetWindowTheme
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8e80], eax
mov eax, str.GetThemeFilename
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8e90], eax
mov eax, str.GetThemeSysColor
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8ea0], eax
mov eax, str.GetThemeSysColorBrush
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8eb0], eax
mov eax, str.GetThemeSysBool
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8ec0], eax
mov eax, str.GetThemeSysSize
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8ed0], eax
mov eax, str.GetThemeSysFont
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8ee0], eax
mov eax, str.GetThemeSysString
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8ef0], eax
mov eax, str.GetThemeSysInt
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8f00], eax
mov eax, str.IsThemeActive
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8f10], eax
mov eax, str.IsAppThemed
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8f20], eax
mov eax, str.GetWindowTheme
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8f30], eax
mov eax, str.EnableThemeDialogTexture
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8f40], eax
mov eax, str.IsThemeDialogTextureEnabled
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8f50], eax
mov eax, str.GetThemeAppProperties
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8f60], eax
mov eax, str.SetThemeAppProperties
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8f70], eax
mov eax, str.GetCurrentThemeName
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8f80], eax
mov eax, str.GetThemeDocumentationProperty
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8f90], eax
mov eax, str.DrawThemeParentBackground
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8fa0], eax
mov eax, str.EnableTheming
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8fb0], eax
mov eax, str.OpenThemeDataEx
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8cc0], eax
mov eax, str.DrawThemeBackgroundEx
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8cf0], eax
mov eax, str.DrawThemeParentBackgroundEx
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8fc0], eax
mov eax, str.SetWindowThemeAttribute
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8fd0], eax
mov eax, str.DrawThemeTextEx
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8fe0], eax
mov eax, str.GetThemeBitmap
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8ff0], eax
mov eax, str.GetThemeStream
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a9000], eax
mov eax, str.BufferedPaintInit
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a9010], eax
mov eax, str.BufferedPaintUnInit
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a9020], eax
mov eax, str.BeginBufferedPaint
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a9030], eax
mov eax, str.EndBufferedPaint
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a9040], eax
mov eax, str.GetBufferedPaintTargetRect
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a9050], eax
mov eax, str.GetBufferedPaintTargetDC
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a9060], eax
mov eax, str.GetBufferedPaintDC
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a9070], eax
mov eax, str.GetBufferedPaintBits
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a9080], eax
mov eax, str.BufferedPaintClear
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a9090], eax
mov eax, str.BufferedPaintSetAlpha
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a90a0], eax
mov eax, str.BufferedPaintStopAllAnimations
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a90b0], eax
mov eax, str.BeginBufferedAnimation
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a90c0], eax
mov eax, str.EndBufferedAnimation
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a90d0], eax
mov eax, str.BufferedPaintRenderAnimation
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a90e0], eax
mov eax, str.IsCompositionActive
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a90f0], eax
mov eax, str.GetThemeTransitionDuration
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a9100], eax
mov eax, str.BeginPanningFeedback
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8c80], eax
mov eax, str.UpdatePanningFeedback
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8c90], eax
mov eax, str.EndPanningFeedback
push eax
push dword [0x5a9110]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5a8ca0], eax
cmp dword [0x5a9110], 0
seta byte [ebp - 4]
call fcn.0040d760
pop eax
test eax, eax
je 0x53df51
call fcn.0040d890
mov al, byte [ebp - 4]
leave
ret