Function at 0x5369b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x650], ecx
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.005378b0
lea ecx, [ebp - 8]
call fcn.005378b0
lea eax, [ebp - 0x644]
push eax
mov ecx, 0x5e2da0
call fcn.004746a0
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x536a0d
push 0
lea edx, [ebp - 0x648]
push edx
lea ecx, [ebp - 0xc]
call fcn.005378f0
lea eax, [ebp - 0x64c]
push eax
mov ecx, 0x5e2da0
call fcn.00472500
push eax
lea ecx, [ebp - 0xc]
call fcn.00472f50
movzx ecx, al
test ecx, ecx
je 0x536a84
lea ecx, [ebp - 0xc]
call fcn.005378d0
mov edx, dword [eax]
cmp edx, dword [ebp - 0x10]
jle 0x536a4a
lea ecx, [ebp - 0xc]
call fcn.005378d0
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push 0x5a300c
lea ecx, [ebp - 0xc]
call fcn.005378d0
add eax, 4
mov ecx, eax
call fcn.0041dbd0
test eax, eax
jne 0x536a7f
lea ecx, [ebp - 0xc]
call fcn.005378d0
mov ecx, dword [ebp - 0x650]
mov edx, dword [eax]
mov dword [ecx + 0x1134], edx
mov byte [ebp - 1], 1
jmp 0x5369fc
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x536c5b
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov edx, dword [ebp - 0x650]
mov dword [edx + 0x1134], ecx
mov eax, dword [0x5a302c]
mov dword [ebp - 0x640], eax
push 0x204
push 0
lea ecx, [ebp - 0x63c]
push ecx
call fcn.005533a0
add esp, 0xc
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartButtonDock
lea edx, [ebp - 0x640]
push edx
call fcn.00554842
add esp, 8
mov eax, dword [0x5a30b8]
mov dword [ebp - 0x228], eax
push 0x204
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.005533a0
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x640]
push eax
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x536b38
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x640]
push edx
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x536b38
jmp 0x536c5b
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x640]
push eax
push str._s_d
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x438]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x228]
push eax
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x536bb1
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x228]
push edx
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x536bb1
jmp 0x536c5b
mov eax, dword [0x5a30c8]
mov dword [ebp - 0x430], eax
push 0x204
push 0
lea ecx, [ebp - 0x42c]
push ecx
call fcn.005533a0
add esp, 0xc
push 0x5a30cc
push 0x5a30ec
lea edx, [ebp - 0x430]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x434]
push eax
push str.ButtonClassName
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x438]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SmallDeskButton
mov eax, dword [ebp - 0x650]
add eax, 0x1134
push eax
mov ecx, 0x5e2da0
call fcn.00471e90
mov ecx, eax
call fcn.0041daf0
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret