Function at 0x1002a700
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cd810
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10102f10]
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 edi, ecx
mov ebx, dword [ebp + 8]
push str.ThemeComponentTaskbar::TastbarBeatifySet
mov dword [ebp - 0x40], ebx
call fcn.10015f50
mov al, byte [ebp + 0xc]
add esp, 4
mov byte [edi + 0x4c], al
test ebx, ebx
je 0x1002ad06
push 0x100d85d4
lea ecx, [ebp - 0x34]
call fcn.1001d320
push str.taskbar_id
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10007d70
push 0xfde9
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.10041ec0
add esp, 0x14
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 2
push eax
call fcn.10019a20
mov edx, dword [ebp - 0x30]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002a7bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1002a7f3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a7e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ad80
push edx
push ecx
call fcn.10064ae7
add esp, 8
mov edx, dword [ebp - 0x34]
mov eax, ebx
mov dword [ebp - 0x18], 0
add edx, 0xfffffff0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002a826
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x30]
push eax
call fcn.10032e10
add esp, 4
lea esi, [edi + 0x34]
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.10019a20
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002a865
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi + 0x44]
push str._s_texture.png
push esi
call fcn.1001bb30
lea eax, [ebp - 0x30]
push eax
call fcn.10032e10
add esp, 0x10
lea esi, [edi + 0x3c]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.10019a20
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002a8b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi + 0x44]
push str._s_startbutton.png
push esi
call fcn.1001bb30
add esp, 0xc
lea ecx, [ebp - 0x34]
push 0x100d85d4
call fcn.1001d320
push str.taskbar_texture
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 5
call fcn.10007d70
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x34]
push 0xfde9
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10041ec0
add esp, 0x14
push eax
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 7
call fcn.10019a20
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002a930
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x1002a968
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a95e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ad85
push edx
push ecx
call fcn.10064ae7
add esp, 8
mov edx, dword [ebp - 0x34]
mov eax, ebx
mov dword [ebp - 0x18], 0
add edx, 0xfffffff0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002a99b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x100d85d4
lea ecx, [ebp - 0x34]
call fcn.1001d320
push str.taskbar_startbutton
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 8
call fcn.10007d70
push 0xfde9
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10041ec0
add esp, 0x14
push eax
lea ecx, [edi + 0x40]
mov byte [ebp - 4], 0xa
call fcn.10019a20
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002aa05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x1002aa3d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002aa33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ad8a
push edx
push ecx
call fcn.10064ae7
add esp, 8
mov edx, dword [ebp - 0x34]
mov eax, ebx
mov dword [ebp - 0x18], 0
add edx, 0xfffffff0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002aa70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 1
push eax
push 4
push str.CustomTaskbar
lea ecx, [ebp - 0x29]
call fcn.10028960
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push eax
push SysReAllocString
call esi
push 4
lea eax, [ebp - 0x3c]
push eax
push 4
push str.EnableStartButton
lea ecx, [ebp - 0x29]
call fcn.10028640
push eax
push SysReAllocString
call esi
push 4
lea eax, [ebp - 0x3c]
push eax
push 4
push str.StartButtonAlign
lea ecx, [ebp - 0x29]
call fcn.10028da0
push eax
push SysReAllocString
call esi
call fcn.100093c0
mov ecx, eax
test ecx, ecx
je 0x1002ad8f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push str.CustomButton
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xb
call fcn.10019a90
test al, al
jne 0x1002ab15
push 0xc
push str.CustomButton
lea ecx, [ebp - 0x34]
call fcn.1000aeb0
mov esi, dword [ebp - 0x34]
mov dword [ebp - 4], 0xc
cmp dword [esi - 4], 1
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x30], eax
jle 0x1002ab3a
push eax
lea ecx, [ebp - 0x34]
call fcn.10009010
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
add eax, eax
lea ecx, [ebp - 0x29]
push eax
push esi
push 1
push str.StartButtonType
call fcn.10028e80
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [edi + 0x34]
cmp dword [ecx - 4], 1
mov eax, dword [ecx - 0xc]
mov dword [ebp - 0x30], eax
jle 0x1002ab77
push eax
lea ecx, [edi + 0x34]
call fcn.10009010
mov ecx, dword [edi + 0x34]
mov eax, dword [ebp - 0x30]
add eax, eax
push eax
push ecx
push 1
push str.TaskbarTexture
lea ecx, [ebp - 0x29]
call fcn.10028320
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [edi + 0x3c]
cmp dword [ecx - 4], 1
mov eax, dword [ecx - 0xc]
mov dword [ebp - 0x30], eax
jle 0x1002abb4
push eax
lea ecx, [edi + 0x3c]
call fcn.10009010
mov ecx, dword [edi + 0x3c]
mov eax, dword [ebp - 0x30]
add eax, eax
push eax
push ecx
push 1
push str.StartButtonPath
lea ecx, [ebp - 0x29]
call fcn.10028240
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.FFFFFF
lea ecx, [ebp - 0x30]
call fcn.1001d320
push str.taskbar_textcolor
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.10007d70
push 0xfde9
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x38]
push eax
call fcn.10041ec0
add esp, 0x14
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x1002ac49
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ac3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ad99
push edx
push ecx
call fcn.10064ae7
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002ac79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x48]
call fcn.10019a20
push 0x100d9418
push 0x100d9420
lea ecx, [ebp - 0x38]
call fcn.1002ae80
push 0x10
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x38]
call fcn.100a5cf9
add esp, 0xc
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x29]
push 4
push eax
push 4
push str.TaskbarTextColor
call fcn.10028160
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x38]
mov eax, ebx
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002acea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1002ad06
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi + 0x34]
lea esi, [edi + 0x34]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002ad46
cmp byte [ebp + 0xc], 0
je 0x1002ad60
push 1
call fcn.10032a00
add esp, 4
mov byte [edi + 0x60], 1
lea eax, [edi + 0x28]
lea ecx, [edi + 4]
push eax
call fcn.100280e0
call fcn.10009640
mov ecx, eax
call fcn.1002ff50
mov al, 1
jmp 0x1002ad62
cmp byte [ebp + 0x10], 0
je 0x1002ad60
lea eax, [edi + 0x3c]
mov ecx, edi
push eax
lea eax, [edi + 0x40]
push eax
push esi
lea eax, [edi + 0x38]
push eax
call fcn.1001c5e0
xor al, al
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.10064e61
mov esp, ebp
pop ebp
ret 0xc
call fcn.100963a9
call fcn.100963a9
call fcn.100963a9
push 0x80004005
call fcn.10008920
call fcn.100963a9
int3