Function at 0x1001aa00
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10081708]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10080408], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
mov dword [ebp - 0x21c], ecx
mov edi, 1
je 0x1001aad0
push str.ntdll.dll
mov dword [ebp - 0x218], 0
xor ebx, ebx
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call esi
mov esi, eax
test esi, esi
je 0x1001aac0
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001aa97
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x218]
push ecx
call eax
movzx eax, word [ebp - 0x210]
mov ebx, edi
mov dword [ebp - 0x210], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x1001aac0
cmp dword [ebp - 0x218], 5
jne 0x1001aac0
mov eax, dword [0x10083774]
mov ecx, edi
cmp dword [ebp - 0x214], edi
cmove eax, ecx
mov dword [0x10083774], eax
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x10080408], 0
cmp dword [0x10083774], 0
je 0x1001ab00
call fcn.100144a0
push 1
push 0
push str.break_winxp
mov ecx, dword [eax]
push str.SoulDancer
push eax
call dword [ecx]
push str._Taskbar_system_is_windows_xp__not_pop
call fcn.100133d0
add esp, 4
xor edi, edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10037300
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x1008350c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.SoulDancer.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001ab8c
call fcn.100144a0
push 1
push 0
push str.break_not_exist
mov ecx, dword [eax]
push str.SoulDancer
push eax
call dword [ecx]
lea eax, [ebp - 0x20c]
push eax
push str._Taskbar_SoulDancer_isnt_exist__not_pop__path_s
call fcn.100133d0
add esp, 8
xor edi, edi
cmp dword [0x1008040c], 0
je 0x1001ac36
push str.ntdll.dll
mov dword [ebp - 0x214], 0
xor ebx, ebx
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x210], 0
call esi
mov esi, eax
test esi, esi
je 0x1001ac2c
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001abff
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x214]
push ecx
call eax
movzx eax, word [ebp - 0x210]
mov ebx, 1
mov dword [ebp - 0x210], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x1001ac2c
cmp dword [ebp - 0x214], 6
jne 0x1001ac2c
mov eax, dword [0x10083778]
mov ecx, 1
cmp dword [ebp - 0x218], 1
cmove eax, ecx
mov dword [0x10083778], eax
mov dword [0x1008040c], 0
cmp dword [0x10083778], 0
je 0x1001ac5d
mov ecx, dword [ebp - 0x21c]
call fcn.1001adf0
test eax, eax
jne 0x1001ac5d
push str._Taskbar_Win7_some_environment_dont_support_DWM__dont_show_taskbar
call fcn.100133d0
add esp, 4
xor edi, edi
cmp dword [0x10080410], 0
je 0x1001ad09
push str.ntdll.dll
mov dword [ebp - 0x214], 0
xor ebx, ebx
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1001acff
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001acd4
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x214]
push ecx
call eax
movzx eax, word [ebp - 0x210]
mov ebx, 1
mov dword [ebp - 0x210], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x1001acff
cmp dword [ebp - 0x214], 6
jne 0x1001acf3
cmp dword [ebp - 0x218], 1
jae 0x1001acf5
jmp 0x1001acff
jbe 0x1001acff
mov dword [0x1008377c], 1
mov dword [0x10080410], 0
cmp dword [0x1008377c], 0
je 0x1001adcf
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0xf003f
xor esi, esi
mov dword [ebp - 0x214], 0xffffffff
push esi
push str.SoftwareMicrosoftWindowsDWM
push SysReAllocString
mov dword [ebp - 0x218], 4
mov dword [ebp - 0x21c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001adcf
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push str.EnableAeroPeek
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001ad9a
cmp dword [ebp - 0x214], esi
mov eax, 1
cmove esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1001adcf
push str._Taskbar_Win7OrGreater_EnableAeroPeek0__Can_show_taskbar
call fcn.100133d0
add esp, 4
call fcn.100144a0
push 1
push 0
push str.disabled_aero_peek
mov ecx, dword [eax]
push str.SoulDancer
push eax
call dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002bf51
mov esp, ebp
pop ebp
ret