Function at 0x402cd0
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e525
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x602c90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov eax, vtable.CBrush.0
mov dword [ebp - 0x128], 0x60b2e8
mov dword [0x60b37c], esi
mov dword [0x60b378], eax
mov dword [ebp - 4], esi
mov dword [0x60b384], esi
mov dword [0x60b380], eax
mov dword [0x60b38c], esi
mov dword [0x60b388], eax
mov dword [0x60b394], esi
mov dword [0x60b390], eax
mov dword [0x60b39c], esi
mov dword [0x60b398], eax
mov dword [0x60b3a4], esi
mov dword [0x60b3a0], eax
mov dword [0x60b3ac], esi
mov dword [0x60b3a8], eax
mov dword [0x60b3b4], esi
mov dword [0x60b3b0], eax
mov eax, vtable.CPen.0
mov dword [0x60b3bc], esi
mov dword [0x60b3b8], eax
mov dword [0x60b3c4], esi
mov dword [0x60b3c0], eax
mov dword [0x60b3cc], esi
mov dword [0x60b3c8], eax
mov eax, vtable.CFont.0
mov dword [0x60b3f4], esi
mov dword [0x60b3f8], esi
mov dword [0x60b400], esi
mov dword [0x60b3fc], eax
mov dword [0x60b408], esi
mov dword [0x60b404], eax
mov dword [0x60b410], esi
mov dword [0x60b40c], eax
mov dword [0x60b418], esi
mov dword [0x60b414], eax
mov dword [0x60b420], esi
mov dword [0x60b41c], eax
mov dword [0x60b428], esi
mov dword [0x60b424], eax
mov dword [0x60b430], esi
mov dword [0x60b42c], eax
mov dword [0x60b438], esi
mov dword [0x60b434], eax
mov dword [0x60b440], esi
mov dword [0x60b43c], eax
mov dword [0x60b448], esi
mov dword [0x60b444], eax
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x124]
push eax
mov dword [0x60b44c], esi
mov dword [0x60b450], esi
mov dword [0x60b454], esi
mov dword [0x60b458], esi
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x60b468], eax
mov eax, dword [ebp - 0x120]
cmp eax, 6
sbb ecx, ecx
inc ecx
mov dword [0x60b45c], ecx
lea ebx, [esi + 1]
cmp eax, 6
jne 0x402f33
cmp dword [ebp - 0x11c], ebx
jb 0x402f39
mov eax, ebx
mov ecx, 0x60b2e8
mov dword [0x60b460], eax
mov dword [0x60b464], esi
mov dword [0x60b4cc], ebx
mov dword [0x60b2f4], esi
mov dword [0x60b2f0], esi
mov dword [0x60b2f8], esi
call fcn.00403990
push 0x5c2100
call fcn.004024d0
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
add esp, 4
mov dword [0x60b4d4], eax
cmp eax, esi
je 0x402f40
push str.DrawThemeParentBackground
push eax
call edi
mov edx, dword [0x60b4d4]
push str.DrawThemeTextEx
push edx
mov dword [0x60b4dc], eax
call edi
mov dword [0x60b4e0], eax
mov eax, dword [0x60b4d4]
push str.BufferedPaintInit
push eax
call edi
mov ecx, dword [0x60b4d4]
push str.BufferedPaintUnInit
push ecx
mov dword [0x60b4e4], eax
call edi
mov edx, dword [0x60b4d4]
push str.BeginBufferedPaint
push edx
mov dword [0x60b4e8], eax
call edi
mov dword [0x60b4ec], eax
mov eax, dword [0x60b4d4]
push str.EndBufferedPaint
push eax
call edi
mov dword [0x60b4f0], eax
jmp 0x402f64
ja 0x402e7c
xor eax, eax
jmp 0x402e7e
mov dword [0x60b4dc], esi
mov dword [0x60b4e0], esi
mov dword [0x60b4e4], esi
mov dword [0x60b4e8], esi
mov dword [0x60b4ec], esi
mov dword [0x60b4f0], esi
call fcn.00402c10
mov dword [0x60b4d8], eax
cmp eax, esi
je 0x402fa7
push str.DwmExtendFrameIntoClientArea
push eax
call edi
mov ecx, dword [0x60b4d8]
push str.DwmDefWindowProc
push ecx
mov dword [0x60b4f4], eax
call edi
mov edx, dword [0x60b4d8]
push str.DwmIsCompositionEnabled
push edx
mov dword [0x60b4f8], eax
call edi
mov dword [0x60b4fc], eax
jmp 0x402fb9
mov dword [0x60b4f4], esi
mov dword [0x60b4f8], esi
mov dword [0x60b4fc], esi
mov ecx, 0x60b2e8
mov dword [0x60b3d0], esi
mov dword [0x60b3d4], esi
mov dword [0x60b3d8], esi
mov dword [0x60b3dc], esi
mov dword [0x60b3e8], esi
mov dword [0x60b3ec], esi
mov dword [0x60b3f0], esi
mov dword [0x60b3e0], esi
mov dword [0x60b3e4], esi
mov dword [0x60b2e8], esi
mov dword [0x60b2ec], esi
call fcn.004032b0
mov ecx, 0x60b2e8
call fcn.004038b0
mov eax, 4
mov dword [0x60b498], eax
mov dword [0x60b4a4], eax
mov dword [0x60b480], esi
mov dword [0x60b4d0], esi
mov dword [0x60b49c], 3
mov dword [0x60b4a0], 0xe
mov dword [0x60b4a8], 0x32
mov dword [0x60b4ac], 0xffffffff
mov dword [0x60b46c], esi
mov dword [0x60b470], esi
mov dword [0x60b474], ebx
mov dword [0x60b500], esi
mov dword [0x60b508], esi
mov dword [0x60b50c], esi
mov dword [0x60b504], ebx
mov dword [0x60b484], ebx
mov eax, 0x60b2e8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f89e
mov esp, ebp
pop ebp
ret