Function at 0x42d410
Capabilities:
Check os version
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa6c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
lea eax, [ebp - 0x9c8]
push edi
push eax
mov dword [ebp - 0x9cc], ebx
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x848]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
push esi
mov dword [ebp - 0x9f0], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x9bc]
mov ebx, eax
sub ecx, dword [ebp - 0x9c4]
push ecx
mov ecx, dword [ebp - 0x9c0]
sub ecx, dword [ebp - 0x9c8]
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [ebp - 0x9f8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x9f4], eax
lea eax, [ebp - 0x9d8]
push eax
push ebx
mov dword [ebp - 0x9d8], 0
call sub.gdiplus.dll_GdipCreateFromHDC
mov eax, dword [ebp - 0x9d8]
mov dword [ebp - 0x9e8], eax
lea eax, [ebp - 0x9d4]
push eax
push 0
push 0
mov dword [ebp - 0x9d4], 0
call sub.gdiplus.dll_GdipCreateStringFormat
push 5
push dword [ebp - 0x9d4]
mov dword [ebp - 0x9d0], eax
call sub.gdiplus.dll_GdipSetStringFormatTrimming
mov ecx, dword [ebp - 0x9d0]
test eax, eax
mov dword [ebp - 0x9b8], 0x114
cmovne ecx, eax
lea eax, [ebp - 0x9b8]
push eax
mov dword [ebp - 0x9d0], ecx
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
push 0x5c
lea eax, [ebp - 0xa6c]
push 0
push eax
call fcn.004e46b0
add esp, 0xc
lea eax, [ebp - 0xa50]
cmp dword [ebp - 0x9b4], 6
jb 0x42d535
push 0x516dd4
jmp 0x42d53a
push 0x516de0
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
lea eax, [ebp - 0x9dc]
mov dword [ebp - 0xa6c], 0xfffffff4
push eax
lea eax, [ebp - 0x8a4]
mov dword [ebp - 0x9dc], 0
push eax
mov ecx, 0x17
lea esi, [ebp - 0xa6c]
lea edi, [ebp - 0x8a4]
rep movsd dword es:[edi], dword [esi]
push ebx
call sub.gdiplus.dll_GdipCreateFontFromLogfontW
mov eax, dword [ebp - 0x9dc]
mov dword [ebp - 0x9e4], eax
lea eax, [ebp - 0x9e0]
push eax
push 0xffffffffffffffe0
mov dword [ebp - 0x9e0], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov eax, dword [ebp - 0x9bc]
sub eax, dword [ebp - 0x9c4]
mov ecx, dword [ebp - 0x9e0]
mov edi, dword [ebp - 0x9e8]
push eax
mov eax, dword [ebp - 0x9c0]
sub eax, dword [ebp - 0x9c8]
push eax
push 0
push 0
push ecx
push edi
mov dword [ebp - 0xa00], ecx
call sub.gdiplus.dll_GdipFillRectangleI
mov esi, dword [ebp - 0x9cc]
lea eax, [ebp - 0x808]
push 0x400
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x9cc]
mov dword [ebp - 0x9cc], 0
push eax
push 0xff000000
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [ebp - 0x9cc]
lea ecx, [ebp - 0x808]
lea eax, [ecx + 2]
mov dword [ebp - 0x9fc], edx
mov dword [ebp - 0x9ec], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d630
mov eax, dword [ebp - 0x9c0]
sub eax, dword [ebp - 0x9c8]
sub ecx, dword [ebp - 0x9ec]
push edx
push dword [ebp - 0x9d4]
movd xmm0, eax
mov eax, dword [ebp - 0x9bc]
sub eax, dword [ebp - 0x9c4]
cvtdq2ps xmm0, xmm0
sar ecx, 1
mov dword [ebp - 0xa10], 0
mov dword [ebp - 0xa0c], 0
movss dword [ebp - 0xa08], xmm0
movd xmm0, eax
lea eax, [ebp - 0xa10]
push eax
push dword [ebp - 0x9e4]
cvtdq2ps xmm0, xmm0
push ecx
lea eax, [ebp - 0x808]
push eax
push edi
movss dword [ebp - 0xa04], xmm0
call sub.gdiplus.dll_GdipDrawString
mov eax, dword [ebp - 0x9bc]
sub eax, dword [ebp - 0x9c4]
mov edi, dword [ebp - 0x9f0]
push 0xcc0020
push 0
push 0
push ebx
push eax
mov eax, dword [ebp - 0x9c0]
sub eax, dword [ebp - 0x9c8]
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x9f4]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x9f8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [ebp - 0x848]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_EndPaint]
push edi
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x9fc]
call sub.gdiplus.dll_GdipDeleteBrush
push dword [ebp - 0xa00]
call sub.gdiplus.dll_GdipDeleteBrush
push dword [ebp - 0x9e4]
call sub.gdiplus.dll_GdipDeleteFont
push dword [ebp - 0x9d4]
call sub.gdiplus.dll_GdipDeleteStringFormat
push dword [ebp - 0x9e8]
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret