Function at 0x10017760
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x1014e914]
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
cmp dword [esi], 0
je 0x100177b6
nop dword [eax]
mov eax, dword [esi + 4]
cmp eax, 2
je 0x10017797
cmp eax, 3
je 0x10017797
cmp eax, 4
je 0x10017797
cmp eax, 5
jne 0x100177ae
push str.TaskbarLook
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x100178e1
add esi, 0x60
cmp dword [esi], 0
jne 0x10017780
xor bl, bl
xor esi, esi
mov cx, word [0x10159320]
test cx, cx
jne 0x100177e5
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
movzx eax, al
shr ecx, 8
movzx ecx, cl
shl ax, 8
or cx, ax
mov word [0x10159320], cx
mov eax, 0xa00
cmp cx, ax
jb 0x10017a56
cmp esi, 3
je 0x10017a56
cmp esi, 1
jne 0x1001780e
cmp dword [0x10158bbc], 0
jne 0x10017a56
lea ecx, [ebp - 1]
call fcn.1009e2c0
mov dword [ebp - 8], eax
lea ecx, [esi + 1]
mov dword [edi], ecx
test bl, bl
je 0x1001782d
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
inc ecx
mov dword [edi], ecx
mov dword [edi + 4], 0x13
mov esi, dword [0x1014e914]
cmp dword [esi], 0
je 0x1001787c
nop
mov eax, dword [esi + 4]
cmp eax, 2
je 0x10017857
cmp eax, 3
je 0x10017857
cmp eax, 4
je 0x10017857
cmp eax, 5
jne 0x1001786e
push str.TaskbarOpacity
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x10017940
add esi, 0x60
cmp dword [esi], 0
jne 0x10017840
mov esi, dword [0x1014e914]
xor edi, edi
imul ecx, edi, 0xff
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp dword [esi], 0
je 0x10017987
nop
mov eax, dword [esi + 4]
cmp eax, 2
je 0x100178b7
cmp eax, 3
je 0x100178b7
cmp eax, 4
je 0x100178b7
cmp eax, 5
jne 0x100178ce
push str.TaskbarLook
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x10017964
add esi, 0x60
cmp dword [esi], 0
jne 0x100178a0
mov esi, dword [0x1014e914]
jmp 0x10017987
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x100178f8
mov ecx, dword [eax + 0x20]
jmp 0x100178fb
mov ecx, dword [esi + 0x20]
shr ecx, 0xc
test cl, 1
je 0x1001792b
test eax, eax
je 0x1001790c
mov eax, dword [eax + 0x20]
jmp 0x1001790f
mov eax, dword [esi + 0x20]
shr eax, 0xd
test al, 1
jne 0x1001792b
mov esi, dword [esi + 0x40]
mov bl, 1
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x100177ba
mov esi, dword [esi + 0x40]
xor bl, bl
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x100177ba
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov edi, dword [esi + 0x40]
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov esi, dword [0x1014e914]
jmp 0x1001787e
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov esi, dword [esi + 0x40]
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
test esi, esi
mov esi, dword [0x1014e914]
jne 0x1001798c
mov ebx, 0xff
xor edi, edi
mov eax, 0xff
test ebx, ebx
cmovns edi, ebx
cmp edi, eax
cmovg edi, eax
cmp dword [esi], 0
je 0x100179d4
mov eax, dword [esi + 4]
cmp eax, 2
je 0x100179b9
cmp eax, 3
je 0x100179b9
cmp eax, 4
je 0x100179b9
cmp eax, 5
jne 0x100179cc
push str.TaskbarColor
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x100179fd
add esi, 0x60
cmp dword [esi], 0
jne 0x100179a2
xor bl, bl
xor esi, esi
mov eax, dword [ebp - 0xc]
test bl, bl
cmovne esi, dword [ebp - 8]
and esi, 0xffffff
shl edi, 0x18
or esi, edi
mov dword [eax + 0xc], 0
pop edi
mov dword [eax + 8], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10017a14
mov ecx, dword [eax + 0x20]
jmp 0x10017a17
mov ecx, dword [esi + 0x20]
shr ecx, 0xc
test cl, 1
je 0x10017a44
test eax, eax
je 0x10017a28
mov eax, dword [eax + 0x20]
jmp 0x10017a2b
mov eax, dword [esi + 0x20]
shr eax, 0xd
test al, 1
jne 0x10017a44
mov esi, dword [esi + 0x40]
mov bl, 1
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x100179d8
mov esi, dword [esi + 0x40]
xor bl, bl
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x100179d8
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0xc], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret