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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100816f8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10080400], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
mov dword [ebp - 0x21c], ecx
mov edi, 1
je 0x1001aab0
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 0x1001aaa0
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001aa77
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 0x1001aaa0
cmp dword [ebp - 0x218], 5
jne 0x1001aaa0
mov eax, dword [0x10083764]
mov ecx, edi
cmp dword [ebp - 0x214], edi
cmove eax, ecx
mov dword [0x10083764], eax
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x10080400], 0
cmp dword [0x10083764], 0
je 0x1001aae0
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.10037240
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x100834fc]
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 0x1001ab6c
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 [0x10080404], 0
je 0x1001ac16
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 0x1001ac0c
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001abdf
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 0x1001ac0c
cmp dword [ebp - 0x214], 6
jne 0x1001ac0c
mov eax, dword [0x10083768]
mov ecx, 1
cmp dword [ebp - 0x218], 1
cmove eax, ecx
mov dword [0x10083768], eax
mov dword [0x10080404], 0
cmp dword [0x10083768], 0
je 0x1001ac3d
mov ecx, dword [ebp - 0x21c]
call fcn.1001ade0
test eax, eax
jne 0x1001ac3d
push str._Taskbar_Win7_some_environment_dont_support_DWM__dont_show_taskbar
call fcn.100133d0
add esp, 4
xor edi, edi
cmp dword [0x10080408], 0
je 0x1001ace9
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 0x1001acdf
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001acb4
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 0x1001acdf
cmp dword [ebp - 0x214], 6
jne 0x1001acd3
cmp dword [ebp - 0x218], 1
jae 0x1001acd5
jmp 0x1001acdf
jbe 0x1001acdf
mov dword [0x1008376c], 1
mov dword [0x10080408], 0
cmp dword [0x1008376c], 0
je 0x1001adaf
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 0x1001adaf
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 0x1001ad7a
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 0x1001adaf
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.1002be91
mov esp, ebp
pop ebp
ret