Function at 0x40864a
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push edi
cmp dword [ebp + 8], 0
je 0x408694
push 0x45d12a
push 0x45cd1a
call fcn.004010a7
push 0x44ef92
push 0x45cd1a
call fcn.004010c5
push dword [ebp + 8]
push 0x45cd1a
call fcn.004010c5
push str..ini
push 0x45cd1a
call fcn.004010c5
push 0x45cd1a
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409889
push 0x45cd1a
push 0x80
push 0x45d22e
push 0x44ef8c
push 0x44f3db
push str.Paths
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
jne 0x4086dd
push 0x45d12a
push 0x45d22e
call fcn.004010a7
push 0x45cd1a
push 0x80
push 0x45d332
push 0x44ef8c
push 0x44f3de
push str.Paths
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0x80
push 0x45d53a
push 0x44ef8c
push 0x44f3e4
push str.Paths
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0x80
push 0x45d63e
push 0x44ef8c
push 0x44f3e7
push str.Paths
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0x80
push 0x45d742
push 0x44ef8c
push 0x44f3ea
push str.Paths
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0x80
push 0x45d846
push 0x44ef8c
push 0x44f3ed
push str.Paths
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0x80
push 0x45d94a
push 0x44ef8c
push 0x44f3f0
push str.Paths
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0x80
push 0x45da4e
push 0x44ef8c
push 0x44f3f3
push str.Paths
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0x80
push 0x45db52
push 0x44ef8c
push 0x44f3f6
push str.Paths
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0x80
push 0x45dc56
push 0x44ef8c
push 0x44f3fc
push str.Paths
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0x80
push 0x45dd5a
push 0x44ef8c
push 0x44f3ff
push str.Paths
call sub.kernel32.dll_GetPrivateProfileStringA
mov eax, 0xc
push eax
push 0x45d22e
call fcn.00408490
push 0x45d332
call fcn.00408490
push 0x45d436
call fcn.00408490
push 0x45d53a
call fcn.00408490
push 0x45d63e
call fcn.00408490
push 0x45d742
call fcn.00408490
push 0x45d846
call fcn.00408490
push 0x45d94a
call fcn.00408490
push 0x45da4e
call fcn.00408490
push 0x45db52
call fcn.00408490
push 0x45dc56
call fcn.00408490
push 0x45dd5a
call fcn.00408490
pop eax
dec eax
jne 0x408840
mov dword [ebp - 0x104], 0
mov edi, 0x44e7cb
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0x104]
call fcn.004011b7
push 0x45cd1a
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x44ef8c
lea eax, [ebp - 0x100]
push eax
push str.Open
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x408942
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push edi
call fcn.004010ef
lea edi, [eax + edi + 1]
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push edi
call fcn.004010ef
lea edi, [eax + edi + 1]
mov byte [edi], 0
inc dword [ebp - 0x104]
jmp 0x4088cc
mov dword [ebp - 0x100], 0x637273
push 0x45cd1a
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x44fed4
lea eax, [ebp - 0x100]
push eax
push str.Open
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x4089db
mov edi, 0x4706b2
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push edi
call fcn.004010ef
lea edi, [eax + edi + 1]
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push edi
call fcn.004010ef
lea edi, [eax + edi + 1]
mov byte [edi], 0
mov edi, 0x470731
jmp 0x4089cf
mov byte [edi], 0x2e
inc edi
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push edi
call fcn.004010ef
lea edi, [eax + edi + 1]
cmp byte [ebp - 0x100], 0
jne 0x4089b4
mov byte [edi], 0
mov dword [ebp - 0x100], 0x726468
push 0x45cd1a
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x44feef
lea eax, [ebp - 0x100]
push eax
push str.Open
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x408a74
mov edi, 0x470752
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push edi
call fcn.004010ef
lea edi, [eax + edi + 1]
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push edi
call fcn.004010ef
lea edi, [eax + edi + 1]
mov byte [edi], 0
mov edi, 0x4707d1
jmp 0x408a68
mov byte [edi], 0x2e
inc edi
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push edi
call fcn.004010ef
lea edi, [eax + edi + 1]
cmp byte [ebp - 0x100], 0
jne 0x408a4d
mov byte [edi], 0
mov dword [ebp - 0x100], 0x646f6d
push 0x45cd1a
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x44ff09
lea eax, [ebp - 0x100]
push eax
push str.Open
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x408b0d
mov edi, 0x4707f2
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push edi
call fcn.004010ef
lea edi, [eax + edi + 1]
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push edi
call fcn.004010ef
lea edi, [eax + edi + 1]
mov byte [edi], 0
mov edi, 0x470871
jmp 0x408b01
mov byte [edi], 0x2e
inc edi
push edi
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push edi
call fcn.004010ef
lea edi, [eax + edi + 1]
cmp byte [ebp - 0x100], 0
jne 0x408ae6
mov byte [edi], 0
push 0x45cd1a
push 8
push 0x45fb16
push 0x44f8a0
push str.CmntChar
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0x80
push 0x45ca0e
push 0x44ef8c
push str.CmntBlock
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45fad6
push 0x45ca0e
call fcn.0040cd48
push 0x45faf6
push 0x45ca0e
call fcn.0040cd48
push 0x45cd1a
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x44ef8c
push str.BraceMatch
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_lstrlenA
mov edx, dword ss:[eax + ebp - 0x103]
cmp edx, 0x7d437b
jne 0x408bbb
mov dword ss:[eax + ebp - 0x103], 0xd
lea eax, [ebp - 0x100]
push eax
push 0
push 0x827
push dword [0x453920]
call sub.user32.dll_SendMessageA
push 0x45cd1a
push 0x20
push 0x48146e
push str.Courier_New
push str.Font
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0xfffffffffffffff4
push str.FontHeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x481452], eax
push 0x45cd1a
push 0x190
push str.FontWeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x481462], eax
push 0x45cd1a
push 0
push str.FontItalic
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov byte [0x481466], al
push 0x45cd1a
push 0
push str.FontCharSet
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov byte [0x481469], al
push 0x45cd1a
push 0x20
push 0x4814aa
push str.Courier_New
push str.TxtFont
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0xfffffffffffffff4
push str.TxtFontHeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x48148e], eax
push 0x45cd1a
push 0x190
push str.TxtFontWeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x48149e], eax
push 0x45cd1a
push 0
push str.TxtFontItalic
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov byte [0x4814a2], al
push 0x45cd1a
push 0
push str.TxtFontCharSet
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov byte [0x4814a5], al
push 0x45cd1a
push 0x20
push 0x4814e6
push str.Courier_New
push str.HexFont
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0xfffffffffffffff4
push str.HexFontHeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x4814ca], eax
push 0x45cd1a
push 0x190
push str.HexFontWeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x4814da], eax
push 0x45cd1a
push 0
push str.HexFontItalic
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov byte [0x4814de], al
push 0x45cd1a
push 0
push str.HexFontCharSet
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov byte [0x4814e1], al
push 0x45cd1a
push 0x20
push 0x481522
push str.Terminal
push str.LnrFont
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0xfffffffffffffff8
push str.LnrFontHeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x481506], eax
push 0x45cd1a
push 0x20
push 0x48155e
push str.MS_Sans_Serif
push str.DlgFont
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0xfffffffffffffff5
push str.DlgFontHeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x481542], eax
push 0x45cd1a
push 0x190
push str.DlgFontWeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x481552], eax
push 0x45cd1a
push 0
push str.DlgFontItalic
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov byte [0x481556], al
push 0x45cd1a
push 0
push str.DlgFontCharSet
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov byte [0x481559], al
push 0x45cd1a
push 0x20
push 0x48159a
push str.MS_Sans_Serif
push str.ToolFont
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0xfffffffffffffff4
push str.ToolFontHeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x48157e], eax
push 0x45cd1a
push 0x190
push str.ToolFontWeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x48158e], eax
push 0x45cd1a
push 0
push str.ToolFontItalic
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov byte [0x481592], al
push 0x45cd1a
push 0
push str.ToolFontCharSet
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov byte [0x481595], al
push 0x45cd1a
push 0x20
push 0x4815d6
push str.Courier_New
push str.PrnFont
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0xfffffffffffffff4
push str.PrnFontHeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x4815ba], eax
push 0x45cd1a
push 0x190
push str.PrnFontWeight
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x4815ca], eax
push 0x45cd1a
push 0
push str.PrnFontCharSet
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov byte [0x4815d1], al
call fcn.00416ec8
or eax, eax
je 0x408f5e
mov edx, str.8500_11000_500_500_500_500_0
jmp 0x408f63
mov edx, str.20990_29690_1000_1000_1000_1000_0
push 0x45cd1a
push 0x80
push 0x45ca0e
push edx
push str.PrnPage
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x46375a], eax
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x46375e], eax
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x463772], eax
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x463776], eax
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x46377a], eax
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x46377e], eax
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x45ee0e], eax
push 0x45cd1a
push 0x80
push 0x45ca0e
push str.2_0_1_1_1
push str.PrnOption
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x45c656], eax
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x45c65a], eax
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x45c65e], eax
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x45c662], eax
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [0x45c666], eax
push 0x45cd1a
push 0x100
lea eax, [ebp - 0x100]
push eax
push str.0_32768_8421504_255_65280_10485760_10485760_10485760_10485760_10485760_10485760_10485760_10485760_10485760_10485760_10485760_10485760_10485760_10485760_10485760_10485760
push str.PrnColor
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
push ebx
mov ecx, 0x15
mov ebx, 0x45c66a
jmp 0x409192
push ecx
push 0x45ca0e
lea eax, [ebp - 0x100]
push eax
call fcn.0040cd48
push 0x45ca0e
call fcn.00401168
mov dword [ebx], eax
add ebx, 4
pop ecx
dec ecx
or ecx, ecx
jne 0x40916f
pop ebx
push 0x45cd1a
push 4
push str.TabSize
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x44f3a5], eax
push 0x45cd1a
push 9
push 0x44f5ae
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c480], eax
push 0x45cd1a
push 1
push str.AutoSave
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c484], eax
push 0x45cd1a
push 1
push str.ThreadBuild
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x4aad32], eax
push 0x45cd1a
push 1
push str.ChangeNotify
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c4cc], eax
push 0x45cd1a
push 0
push str.MinimizeOnBuild
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c4d0], eax
push 0x45cd1a
push 1
push str.AutoIndent
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c488], eax
push 0x45cd1a
push 1
push str.ApiList
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x44f3a9], eax
push 0x45cd1a
push 0
push str.ApiConst
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c498], eax
push 0x45cd1a
push 1
push str.ApiStruct
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x44f3ad], eax
push 0x45cd1a
push 1
push str.ApiWordConv
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c4a0], eax
push 0x45cd1a
push 1
push str.ApiWordLocal
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c4a4], eax
push 0x45cd1a
push 1
push str.ApiToolTip
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x44f3b1], eax
push 0x45cd1a
push 1
push str.Properties
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c48c], eax
push 0x45cd1a
push 0
push str.MouseWheel
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c490], eax
push 0x45cd1a
push 0
push str.SaveSize
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c494], eax
push 0x45cd1a
push 0
push str.Maximize
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x44f365], eax
push 0x45cd1a
push 0
push str.CodeWrite
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c49c], eax
push 0x45cd1a
push 0
push str.TabToSpc
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c47c], eax
push 0x45cd1a
push 1
push str.ProcsToApi
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c4b8], eax
push 0x45cd1a
push 0
push str.EnterOnTab
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c4bc], eax
push 0x45cd1a
push 0
push str.ProcInSBar
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c4c0], eax
push 0x45cd1a
push 1
push str.ApiShiftSpace
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c4a8], eax
push 0x45cd1a
push 0x40
push 0x45c5de
push str..asm.inc.rc.tpl.rad.
push str.CodeFiles
push str.Edit
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0
push str.LnrOnOpen
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c61e], eax
push 0x45cd1a
push 0x42
push str.PageSize
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c622], eax
push 0x45cd1a
push 0
push str.OpenCollapsed
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c4c4], eax
push 0x45cd1a
push 1
push str.AutoBrackets
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c4d8], eax
push 0x45cd1a
push 0
push str.HiliteLine
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c4b0], eax
push 0x45cd1a
push 0
push str.HiliteCmnt
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c4b4], eax
push 0x45cd1a
push 1
push str.CodeTooltip
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c4c8], eax
push 0x45cd1a
push 0
push str.LnSpc
push str.Edit
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c4d4], eax
push 0x45cd1a
push 3
push str.BookMark
push 0x44feb7
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x461d46], eax
push 0x45cd1a
push 1
push str.Grid
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c626], eax
push 0x45cd1a
push 3
push str.GridX
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
cmp eax, 2
jae 0x40958e
mov eax, 2
mov dword [0x45c62a], eax
push 0x45cd1a
push 3
push str.GridY
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
cmp eax, 2
jae 0x4095b3
mov eax, 2
mov dword [0x45c62e], eax
push 0x45cd1a
push 1
push str.SnapToGrid
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c63a], eax
push 0x45cd1a
push 0
push str.GridLine
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c636], eax
push 0x45cd1a
push 0
push str.GridColor
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c632], eax
push 0x45cd1a
push 1
push str.ShowSize
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c63e], eax
push 0x45cd1a
push 1
push str.SaveRC
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c642], eax
push 0x45cd1a
push 0
push str.SimpleProperty
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c646], eax
push 0x45cd1a
push 0
push str.LimittedFont
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45c64a], eax
push 0x45cd1a
push 0x3e8
push str.DlgID
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c64e], eax
push 0x45cd1a
push 0x3e9
push str.CtrlID
push 0x44f721
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [0x45c652], eax
call fcn.00407d26
push 0x45cd1a
push 1
push str.UseColor
push str.Color
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45ec92], eax
push 0x45cd1a
push 1
push str.DivLine
push str.Color
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45ec96], eax
push 0x45cd1a
push 0
push str.NoFlicker
push str.Color
call sub.kernel32.dll_GetPrivateProfileIntA
and eax, 1
mov dword [0x45ec9a], eax
mov edi, 0x44f936
mov edx, dword [edi]
mov eax, dword [edi + 4]
add edi, 8
push edx
push 0x45cd1a
push eax
push edi
push str.Color
call sub.kernel32.dll_GetPrivateProfileIntA
pop edx
mov dword [edx], eax
push edi
call fcn.004010ef
add edi, eax
inc edi
mov eax, dword [edi]
or eax, eax
jne 0x409727
mov dword [ebp - 0x104], 0
mov byte [ebp - 0x100], 0x43
jmp 0x4097a6
lea eax, [ebp - 0xff]
push eax
push dword [ebp - 0x104]
call fcn.004011b7
push 0x45cd1a
push 0xff0000
lea eax, [ebp - 0x100]
push eax
push str.Color
call sub.kernel32.dll_GetPrivateProfileIntA
mov edx, dword [ebp - 0x104]
mov dword [edx*4 + 0x45ed12], eax
inc dword [ebp - 0x104]
cmp dword [ebp - 0x104], 0x10
jb 0x409766
mov edi, 0x45ed52
mov eax, dword [0x45ecd6]
mov dword [edi], eax
mov eax, dword [0x45ecda]
mov dword [edi + 4], eax
mov eax, dword [0x45ecde]
mov dword [edi + 8], eax
mov eax, dword [0x45ece2]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x104], 0
mov byte [ebp - 0x100], 0x42
jmp 0x409823
lea eax, [ebp - 0xff]
push eax
push dword [ebp - 0x104]
call fcn.004011b7
push 0x45cd1a
push 0xc0f0f0
lea eax, [ebp - 0x100]
push eax
push str.Color
call sub.kernel32.dll_GetPrivateProfileIntA
mov edx, dword [ebp - 0x104]
mov dword [edi + edx*4 + 0x10], eax
inc dword [ebp - 0x104]
cmp dword [ebp - 0x104], 0x10
jb 0x4097e6
push 0x45cd1a
push 0x104
push 0x45ca0e
push 0x44ef8c
push str.CustColors
push str.Color
call sub.kernel32.dll_GetPrivateProfileStringA
mov edi, 0x45eda2
xor eax, eax
jmp 0x40987d
push eax
lea eax, [ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
lea eax, [ebp - 0x100]
push eax
call fcn.00401168
mov dword [edi], eax
pop eax
add edi, 4
inc eax
cmp eax, 0x10
jb 0x409858
mov eax, 0
jmp 0x4098ce
push 0x44ecd3
push 0x467936
call fcn.004010a7
push 0x45cd1a
push 0x467936
call fcn.004010c5
push 0x44ec3c
push 0x467936
call fcn.004010c5
push 0x10
push 0x44f25f
push 0x467936
push 0
call sub.user32.dll_MessageBoxA
mov eax, 1
pop edi
leave
ret 4