Function at 0x42dff0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4e949c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp - 0x14c], eax
push dword [esi + 0x2c]
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x42e083
mov ecx, dword [0x4e807c]
mov eax, dword [0x4e8084]
mov edx, dword [0x4e8078]
sub eax, ecx
push 0
push dword [0x4ecef4]
push 0
push dword [esi - 0x20]
push eax
mov eax, dword [0x4e8080]
sub eax, edx
push eax
push ecx
push edx
push 3
push 0
push str.tooltips_class32
push 8
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x12c
push 0
push 0x418
push eax
mov dword [esi + 0x2c], eax
call ebx
push 0
push 1
push 0x401
push dword [esi + 0x2c]
call ebx
push dword [esi + 0x2c]
call edi
test eax, eax
je 0x42e2c4
cmp dword [ebp + 0xc], 0
je 0x42e218
mov ebx, dword [ebp - 0x14c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42e2d7
mov edi, dword [esi + 0x30]
mov ecx, ebx
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e0d7
test dx, dx
je 0x42e0d3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e0d7
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e0b1
xor eax, eax
jmp 0x42e0dc
sbb eax, eax
or eax, 1
test eax, eax
je 0x42e2c4
lea ecx, [ebx - 0x10]
add edi, 0xfffffff0
cmp ecx, edi
je 0x42e130
cmp dword [edi + 0xc], 0
jl 0x42e124
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x42e124
push ecx
call fcn.00401b10
add esp, 4
lea edx, [edi + 0xc]
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e11c
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [esi + 0x30], eax
jmp 0x42e130
push dword [ebx - 0xc]
lea ecx, [esi + 0x30]
push ebx
call fcn.0040c380
mov edi, dword [esi - 0x20]
lea eax, [ebp - 0x144]
xorps xmm0, xmm0
mov dword [ebp - 0x148], 0x114
push 0x110
push 0
push eax
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
call fcn.00464a00
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42e18e
cmp dword [ebp - 0x144], 6
mov eax, 0x30
jae 0x42e193
mov eax, 0x2c
push edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.USER32.dll_GetParent]
or dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4ecef8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x433
push dword [esi + 0x2c]
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call edi
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x34]
push 0
push dword [eax]
push 0
push 0
push dword [esi - 0x20]
push 0
call fcn.0042c860
lea eax, [ebp - 0x34]
push eax
push 0
push 0x432
push dword [esi + 0x2c]
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00462391
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [esi - 0x20]
lea eax, [ebp - 0x144]
xorps xmm0, xmm0
mov dword [ebp - 0x148], 0x114
push 0x110
push 0
push eax
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
call fcn.00464a00
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42e276
cmp dword [ebp - 0x144], 6
mov eax, 0x30
jae 0x42e27b
mov eax, 0x2c
push edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.USER32.dll_GetParent]
or dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4ecef8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x433
push dword [esi + 0x2c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call ebx
lea ecx, [esi + 0x30]
call fcn.0041f2d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462391
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00401af0
int3