Function at 0x4ff440
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bf610
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], 0x5ed800
mov eax, dword [0x67a480]
cmp eax, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
jne 0x4ff48e
push str.dwmapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [0x67a480], eax
je 0x4ff4b5
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmIsCompositionEnabled
push eax
call ebx
mov dword [0x67a47c], eax
mov eax, dword [0x67a480]
push str.DwmSetWindowAttribute
push eax
call ebx
mov dword [0x67a488], eax
jmp 0x4ff4bb
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [0x67a484]
cmp eax, edi
jne 0x4ff4d8
push str.UxTheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [0x67a484], eax
je 0x4ff530
push str.OpenThemeData
push eax
call ebx
mov ecx, dword [0x67a484]
push str.CloseThemeData
push ecx
mov dword [0x67a468], eax
call ebx
mov edx, dword [0x67a484]
push str.DrawThemeBackground
push edx
mov dword [0x67a46c], eax
call ebx
mov dword [0x67a470], eax
mov eax, dword [0x67a484]
push str.GetThemeSysFont
push eax
call ebx
mov ecx, dword [0x67a484]
push str.DrawThemeTextEx
push ecx
mov dword [0x67a474], eax
call ebx
mov dword [0x67a478], 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.005003e0
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.0059763c
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.00594676
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 0x4ff65b
mov dword [esi + 0x84], edx
cmp eax, edx
jle 0x4ff665
mov dword [esi + 0x88], edx
call fcn.005a4ddf
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 [0x67a028]
test eax, eax
je 0x4ff6be
call fcn.005a4ddf
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 0x4ff6c5
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 [0x67a028]
test eax, eax
je 0x4ff734
mov eax, dword [0x67a488]
test eax, eax
je 0x4ff734
mov ecx, dword [0x67a468]
test ecx, ecx
je 0x4ff734
mov ecx, dword [0x67a46c]
test ecx, ecx
je 0x4ff734
mov ecx, dword [0x67a474]
test ecx, ecx
je 0x4ff734
mov ecx, dword [0x67a478]
test ecx, ecx
je 0x4ff734
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 0x4ff734
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