Function at 0x41be10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x51c91c]
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 0x41bea3
mov ecx, dword [0x51b170]
mov eax, dword [0x51b178]
mov edx, dword [0x51b16c]
sub eax, ecx
push 0
push dword [0x520328]
push 0
push dword [esi - 0x20]
push eax
mov eax, dword [0x51b174]
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 0x41c06f
cmp dword [ebp + 0xc], 0
je 0x41bfc3
push dword [ebp - 0x14c]
lea edi, [esi + 0x30]
push edi
call fcn.00419a80
add esp, 8
test al, al
je 0x41c06f
push dword [ebp - 0x14c]
mov ecx, edi
call fcn.00409440
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.00469210
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41bf3f
cmp dword [ebp - 0x144], 6
mov eax, 0x30
jae 0x41bf44
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 [0x52032c]
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
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.00410060
lea eax, [ebp - 0x34]
push eax
push 0
push 0x432
push dword [esi + 0x2c]
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004530b8
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.00469210
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41c021
cmp dword [ebp - 0x144], 6
mov eax, 0x30
jae 0x41c026
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 [0x52032c]
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.00410c20
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004530b8
mov esp, ebp
pop ebp
ret 0xc