Function at 0x10070560
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x1010eb9b
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x19c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1b4]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 4]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100708c3
push 0x48
lea eax, [esp + 0x28]
push 0
push eax
call fcn.100639b0
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.100805a0
mov dword [esp + 0x1bc], 0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x100705ec
push eax
lea ecx, [esp + 0x28]
call fcn.10080700
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, ecx
movzx edx, word [esp + 0x2e]
cmp edx, eax
jle 0x10070606
lea eax, [edx + ecx]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
sub ecx, edi
movzx eax, word [esp + 0x30]
cmp eax, ecx
jle 0x10070620
lea eax, [edx + edi]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x10070634
lea eax, [esp + 0x24]
push eax
call fcn.10080700
mov edi, dword [esp + 0x24]
push 0xfffffffffffffff0
push esi
or edi, 0x2000000
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebp, dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, eax
or ecx, edi
cmp eax, ecx
je 0x1007065b
push ecx
push 0xfffffffffffffff0
push esi
call ebp
mov edi, dword [esp + 0x28]
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, edi
cmp eax, ecx
je 0x10070676
push ecx
push 0xffffffffffffffec
push esi
call ebp
cmp dword [esp + 0x34], 0
je 0x100706d3
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10086130
add esp, 8
movdqu xmm1, xmmword [eax]
push 0x1c
movdqa xmm0, xmm1
psrldq xmm0, 0xc
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
movd edx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movd ecx, xmm0
sub eax, edx
push eax
movd eax, xmm1
sub ecx, eax
push ecx
push edx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x10070722
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x100706f1
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
call fcn.10086100
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
push 0x1e
push edx
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push esi
call fcn.10079f30
add esp, 8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
mov ebp, eax
push dword [ebp]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10070866
mov dword [ebp], eax
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 4]
mov edx, dword [0x1015f994]
mov ecx, dword [0x1015f990]
push 0
push dword [0x10167318]
push 0
push eax
mov eax, dword [0x1015f99c]
sub eax, edx
push eax
mov eax, dword [0x1015f998]
sub eax, ecx
push eax
push edx
push ecx
push SysReAllocStringLen
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
push 0x30
mov dword [esp + 0x18], eax
lea eax, [esp + 0x70]
push 0
push eax
call fcn.100639b0
push 0x110
lea eax, [esp + 0xb0]
mov dword [esp + 0xac], 0x114
push 0
push eax
mov edi, 0x30
call fcn.100639b0
add esp, 0x18
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100707e2
cmp dword [esp + 0xa0], 6
jae 0x100707e7
mov edi, 0x2c
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x14]
push edi
mov dword [esp + 0x74], 0
call dword [sym.imp.USER32.dll_GetParent]
or dword [esp + 0x70], 1
mov dword [esp + 0x74], eax
mov eax, dword [0x1016731c]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x6c]
push eax
push 0
push 0x432
push dword [ebp]
mov dword [esp + 0x88], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0xa4], 0
call edi
push 0x1f4
push 0
push 0x403
push dword [ebp]
call edi
push 0
push 1
push 0x401
push dword [ebp]
call edi
push ebx
push 0x10071e50
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x30], 0
je 0x100708af
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x13
and al, 1
je 0x100708af
lea ecx, [ebx + 0x3c]
call fcn.1007ff30
test al, al
jne 0x100708af
push 0
push 0
push 0x7f04
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x1bc], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.10080660
mov ecx, dword [esp + 0x1b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.1005d006
add esp, 0x1ac
ret