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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f394
mov eax, dword fs:[0]
push eax
sub esp, 0x3ac
mov eax, dword [0x100d07a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], ecx
cmp dword [0x100cf428], 0
mov ebx, 1
je 0x10030400
push str.ntdll.dll
mov dword [ebp - 0x284], 0
xor edi, edi
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x100303f6
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100303cd
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x284]
push ecx
call eax
movzx eax, word [ebp - 0x27c]
mov edi, ebx
mov dword [ebp - 0x27c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x100303f6
cmp dword [ebp - 0x284], 5
jne 0x100303f6
mov eax, dword [0x100d3514]
mov ecx, ebx
cmp dword [ebp - 0x280], ebx
cmove eax, ecx
mov dword [0x100d3514], eax
mov dword [0x100cf428], 0
cmp dword [0x100d3514], 0
je 0x10030509
call fcn.10024dc0
push 1
push 0
push str.break_winxp
mov ecx, dword [eax]
push str.SoulDancer
push eax
call dword [ecx]
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10030507
push 0x64
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarenvironmentabout.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000a260
mov byte [ebp - 4], 1
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0x320]
push 0x1b
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004790
mov esi, eax
push str._Taskbar_system_is_windows_xp__not_pop
push esi
mov byte [ebp - 4], 2
call fcn.10003800
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x320]
call fcn.10005bc0
lea ecx, [ebp - 0x230]
call fcn.10002b00
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.10002b00
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10075650
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100d32e4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.SoulDancer.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10030674
call fcn.10024dc0
push 1
push 0
push str.break_not_exist
mov ecx, dword [eax]
push str.SoulDancer
push eax
call dword [ecx]
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10030672
push 0x64
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarenvironmentabout.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000a260
mov byte [ebp - 4], 4
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0x320]
push 0x27
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10004790
mov esi, eax
push str._Taskbar_SoulDancer_isnt_exist__not_pop__path
push esi
mov byte [ebp - 4], 5
call fcn.10003800
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10003800
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x320]
call fcn.10005bc0
lea ecx, [ebp - 0x248]
call fcn.10002b00
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.10002b00
xor ebx, ebx
cmp dword [0x100cf42c], 0
je 0x10030722
push str.ntdll.dll
mov dword [ebp - 0x280], 0
xor edi, edi
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x27c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10030718
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100306eb
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x280]
push ecx
call eax
movzx eax, word [ebp - 0x27c]
mov edi, 1
mov dword [ebp - 0x27c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x10030718
cmp dword [ebp - 0x280], 6
jne 0x10030718
mov eax, dword [0x100d3518]
mov ecx, 1
cmp dword [ebp - 0x284], 1
cmove eax, ecx
mov dword [0x100d3518], eax
mov dword [0x100cf42c], 0
cmp dword [0x100d3518], 0
je 0x10030826
mov ecx, dword [ebp - 0x288]
call fcn.10030aa0
test eax, eax
jne 0x10030826
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10030824
push 0x64
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarenvironmentabout.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 6
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000a260
mov byte [ebp - 4], 7
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0x320]
push 0x2e
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10004790
mov esi, eax
push str._Taskbar_Win7_some_environment_dont_support_DWM__dont_show_taskbar
push esi
mov byte [ebp - 4], 8
call fcn.10003800
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x320]
call fcn.10005bc0
lea ecx, [ebp - 0x248]
call fcn.10002b00
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.10002b00
xor ebx, ebx
cmp dword [0x100cf430], 0
je 0x100308d2
push str.ntdll.dll
mov dword [ebp - 0x280], 0
xor edi, edi
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x27c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x100308c8
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003089d
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x280]
push ecx
call eax
movzx eax, word [ebp - 0x27c]
mov edi, 1
mov dword [ebp - 0x27c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x100308c8
cmp dword [ebp - 0x280], 6
jne 0x100308bc
cmp dword [ebp - 0x284], 1
jae 0x100308be
jmp 0x100308c8
jbe 0x100308c8
mov dword [0x100d351c], 1
mov dword [0x100cf430], 0
cmp dword [0x100d351c], 0
je 0x10030a75
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x27c], 0
push eax
push 0xf003f
xor esi, esi
mov dword [ebp - 0x280], 0xffffffff
push esi
push str.SoftwareMicrosoftWindowsDWM
push SysReAllocString
mov dword [ebp - 0x284], 4
mov dword [ebp - 0x288], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10030a75
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x284]
push eax
push esi
push str.EnableAeroPeek
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10030967
cmp dword [ebp - 0x280], esi
mov eax, 1
cmove esi, eax
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10030a75
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10030a5d
push 0x64
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarenvironmentabout.cpp
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 9
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.1000a260
mov byte [ebp - 4], 0xa
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0x3b8]
push 0x35
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10004790
mov esi, eax
push str._Taskbar_Win7OrGreater_EnableAeroPeek0__Can_show_taskbar
push esi
mov byte [ebp - 4], 0xb
call fcn.10003800
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3b8]
call fcn.10005bc0
lea ecx, [ebp - 0x260]
call fcn.10002b00
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0xffffffff
call fcn.10002b00
call fcn.10024dc0
push 1
push 0
push str.disabled_aero_peek
mov ecx, dword [eax]
push str.SoulDancer
push eax
call dword [ecx]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006a4da
mov esp, ebp
pop ebp
ret