Function at 0x40d6b9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0xfffffffffffffff0
push dword [0x42bc70]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, 0x1000000
xor edi, edi
test esi, eax
jne 0x40d6f0
test eax, 0x20000000
je 0x40d6e8
cmp dword [0x42bfa8], 2
je 0x40d6f0
mov dword [0x42bfa4], edi
jmp 0x40d6f6
mov dword [0x42bfa4], esi
cmp dword [0x42d830], edi
je 0x40d715
push 0x425fb8
push edi
push 0x229
push dword [0x42d82c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x425fb8]
dec eax
neg eax
sbb eax, eax
push edi
and eax, 0xff000000
add eax, esi
mov dword [0x421ac8], eax
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SoftwareAkelsoftAkelPadOptions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40d754
xor eax, eax
jmp 0x40dbdb
push ebx
mov esi, 0x42bd80
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push edi
push str.LanguageModule
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push 4
pop ebx
push ebx
push 0x42c5d0
push ebx
push edi
push str.WordWrap
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42c5d4
push ebx
push edi
push str.OnTop
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x421038
push ebx
push edi
push str.StatusBar
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42c5d8
push ebx
push edi
push str.SaveTime
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42c5e4
push ebx
push edi
push str.KeepSpace
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x421044
push ebx
push edi
push str.UndoLimit
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42c5ec
push ebx
push edi
push str.DetailedUndo
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42c5f0
push ebx
push edi
push str.ShowURL
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42c5dc
push ebx
push edi
push str.WatchFile
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42c5e0
push ebx
push edi
push str.SingleOpenFile
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42103c
push ebx
push edi
push str.SingleOpenProgram
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42d828
push ebx
push edi
push 0x41e4fc
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x421d70
push ebx
push edi
push str.DefaultCodepage
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x429bf4
push ebx
push edi
push str.CodepageRecognition
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x421014
push ebx
push edi
push str.CodepageRecognitionBuffer
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x421018
push ebx
push edi
push str.RecentFiles
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x421024
push ebx
push edi
push str.SearchStrings
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x421020
push ebx
push edi
push str.SearchOptions
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x421040
push ebx
push edi
push str.TabStopSize
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42c5e8
push ebx
push edi
push str.TabStopAsSpaces
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x421048
push ebx
push edi
push str.MarginsEdit
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push 0x10
push 0x42c4fc
push 3
push edi
push str.MarginsPrint
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push 0x5c
push 0x42bc10
push 3
push edi
push str.FontW
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42c430
push ebx
push edi
push str.TextColor
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x421028
push ebx
push edi
push str.BackgroundColor
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42bfa4
push ebx
push edi
push str.WindowStyle
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push 0x10
push 0x421004
push 3
push edi
push str.WindowPosition
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
cmp dword [0x42d824], edi
je 0x40da9f
push ebx
push 0x421ac4
push ebx
push edi
push str.TabViewMDI
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42d844
push ebx
push edi
push str.TabTypeMDI
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x421ac8
push ebx
push edi
push str.WindowStyleMDI
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push str.__t_r_______._:_________
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push str.__t_r_______._:_________
push 3
push edi
push str.WordDelimiters
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push 0x42ca00
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 0x42ca00
push 1
push edi
push str.ExecuteCommand
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push 0x42d308
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 0x42d308
push 1
push edi
push str.ExecuteDirectory
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push 0x421260
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 0x421260
push 1
push edi
push str.FileTypesOpen
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push str.bat_cmd_reg_htm_html
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push str.bat_cmd_reg_htm_html
push 1
push edi
push str.FileTypesEdit
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push str.txt_log_ini_inf
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push str.txt_log_ini_inf
push 1
push edi
push str.FileTypesPrint
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
push ebx
push 0x42d820
push ebx
push edi
push str.FileTypesAssociated
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
mov edx, dword [0x42bfb0]
push edx
call fcn.00407e16
pop ecx
shl eax, 2
push eax
push edx
push 3
push edi
push str.CodepageList
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40dbcf
xor edi, edi
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret