Function at 0x507480
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add dword [0x682c10], 1
cmp dword [0x682c00], 0
jne 0x5076ec
mov eax, str.dwmapi.dll
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x682c00], eax
test eax, eax
jbe 0x5076ec
mov eax, str.DwmDefWindowProc
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682a60], eax
mov eax, str.DwmEnableBlurBehindWindow
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682a70], eax
mov eax, str.DwmEnableComposition
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682a80], eax
mov eax, str.DwmEnableMMCSS
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682a90], eax
mov eax, str.DwmExtendFrameIntoClientArea
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682aa0], eax
mov eax, str.DwmGetColorizationColor
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682ab0], eax
mov eax, str.DwmGetCompositionTimingInfo
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682ac0], eax
mov eax, str.DwmGetWindowAttribute
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682ad0], eax
mov eax, str.DwmIsCompositionEnabled
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682ae0], eax
mov eax, str.DwmModifyPreviousDxFrameDuration
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682af0], eax
mov eax, str.DwmQueryThumbnailSourceSize
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682b00], eax
mov eax, str.DwmRegisterThumbnail
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682b10], eax
mov eax, str.DwmSetDxFrameDuration
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682b20], eax
mov eax, str.DwmSetPresentParameters
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682b30], eax
mov eax, str.DwmSetWindowAttribute
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682b40], eax
mov eax, str.DwmUnregisterThumbnail
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682b50], eax
mov eax, str.DwmUpdateThumbnailProperties
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682b60], eax
mov eax, str.DwmAttachMilContent
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682ba0], eax
mov eax, str.DwmDetachMilContent
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682bb0], eax
mov eax, str.DwmFlush
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682bc0], eax
mov eax, str.DwmGetGraphicsStreamTransformHint
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682bd0], eax
mov eax, str.DwmGetGraphicsStreamClient
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682be0], eax
mov eax, str.DwmGetTransportAttributes
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682bf0], eax
mov eax, str.DwmSetIconicThumbnail
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682b70], eax
mov eax, str.DwmSetIconicLivePreviewBitmap
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682b80], eax
mov eax, str.DwmInvalidateIconicBitmaps
push eax
push dword [0x682c00]
call sub.kernel32.dll_GetProcAddress
mov dword [0x682b90], eax
nop
cmp dword [0x682c00], 0
seta al
mov esp, ebp
pop ebp
ret