Function at 0x417c10
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x4c4b14]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x417c83
cmp dword [0x4c4b18], ebx
jne 0x417c83
mov ebp, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8003
call ebp
push str.kernel32.dll
mov dword [0x4c4c00], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
cmp esi, ebx
jne 0x417c61
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x417c7b
push str.GetLogicalProcessorInformation
push esi
call edi
push str.GetLogicalProcessorInformationEx
push esi
mov dword [0x4c4b14], eax
call edi
mov dword [0x4c4b18], eax
mov eax, dword [0x4c4c00]
push eax
call ebp
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.UxTheme.dll
mov dword [esi], ebx
call ebp
push str.dwmapi.dll
mov dword [esi + 4], eax
call ebp
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
je 0x417da1
push str.OpenThemeData
push eax
call edi
mov ecx, dword [esi + 4]
push str.CloseThemeData
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 4]
push str.DrawThemeBackground
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.GetThemeColor
push eax
call edi
mov ecx, dword [esi + 4]
push str.GetThemeSysColorBrush
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi + 4]
push str.GetThemePartSize
push edx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push str.GetThemeBackgroundContentRect
push eax
call edi
mov ecx, dword [esi + 4]
push str.GetThemeFont
push ecx
mov dword [esi + 0x2c], eax
call edi
mov edx, dword [esi + 4]
push str.IsAppThemed
push edx
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push str.DrawThemeParentBackground
push eax
call edi
mov ecx, dword [esi + 4]
push str.SetWindowTheme
push ecx
mov dword [esi + 0x38], eax
call edi
mov edx, dword [esi + 4]
push str.IsThemeBackgroundPartiallyTransparent
push edx
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 4]
push str.DrawThemeTextEx
push eax
call edi
mov ecx, dword [esi + 4]
push str.GetThemeSysFont
push ecx
mov dword [esi + 0x44], eax
call edi
mov edx, dword [esi + 4]
push str.IsThemeActive
push edx
mov dword [esi + 0x48], eax
call edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 4]
push str.DrawThemeIcon
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [esi + 0x50], eax
push str.EnableThemeDialogTexture
push ecx
call edi
mov dword [esi + 0x54], eax
jmp 0x417dd4
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 0x417e17
push str.DwmIsCompositionEnabled
push eax
call edi
mov edx, dword [esi + 8]
push str.DwmSetWindowAttribute
push edx
mov dword [esi + 0x58], eax
call edi
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 8]
push str.DwmExtendFrameIntoClientArea
push eax
call edi
mov ecx, dword [esi + 8]
push str.DwmDefWindowProc
push ecx
mov dword [esi + 0x60], eax
call edi
mov dword [esi + 0x64], eax
mov eax, esi
pop edi
pop esi
pop ebp
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 ebp
pop ebx
ret