Function at 0x40f7e8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x5b41f4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5b7cb8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x40ff45
cmp dword [0x5c0b70], 0
push edi
mov edi, dword [ebp + 8]
jne 0x40f837
test edi, edi
jne 0x40f837
push edi
push 0x56281c
push 0x562838
call fcn.00404390
add esp, 0xc
jmp 0x40ff44
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 [0x5c0b70]
push str.SaveSettings
push esi
call fcn.004180eb
push dword [0x5c0b6c]
push str.SaveRecentFiles
push esi
call fcn.004180eb
push dword [0x5c0b68]
push str.SaveFindReplace
push esi
call fcn.004180eb
push dword [0x5b9424]
push str.CloseFind
push esi
call fcn.004180eb
push dword [0x5b9428]
push str.CloseReplace
push esi
call fcn.004180eb
push dword [0x5b942c]
push str.NoFindWrap
push esi
call fcn.004180eb
add esp, 0x48
lea eax, [ebp - 0x34c]
mov ebx, 0x104
push dword [0x5b9ea8]
push 1
push 0
push ebx
push eax
push 0x5c0960
call fcn.0040d3c8
lea eax, [ebp - 0x34c]
push eax
push str.OpenWithDir
push esi
call fcn.0040c942
push dword [0x5b9ea8]
lea eax, [ebp - 0x34c]
push 1
push 0
push ebx
push eax
push 0x5c0740
call fcn.0040d3c8
lea eax, [ebp - 0x34c]
push eax
push 0x562908
push esi
call fcn.0040c942
add esp, 0x48
push dword [0x5bd234]
push str.PathNameFormat
push esi
call fcn.004180eb
push dword [0x5bd22c]
push str.WordWrap
push esi
call fcn.004180eb
push dword [0x5bd228]
push str.WordWrapMode
push esi
call fcn.004180eb
push dword [0x5bd224]
push str.WordWrapIndent
push esi
call fcn.004180eb
push dword [0x5bd220]
push str.WordWrapSymbols
push esi
call fcn.004180eb
push dword [0x5bd21c]
push str.ShowWordWrapSymbols
push esi
call fcn.004180eb
add esp, 0x48
push dword [0x5bd218]
push str.MatchBraces
push esi
call fcn.004180eb
push dword [0x5bd210]
push str.AutoCloseTags
push esi
call fcn.004180eb
push dword [0x5bd208]
push str.HighlightCurrentLine
push esi
call fcn.004180eb
push dword [0x5bd214]
push str.AutoIndent
push esi
call fcn.004180eb
push dword [0x5bd1bc]
push str.AutoCompleteWords
push esi
call fcn.004180eb
push dword [0x5bd20c]
push str.ShowIndentGuides
push esi
call fcn.004180eb
add esp, 0x48
push dword [0x5bd200]
push str.TabsAsSpaces
push esi
call fcn.004180eb
push dword [0x5bd1f8]
push str.TabIndents
push esi
call fcn.004180eb
push dword [0x5bd1f4]
push str.BackspaceUnindents
push esi
call fcn.004180eb
push dword [0x5bd1ec]
push str.TabWidth
push esi
call fcn.004180eb
push dword [0x5bd1e4]
push str.IndentWidth
push esi
call fcn.004180eb
push dword [0x5bd1e0]
push str.MarkLongLines
push esi
call fcn.004180eb
add esp, 0x48
push dword [0x5bd1d8]
push str.LongLinesLimit
push esi
call fcn.004180eb
push dword [0x5bd1d4]
push str.LongLineMode
push esi
call fcn.004180eb
push dword [0x5bd1d0]
push str.ShowSelectionMargin
push esi
call fcn.004180eb
push dword [0x5bd1cc]
push str.ShowLineNumbers
push esi
call fcn.004180eb
push dword [0x5bd1b8]
push str.ShowCodeFolding
push esi
call fcn.004180eb
push dword [0x5bd1c8]
push str.MarkOccurrences
push esi
call fcn.004180eb
add esp, 0x48
push dword [0x5bd1c4]
push str.MarkOccurrencesMatchCase
push esi
call fcn.004180eb
push dword [0x5bd1c0]
push str.MarkOccurrencesMatchWholeWords
push esi
call fcn.004180eb
push dword [0x5bd1b4]
push str.ViewWhiteSpace
push esi
call fcn.004180eb
push dword [0x5bd1b0]
push str.ViewEOLs
push esi
call fcn.004180eb
push dword [0x5bd1ac]
push 0
call fcn.0040ad92
push eax
push str.DefaultEncoding
push esi
call fcn.004180eb
add esp, 0x44
push dword [0x5bd1a8]
push str.SkipUnicodeDetection
push esi
call fcn.004180eb
push dword [0x5bd1a4]
push str.LoadASCIIasUTF8
push esi
call fcn.004180eb
push dword [0x5bd1a0]
push str.LoadNFOasOEM
push esi
call fcn.004180eb
push dword [0x5bd19c]
push str.NoEncodingTags
push esi
call fcn.004180eb
push dword [0x5bd198]
push str.DefaultEOLMode
push esi
call fcn.004180eb
push dword [0x5bd194]
push str.FixLineEndings
push esi
call fcn.004180eb
add esp, 0x48
push dword [0x5bd190]
push str.FixTrailingBlanks
push esi
call fcn.004180eb
push dword [0x5bd18c]
push str.PrintHeader
push esi
call fcn.004180eb
push dword [0x5bd188]
push str.PrintFooter
push esi
call fcn.004180eb
push dword [0x5bd184]
push str.PrintColorMode
push esi
call fcn.004180eb
mov eax, dword [0x5bd180]
add eax, 0xa
push eax
push str.PrintZoom
push esi
call fcn.004180eb
push dword [0x5bd170]
push str.PrintMarginLeft
push esi
call fcn.004180eb
add esp, 0x48
push dword [0x5bd174]
push str.PrintMarginTop
push esi
call fcn.004180eb
push dword [0x5bd178]
push str.PrintMarginRight
push esi
call fcn.004180eb
push dword [0x5bd17c]
push str.PrintMarginBottom
push esi
call fcn.004180eb
push dword [0x5bd160]
push str.SaveBeforeRunningTools
push esi
call fcn.004180eb
push dword [0x5bd15c]
push str.FileWatchingMode
push esi
call fcn.004180eb
push dword [0x5bd158]
push str.ResetFileWatching
push esi
call fcn.004180eb
add esp, 0x48
push dword [0x5bd14c]
push str.EscFunction
push esi
call fcn.004180eb
push dword [0x5bd148]
push str.AlwaysOnTop
push esi
call fcn.004180eb
push dword [0x5bd144]
push str.MinimizeToTray
push esi
call fcn.004180eb
push dword [0x5bd140]
push str.TransparentMode
push esi
call fcn.004180eb
push 0x200
mov ebx, 0x5bd8a0
push ebx
push 0x9efc
push dword [0x5c0b80]
call fcn.0040d1c2
add esp, 0x40
push ebx
push str.ToolbarButtons
push esi
call fcn.0040c942
push dword [0x5bd138]
push str.ShowToolbar
push esi
call fcn.004180eb
push dword [0x5bd134]
push str.ShowStatusbar
push esi
call fcn.004180eb
push dword [0x5bd0ec]
push str.EncodingDlgSizeX
push esi
call fcn.004180eb
push dword [0x5bd0e8]
push str.EncodingDlgSizeY
push esi
call fcn.004180eb
push dword [0x5bd0e4]
push str.RecodeDlgSizeX
push esi
call fcn.004180eb
add esp, 0x48
push dword [0x5bd0e0]
push str.RecodeDlgSizeY
push esi
call fcn.004180eb
push dword [0x5bd0dc]
push str.FileMRUDlgSizeX
push esi
call fcn.004180eb
push dword [0x5bd0d8]
push str.FileMRUDlgSizeY
push esi
call fcn.004180eb
push dword [0x5bd0d4]
push str.OpenWithDlgSizeX
push esi
call fcn.004180eb
push dword [0x5bd0d0]
push str.OpenWithDlgSizeY
push esi
call fcn.004180eb
push dword [0x5bd0cc]
push str.FavoritesDlgSizeX
push esi
call fcn.004180eb
add esp, 0x48
push dword [0x5bd0c8]
push str.FavoritesDlgSizeY
push esi
call fcn.004180eb
push dword [0x5bd0c4]
push str.FindReplaceDlgPosX
push esi
call fcn.004180eb
push dword [0x5bd0c0]
push str.FindReplaceDlgPosY
push esi
call fcn.004180eb
add esp, 0x24
mov ebx, 0x5b7cb8
push ebx
push esi
push 0x563180
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x40fe45
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x2c
push eax
push dword [0x5c0b74]
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 [0x5c0b74]
mov dword [0x5bd128], eax
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [0x5bd120], ecx
mov dword [0x5bd124], edx
mov dword [0x5bd12c], eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x40fe3b
test byte [ebp - 0x2c], 2
jne 0x40fe3b
and dword [0x5bd130], eax
jmp 0x40fe45
mov dword [0x5bd130], 1
push ebx
push 0
push str.StickyWindowPosition
push str.Settings2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x40ff3d
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 [0x5bd120]
lea eax, [ebp - 0x44]
push eax
push 0x563254
call fcn.00404390
push dword [0x5bd124]
lea eax, [ebp - 0x84]
push eax
push 0x563264
call fcn.00404390
push dword [0x5bd128]
lea eax, [ebp - 0xc4]
push eax
push 0x563274
call fcn.00404390
push dword [0x5bd12c]
lea eax, [ebp - 0x104]
push eax
push 0x563284
call fcn.00404390
add esp, 0x40
lea eax, [ebp - 0x144]
push dword [0x5bd130]
push eax
push str.Window
call fcn.00404390
add esp, 0xc
call fcn.0041958d
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004afcaa
leave
ret