Function at 0x42a420
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x4caf4c
push 0
push edx
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x42a459
xor eax, eax
pop esi
pop ecx
ret 4
mov ecx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebp
push ebx
lea eax, [esi + 0x1c]
push 4
push eax
push 3
push 0
push str.AutoPreview
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x134]
push 4
push edx
push 3
push 0
push str.PreviewMode
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x1cc]
push 4
push ecx
push 3
push 0
push str.LVStyle
push edx
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x1d0]
push 4
push eax
push 3
push 0
push str.SCStyle
push ecx
call edi
mov edx, dword [esp + 0x18]
push 4
push esi
push 3
push 0
push str.SortMethod
push edx
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esi + 8]
push 4
push eax
push 3
push 0
push str.SortReverse
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x164]
push 4
push edx
push 3
push 0
push str.PreviewLoc
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x168]
push 4
push ecx
push 3
push 0
push str.ShortcutsLoc
push edx
call edi
lea eax, [esi + 0x16c]
push 4
push eax
push 3
push 0
push str.PVHeightUTV
mov ecx, dword [esp + 0x2c]
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x170]
push 4
push edx
push 3
push 0
push str.PVHeightUFL
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x174]
push 4
push ecx
push 3
push 0
push str.PVHeightUSC
push edx
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x178]
push 4
push eax
push 3
push 0
push str.TVSplitPos
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x17c]
push 4
push edx
push 3
push 0
push str.SCSplitLPos
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x180]
push 4
push ecx
push 3
push 0
push str.SCSplitPos
push edx
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x1d4]
push 8
push eax
push 3
push 0
push str.BrowserWndSize
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x218]
push 4
push edx
push 3
push 0
push str.BrowserToolBar
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x21c]
push 4
push ecx
push 3
push 0
push str.BrowserStatBar
push edx
call edi
lea eax, [esi + 0x220]
push 4
push eax
push 3
push 0
push str.BrowserMenu
mov ecx, dword [esp + 0x2c]
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x224]
push 4
push edx
push 3
push 0
push str.BrowserPathBox
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x228]
push 4
push ecx
push 3
push 0
push str.BrowserFolderTree
push edx
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x22c]
push 4
push eax
push 3
push 0
push str.BrowserPreview
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x230]
push 4
push edx
push 3
push 0
push str.BrowserShortcuts
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x20c]
push 4
push ecx
push 3
push 0
push str.ViewerToolBar
push edx
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x210]
push 4
push eax
push 3
push 0
push str.ViewerStatBar
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x214]
push 4
push edx
push 3
push 0
push str.ViewerMenu
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x2ac]
push 4
push ecx
push 3
push 0
push str.MCShowImages
push edx
call edi
lea eax, [esi + 0x2a8]
push 4
push eax
push 3
push 0
push str.MCScrollUnison
mov ecx, dword [esp + 0x2c]
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x2b5]
push 0x40
push edx
push 3
push 0
push str.PrintOptions
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x2f8]
push 0x24
push ecx
push 3
push 0
push str.ConvertOptions
push edx
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x320]
push 4
push eax
push 3
push 0
push str.ShowOpenPreview
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x324]
push 4
push edx
push 3
push 0
push str.OpenDefFilter
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x54c]
push 4
push ecx
push 3
push 0
push str.ShellOpenAssoc
push edx
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x550]
push 4
push eax
push 3
push 0
push str.ShellViewAssoc
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x554]
push 4
push edx
push 3
push 0
push str.ShellPrintAssoc
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x558]
push 4
push ecx
push 3
push 0
push str.ShellBrowseAssoc
push edx
call edi
lea eax, [esi + 0x564]
push 4
push eax
push 3
push 0
push str.ImageHiliteClr
mov ecx, dword [esp + 0x2c]
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x568]
push 4
push edx
push 3
push 0
push str.ImageHiliteClr8
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x5c0]
push 0x10
push ecx
push 3
push 0
push str.FindOptions
push edx
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x1b4]
push 0x18
push eax
push 3
push 0
push str.ShowColumns
push ecx
call edi
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x184]
push 0x18
push edx
push 3
push 0
push str.ColumnWidths
push eax
call edi
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x19c]
push 0x18
push ecx
push 3
push 0
push str.ColumnOrder
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebx, [esi + 0x328]
push ebx
call ebp
inc eax
push eax
mov eax, dword [esp + 0x1c]
push ebx
push 1
push 0
push str.OpenFolder
push eax
call edi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x42a899
add esi, 0x28
push esi
call ebp
mov ecx, dword [esp + 0x18]
inc eax
push eax
push esi
push 1
push 0
push str.LastFolder
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop ebp
pop edi
mov eax, 1
pop esi
pop ecx
ret 4