Function at 0x416e4f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x5a0b04]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5a4e98
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41759d
cmp dword [0x5adab0], 0
push edi
mov edi, dword [ebp + 8]
jne 0x416e9e
test edi, edi
jne 0x416e9e
push edi
push str.SaveSettings
push 0x5218ec
call fcn.004143a5
add esp, 0xc
jmp 0x41759c
push ebx
push esi
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push dword [0x5adab0]
push str.SaveSettings
push esi
call fcn.0041435f
push dword [0x5adaac]
push str.SaveRecentFiles
push esi
call fcn.0041435f
push dword [0x5adaa8]
push str.SaveFindReplace
push esi
call fcn.0041435f
push dword [0x5a6604]
push str.CloseFind
push esi
call fcn.0041435f
push dword [0x5a6608]
push str.CloseReplace
push esi
call fcn.0041435f
push dword [0x5a660c]
push str.NoFindWrap
push esi
call fcn.0041435f
add esp, 0x48
lea eax, [ebp - 0x34c]
mov ebx, 0x104
push dword [0x5a7088]
push 1
push 0
push ebx
push eax
push 0x5ad8a0
call fcn.004127b2
lea eax, [ebp - 0x34c]
push eax
push str.OpenWithDir
push esi
call fcn.00411f6b
push dword [0x5a7088]
lea eax, [ebp - 0x34c]
push 1
push 0
push ebx
push eax
push 0x5ad680
call fcn.004127b2
lea eax, [ebp - 0x34c]
push eax
push 0x5219bc
push esi
call fcn.00411f6b
add esp, 0x48
push dword [0x5aa174]
push str.PathNameFormat
push esi
call fcn.0041435f
push dword [0x5aa16c]
push str.WordWrap
push esi
call fcn.0041435f
push dword [0x5aa168]
push str.WordWrapMode
push esi
call fcn.0041435f
push dword [0x5aa164]
push str.WordWrapIndent
push esi
call fcn.0041435f
push dword [0x5aa160]
push str.WordWrapSymbols
push esi
call fcn.0041435f
push dword [0x5aa15c]
push str.ShowWordWrapSymbols
push esi
call fcn.0041435f
add esp, 0x48
push dword [0x5aa158]
push str.MatchBraces
push esi
call fcn.0041435f
push dword [0x5aa150]
push str.AutoCloseTags
push esi
call fcn.0041435f
push dword [0x5aa148]
push str.HighlightCurrentLine
push esi
call fcn.0041435f
push dword [0x5aa154]
push str.AutoIndent
push esi
call fcn.0041435f
push dword [0x5aa0fc]
push str.AutoCompleteWords
push esi
call fcn.0041435f
push dword [0x5aa14c]
push str.ShowIndentGuides
push esi
call fcn.0041435f
add esp, 0x48
push dword [0x5aa140]
push str.TabsAsSpaces
push esi
call fcn.0041435f
push dword [0x5aa138]
push str.TabIndents
push esi
call fcn.0041435f
push dword [0x5aa134]
push str.BackspaceUnindents
push esi
call fcn.0041435f
push dword [0x5aa12c]
push str.TabWidth
push esi
call fcn.0041435f
push dword [0x5aa124]
push str.IndentWidth
push esi
call fcn.0041435f
push dword [0x5aa120]
push str.MarkLongLines
push esi
call fcn.0041435f
add esp, 0x48
push dword [0x5aa118]
push str.LongLinesLimit
push esi
call fcn.0041435f
push dword [0x5aa114]
push str.LongLineMode
push esi
call fcn.0041435f
push dword [0x5aa110]
push str.ShowSelectionMargin
push esi
call fcn.0041435f
push dword [0x5aa10c]
push str.ShowLineNumbers
push esi
call fcn.0041435f
push dword [0x5aa0f8]
push str.ShowCodeFolding
push esi
call fcn.0041435f
push dword [0x5aa108]
push str.MarkOccurrences
push esi
call fcn.0041435f
add esp, 0x48
push dword [0x5aa104]
push str.MarkOccurrencesMatchCase
push esi
call fcn.0041435f
push dword [0x5aa100]
push str.MarkOccurrencesMatchWholeWords
push esi
call fcn.0041435f
push dword [0x5aa0f4]
push str.ViewWhiteSpace
push esi
call fcn.0041435f
push dword [0x5aa0f0]
push str.ViewEOLs
push esi
call fcn.0041435f
push dword [0x5aa0ec]
push 0
call fcn.004109e0
push eax
push str.DefaultEncoding
push esi
call fcn.0041435f
add esp, 0x44
push dword [0x5aa0e8]
push str.SkipUnicodeDetection
push esi
call fcn.0041435f
push dword [0x5aa0e4]
push str.LoadASCIIasUTF8
push esi
call fcn.0041435f
push dword [0x5aa0e0]
push str.LoadNFOasOEM
push esi
call fcn.0041435f
push dword [0x5aa0dc]
push str.NoEncodingTags
push esi
call fcn.0041435f
push dword [0x5aa0d8]
push str.DefaultEOLMode
push esi
call fcn.0041435f
push dword [0x5aa0d4]
push str.FixLineEndings
push esi
call fcn.0041435f
add esp, 0x48
push dword [0x5aa0d0]
push str.FixTrailingBlanks
push esi
call fcn.0041435f
push dword [0x5aa0cc]
push str.PrintHeader
push esi
call fcn.0041435f
push dword [0x5aa0c8]
push str.PrintFooter
push esi
call fcn.0041435f
push dword [0x5aa0c4]
push str.PrintColorMode
push esi
call fcn.0041435f
mov eax, dword [0x5aa0c0]
add eax, 0xa
push eax
push str.PrintZoom
push esi
call fcn.0041435f
push dword [0x5aa0b0]
push str.PrintMarginLeft
push esi
call fcn.0041435f
add esp, 0x48
push dword [0x5aa0b4]
push str.PrintMarginTop
push esi
call fcn.0041435f
push dword [0x5aa0b8]
push str.PrintMarginRight
push esi
call fcn.0041435f
push dword [0x5aa0bc]
push str.PrintMarginBottom
push esi
call fcn.0041435f
push dword [0x5aa0a0]
push str.SaveBeforeRunningTools
push esi
call fcn.0041435f
push dword [0x5aa09c]
push str.FileWatchingMode
push esi
call fcn.0041435f
push dword [0x5aa098]
push str.ResetFileWatching
push esi
call fcn.0041435f
add esp, 0x48
push dword [0x5aa08c]
push str.EscFunction
push esi
call fcn.0041435f
push dword [0x5aa088]
push str.AlwaysOnTop
push esi
call fcn.0041435f
push dword [0x5aa084]
push str.MinimizeToTray
push esi
call fcn.0041435f
push dword [0x5aa080]
push str.TransparentMode
push esi
call fcn.0041435f
push 0x200
mov ebx, 0x5aa7e0
push ebx
push 0x9efc
push dword [0x5adac0]
call fcn.00412f15
add esp, 0x40
push ebx
push str.ToolbarButtons
push esi
call fcn.00411f6b
push dword [0x5aa078]
push str.ShowToolbar
push esi
call fcn.0041435f
push dword [0x5aa074]
push str.ShowStatusbar
push esi
call fcn.0041435f
push dword [0x5aa02c]
push str.EncodingDlgSizeX
push esi
call fcn.0041435f
push dword [0x5aa028]
push str.EncodingDlgSizeY
push esi
call fcn.0041435f
push dword [0x5aa024]
push str.RecodeDlgSizeX
push esi
call fcn.0041435f
add esp, 0x48
push dword [0x5aa020]
push str.RecodeDlgSizeY
push esi
call fcn.0041435f
push dword [0x5aa01c]
push str.FileMRUDlgSizeX
push esi
call fcn.0041435f
push dword [0x5aa018]
push str.FileMRUDlgSizeY
push esi
call fcn.0041435f
push dword [0x5aa014]
push str.OpenWithDlgSizeX
push esi
call fcn.0041435f
push dword [0x5aa010]
push str.OpenWithDlgSizeY
push esi
call fcn.0041435f
push dword [0x5aa00c]
push str.FavoritesDlgSizeX
push esi
call fcn.0041435f
add esp, 0x48
push dword [0x5aa008]
push str.FavoritesDlgSizeY
push esi
call fcn.0041435f
push dword [0x5aa004]
push str.FindReplaceDlgPosX
push esi
call fcn.0041435f
push dword [0x5aa000]
push str.FindReplaceDlgPosY
push esi
call fcn.0041435f
add esp, 0x24
mov ebx, 0x5a4e98
push ebx
push esi
push 0x5218ec
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x4174ac
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x2c
push eax
push dword [0x5adab4]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, ecx
push dword [0x5adab4]
mov dword [0x5aa068], eax
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [0x5aa060], ecx
mov dword [0x5aa064], edx
mov dword [0x5aa06c], eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x4174a2
test byte [ebp - 0x2c], 2
jne 0x4174a2
and dword [0x5aa070], eax
jmp 0x4174ac
mov dword [0x5aa070], 1
push ebx
push 0
push str.StickyWindowPosition
push str.Settings2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x417595
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
call esi
push 1
mov ebx, eax
call esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov edi, eax
push edi
push ebx
lea eax, [ebp - 0x44]
push str._ix_i_PosX
push eax
call esi
push edi
push ebx
lea eax, [ebp - 0x84]
push str._ix_i_PosY
push eax
call esi
push edi
push ebx
lea eax, [ebp - 0xc4]
push str._ix_i_SizeX
push eax
call esi
push edi
push ebx
lea eax, [ebp - 0x104]
push str._ix_i_SizeY
push eax
call esi
add esp, 0x40
lea eax, [ebp - 0x144]
push edi
push ebx
push str._ix_i_Maximized
push eax
call esi
push dword [0x5aa060]
lea eax, [ebp - 0x44]
mov esi, str.Window
push eax
push esi
call fcn.004143a5
push dword [0x5aa064]
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004143a5
push dword [0x5aa068]
lea eax, [ebp - 0xc4]
push eax
push esi
call fcn.004143a5
push dword [0x5aa06c]
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.004143a5
add esp, 0x40
lea eax, [ebp - 0x144]
push dword [0x5aa070]
push eax
push esi
call fcn.004143a5
add esp, 0xc
call fcn.00419259
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049badb
leave
ret