Function at 0x42c5a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x42c7e8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42c7e8
test dword [esi + 0xa8], 8
je 0x42c7e8
lea edi, [esi + 0x4c]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push dword [esi + 4]
call ebx
push 0xfffffffffffffff0
push dword [esi + 4]
mov dword [ebp - 0xcc], eax
call ebx
test al, 2
jne 0x42c614
add dword [edi], 2
add dword [edi + 8], 0xfffffffe
mov ebx, dword [ebp - 0xcc]
test ebx, 8
je 0x42c7a6
mov ecx, dword [esi + 0x24]
test ecx, ecx
js 0x42c7a6
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x42c7a6
mov eax, dword [edx + ecx*4]
test eax, eax
je 0x42c7a6
cmp byte [eax + 0x49], 0
je 0x42c7a6
mov eax, dword [edi + 8]
lea ebx, [esi + 0x7c]
sub eax, dword [edi]
cmp eax, 0xf
jge 0x42c672
push ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
jmp 0x42c7a0
movups xmm0, xmmword [edi]
push 0xfffffffffffffff0
push dword [esi + 4]
movups xmmword [ebx], xmm0
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
and eax, 2
je 0x42c69e
mov eax, 3
lea ecx, [eax - 6]
jmp 0x42c6ab
mov eax, 1
sub edx, 2
mov ecx, 0xfffffffe
add eax, dword [esi + 0x80]
add edx, 0xfffffff1
push dword [esi + 0x48]
add eax, edx
add ecx, edi
cdq
sub eax, edx
mov dword [esi + 0x84], ecx
sar eax, 1
mov dword [esi + 0x80], eax
add eax, 0xf
mov dword [esi + 0x88], eax
lea eax, [ecx - 0xf]
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_IsWindow]
lea edi, [esi + 0x4c]
test eax, eax
je 0x42c79b
mov eax, dword [esi + 4]
xorps xmm0, xmm0
push 0x90
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xc4]
push 0
push eax
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc8], 0x94
call fcn.00530cf0
add esp, 0xc
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x42c747
cmp dword [ebp - 0xc4], 6
mov eax, 0x30
jae 0x42c74c
mov eax, 0x2c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xfffffff0
test ebx, ebx
je 0x42c771
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [0x5c89a0]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x406
push dword [esi + 0x48]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx]
mov dword [edi + 8], eax
mov ebx, dword [ebp - 0xcc]
mov ecx, esi
test ebx, 1
je 0x42c7d1
push edi
call fcn.00420df0
movups xmm0, xmmword [edi]
sub esp, 0x10
mov ecx, esi
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0042cd80
mov ecx, esi
call fcn.0042cfc0
jmp 0x42c7e1
movups xmm0, xmmword [edi]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0042c930
mov ecx, esi
call fcn.0042d070
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005189ad
mov esp, ebp
pop ebp
ret