Function at 0x42fec0
Capabilities:
Print debug messages
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9288
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x50545c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x14]
call fcn.00412230
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellIconOverlayIdentifiers_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x430086
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 1
je 0x42ff40
cmp dword [ebp - 0x50], 2
je 0x42ff73
cmp dword [ebp - 0x50], 3
je 0x42ffaa
jmp 0x42ffe3
mov byte [ebp - 0x2c], 1
mov byte [ebp - 0x2b], 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
push 0xf003f
push 0
push 0x4d653c
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10], eax
jmp 0x42ffe3
mov byte [ebp - 0x30], 1
mov byte [ebp - 0x2f], 1
mov byte [ebp - 0x2e], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0xf003f
push 0
push 0x4d653c
push 0
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10], eax
jmp 0x42ffe3
mov byte [ebp - 0x34], 1
mov byte [ebp - 0x33], 1
mov byte [ebp - 0x32], 1
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
push 0xf003f
push 0
push 0x4d653c
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x430011
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
push edx
push str.ShellImportRegister___RegCreateKeyExA_err_is__d
lea eax, [ebp - 0x14]
push eax
call fcn.00413630
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x48]
push edx
push 1
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x430070
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push str.ShellImportRegister___RegSetValueExA_err_is__d
lea edx, [ebp - 0x14]
push edx
call fcn.00413630
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4300ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
push str.ShellImportRegister___RegOpenKeyEx_err_is__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00413630
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret