Function at 0x500a60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [esi], 0x5f0c90
mov eax, dword [0x67e9d0]
cmp eax, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
jne 0x500aae
push str.dwmapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [0x67e9d0], eax
je 0x500ad5
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmIsCompositionEnabled
push eax
call ebx
mov dword [0x67e9cc], eax
mov eax, dword [0x67e9d0]
push str.DwmSetWindowAttribute
push eax
call ebx
mov dword [0x67e9d8], eax
jmp 0x500adb
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [0x67e9d4]
cmp eax, edi
jne 0x500af8
push str.UxTheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [0x67e9d4], eax
je 0x500b50
push str.OpenThemeData
push eax
call ebx
mov ecx, dword [0x67e9d4]
push str.CloseThemeData
push ecx
mov dword [0x67e9b8], eax
call ebx
mov edx, dword [0x67e9d4]
push str.DrawThemeBackground
push edx
mov dword [0x67e9bc], eax
call ebx
mov dword [0x67e9c0], eax
mov eax, dword [0x67e9d4]
push str.GetThemeSysFont
push eax
call ebx
mov ecx, dword [0x67e9d4]
push str.DrawThemeTextEx
push ecx
mov dword [0x67e9c4], eax
call ebx
mov dword [0x67e9c8], eax
mov edx, dword [ebp + 8]
mov eax, 8
push edx
mov ecx, esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x1f
mov dword [esi + 0x44], 0x14
mov dword [esi + 0x48], 0x2f
mov dword [esi + 0x4c], 0x1d
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0xc
mov dword [esi + 0x58], 5
mov dword [esi + 0x5c], eax
call fcn.00501a00
lea eax, [esi + 0x60]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 6
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1c], edx
call ebx
shl eax, 1
push 4
mov edi, eax
call ebx
mov dword [ebp - 0x18], edi
mov edi, eax
mov eax, dword [ebp - 0x18]
push 5
neg edi
sub edi, eax
call ebx
mov ecx, eax
or eax, 0xffffffff
sub eax, ecx
push edi
shl eax, 1
lea edx, [ebp - 0x28]
push eax
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
lea eax, [esi + 0x8c]
mov dword [esi + 0x8c], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
push ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xa0], eax
call fcn.0059a83d
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [esi + 0xa0]
push edx
push eax
call fcn.00597876
push 0x1e
call ebx
push 0x1f
mov edi, eax
call ebx
lea ecx, [edi - 5]
mov edx, 8
add eax, 0xfffffffb
cmp ecx, edx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], eax
jle 0x500c7b
mov dword [esi + 0x84], edx
cmp eax, edx
jle 0x500c85
mov dword [esi + 0x88], edx
call fcn.005a8034
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x84]
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push ecx
mov ecx, dword [ebp + 0x18]
mov ebx, 1
push edx
and ecx, 0xffff
push ebx
push ecx
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [0x67e570]
test eax, eax
je 0x500cde
call fcn.005a8034
mov eax, dword [eax + 8]
push 0
push 0x10
push 0x10
push ebx
push 0x80
push eax
call edi
mov dword [esi + 0xc], eax
jmp 0x500ce5
mov dword [esi + 0xc], 0
mov edx, dword [ebp + 0x14]
mov byte [esi + 4], 0
mov dword [esi + 0x80], edx
mov byte [esi + 5], bl
mov eax, dword [0x67e570]
test eax, eax
je 0x500d54
mov eax, dword [0x67e9d8]
test eax, eax
je 0x500d54
mov ecx, dword [0x67e9b8]
test ecx, ecx
je 0x500d54
mov ecx, dword [0x67e9bc]
test ecx, ecx
je 0x500d54
mov ecx, dword [0x67e9c4]
test ecx, ecx
je 0x500d54
mov ecx, dword [0x67e9c8]
test ecx, ecx
je 0x500d54
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0x14]
push 4
push ecx
push 4
push edx
mov byte [ebp - 4], bl
mov dword [ebp + 0x14], ebx
call eax
jmp 0x500d54
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14