Function at 0x10001410
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc
mov dword [0x100067b4], 0x10004494
push esi
push str.Title
call fcn.100013d5
push str.CancelButtonText
mov dword [0x100067e4], eax
call fcn.100013d5
push str.NextButtonText
mov dword [0x100067e8], eax
call fcn.100013d5
push str.BackButtonText
mov dword [0x100067ec], eax
call fcn.100013d5
xor esi, esi
mov dword [0x100067f0], eax
push esi
push str.NumFields
call fcn.100013f3
push 0x3fa
push str.Rect
mov dword [0x1000680c], eax
call fcn.100013f3
push 0xffffffffffffffff
push str.BackEnabled
mov dword [0x10006808], eax
call fcn.100013f3
push 0xffffffffffffffff
push str.CancelEnabled
mov dword [0x100067f4], eax
call fcn.100013f3
push 0xffffffffffffffff
push str.CancelShow
mov dword [0x100067f8], eax
call fcn.100013f3
push esi
push 0x10004548
mov dword [0x100067fc], eax
call fcn.100013f3
mov dword [0x10006800], eax
mov eax, dword [0x1000680c]
cmp eax, esi
jle 0x100014dd
imul eax, eax, 0xa8
push eax
call fcn.10001000
mov dword [0x10006804], eax
mov eax, dword [0x1000680c]
cmp eax, esi
jle 0x10001766
push ebx
xor ebx, ebx
push ebp
push edi
inc ebx
mov dword [esp + 0x18], 0x4b1
mov dword [esp + 0x14], 0x4b0
mov dword [esp + 0x10], esi
mov ebp, 0x10004648
mov eax, dword [esp + 0x10]
mov ecx, dword [0x10006804]
push ebx
mov edi, 0x10006664
lea esi, [eax + ecx]
push str.Field__d
push edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], str.HWND
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [0x100067b4], edi
push str.TYPE
call fcn.100013a6
push ebp
push 0x10004008
call fcn.100029d7
test eax, eax
mov dword [esi + 0x20], eax
je 0x10001745
mov edi, 0x10004098
push ebp
push edi
call fcn.100029d7
push str.Flags
mov dword [esi + 0x34], eax
call fcn.100013a6
push ebp
push edi
call fcn.10002a11
or dword [esi + 0x34], eax
push str.State
call fcn.100013a6
push ebp
call fcn.1000101f
push str.ListItems
mov dword [esi + 4], eax
call fcn.100013a6
mov edi, eax
test edi, edi
je 0x100015c4
lea eax, [edi + 2]
push eax
call fcn.10001000
push ebp
push eax
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 0xc]
mov byte [edi + eax], 0x7c
mov eax, dword [esi + 0xc]
and byte [eax + edi + 1], 0
push str.TEXT
call fcn.100013d5
mov ecx, dword [esi + 0x20]
mov dword [esi], eax
cmp ecx, 3
je 0x100015dd
cmp ecx, 7
jne 0x100015e3
push eax
call fcn.10002a54
push str.ROOT
call fcn.100013d5
push str.ValidateText
mov dword [esi + 8], eax
call fcn.100013d5
push eax
mov dword [esi + 0x14], eax
call fcn.10002a54
push dword [0x100067e0]
push 0x2000
push ebp
push str.All_Files.
push str.Filter
push 0x10006664
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edi, edi
cmp eax, edi
je 0x1000165b
add eax, 2
push eax
call fcn.10001000
push ebp
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 0x10]
jmp 0x10001655
cmp cl, 0x7c
jne 0x1000164e
and byte [eax], 0
inc eax
jmp 0x10001655
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x10001643
push edi
push str.LEFT
call fcn.100013f3
push edi
push 0x100044e8
mov dword [esi + 0x24], eax
call fcn.100013f3
push edi
push str.RIGHT
mov dword [esi + 0x28], eax
call fcn.100013f3
push edi
push str.BOTTOM
mov dword [esi + 0x2c], eax
call fcn.100013f3
push edi
push str.MinLen
mov dword [esi + 0x30], eax
call fcn.100013f3
push edi
push str.MaxLen
mov dword [esi + 0x18], eax
call fcn.100013f3
push 0xff0000
push str.TxtColor
mov dword [esi + 0x1c], eax
call fcn.100013f3
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x20]
cmp eax, 0xd
je 0x100016d5
cmp eax, 0xe
jne 0x10001745
mov eax, dword [0x10006804]
mov ecx, dword [esp + 0x10]
push section..data
lea edi, [ecx + eax + 0x54]
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x20], 6
mov eax, dword [esi + 0x34]
and eax, 0x8010000
mov dword [edi + 0x34], eax
call fcn.1000101f
mov dword [edi], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
add eax, 0xfffffff1
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x28]
add dword [esp + 0x10], 0x54
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x24]
sub eax, 3
mov dword [esi + 0x2c], eax
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], str.HWND2
inc dword [0x1000680c]
inc dword [esp + 0x14]
inc dword [esp + 0x18]
add dword [esp + 0x10], 0x54
mov eax, dword [0x1000680c]
inc ebx
inc dword [esp + 0x14]
inc dword [esp + 0x18]
lea ecx, [ebx - 1]
cmp ecx, eax
jl 0x10001509
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret