Function at 0x45fb10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x5299c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp eax, 0xf
jge 0x45fb58
mov esi, dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [edi + 0x6c]
push eax
call esi
lea eax, [edi + 0x5c]
push eax
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ab970
mov esp, ebp
pop ebp
ret 4
movups xmm0, xmmword [esi]
push 0xfffffffffffffff0
push dword [edi + 4]
movups xmmword [ebp - 0xdc], xmm0
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [ebp - 0xd0]
mov edx, eax
and edx, 8
test al, 2
mov eax, dword [ebp - 0xd8]
je 0x45fb92
add eax, 3
test edx, edx
jne 0x45fba1
sub dword [ebp - 0xd4], 3
jmp 0x45fba1
inc eax
sub ecx, 2
test edx, edx
jne 0x45fba1
sub dword [ebp - 0xd4], 2
add ecx, 0xfffffff1
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xd8], eax
add eax, 0xf
mov dword [ebp - 0xd0], eax
movups xmm0, xmmword [ebp - 0xdc]
push ebx
push dword [edi + 0x48]
movups xmmword [edi + 0x6c], xmm0
mov eax, dword [edi + 0x74]
lea ebx, [edi + 0x5c]
add eax, 0xfffffff1
movups xmmword [ebx], xmm0
mov dword [edi + 0x6c], eax
mov dword [edi + 0x64], eax
add eax, 0xfffffff1
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45fd51
mov eax, dword [edi + 4]
xorps xmm0, xmm0
push 0x90
mov dword [ebp - 0xcc], 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.004c3810
add esp, 0xc
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x45fc4a
cmp dword [ebp - 0xc4], 6
mov eax, 0x30
jae 0x45fc4f
mov eax, 0x2c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x2c], eax
lea eax, [edi + 0x6c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0xfffffff1
test eax, eax
je 0x45fc77
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [0x534b98]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x406
push dword [edi + 0x48]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 4]
xorps xmm0, xmm0
push 0x90
mov dword [ebp - 0xcc], 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.004c3810
add esp, 0xc
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x45fcfd
cmp dword [ebp - 0xc4], 6
mov eax, 0x30
jae 0x45fd02
mov eax, 0x2c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xfffffff2
test ebx, ebx
je 0x45fd27
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [0x534b98]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x406
push dword [edi + 0x48]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
mov dword [esi + 8], eax
xor ecx, ebp
pop esi
call fcn.004ab970
mov esp, ebp
pop ebp
ret 4