Function at 0x411664
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x417610
call fcn.00417000
sub esp, 0x7c
mov eax, dword [ebp + 0xc]
push ebx
push esi
sub eax, 0x4e
push edi
je 0x4118b1
sub eax, 0xc2
je 0x41180b
dec eax
jne 0x411a5f
mov esi, 0x469
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp + 0xc], eax
push 0
movzx eax, word [ebp + 0x10]
dec eax
pop edi
mov ebx, 0x417ad0
je 0x411727
sub eax, esi
jne 0x4117b7
push 0x28
lea eax, [ebp - 0x60]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x60], 4
push edi
push edi
push 0x1042
push dword [ebp + 0xc]
call esi
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
push edi
push 0x1005
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x4117b7
push dword [ebp - 0x40]
mov ecx, ebx
call fcn.0041088b
mov esi, eax
cmp esi, edi
je 0x4117b7
push 0x46a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov dword [esi + 0x44], eax
jmp 0x4117b7
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0x1004
push dword [ebp + 0xc]
call esi
cmp eax, edi
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], edi
jle 0x4117a6
push 0x28
lea eax, [ebp - 0x60]
push edi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
push edi
push 0x1005
mov dword [ebp - 0x60], 4
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x41179b
push dword [ebp - 0x40]
mov ecx, ebx
call fcn.0041088b
push 0xf000
mov dword [ebp + 0x14], eax
push dword [ebp + 8]
push 0x102c
push dword [ebp + 0xc]
call esi
mov ecx, dword [ebp + 0x14]
shr eax, 0xc
dec eax
mov dword [ecx + 0x38], eax
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x10]
jl 0x411743
push 0x80000001
push 0x404e2c
call fcn.0040dccc
pop ecx
pop ecx
cmp word [ebp + 0x10], 1
je 0x4117c9
cmp word [ebp + 0x10], 2
jne 0x411a5f
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004107d3
xor esi, esi
cmp eax, edi
mov dword [ebp + 8], eax
jle 0x411a5f
push esi
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00410823
cmp eax, edi
je 0x411800
cmp word [ebp + 0x10], 1
mov edx, dword [eax]
mov ecx, eax
jne 0x4117fd
call dword [edx + 0x28]
jmp 0x411800
call dword [edx + 0x24]
inc esi
cmp esi, dword [ebp + 8]
jl 0x4117df
jmp 0x411a5f
push 0x469
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
push edi
mov ebx, eax
push edi
push 0x1037
push ebx
call esi
or al, 0x24
push eax
push edi
push 0x1036
push ebx
call esi
mov dword [ebp - 0x38], 0xc43
mov dword [ebp - 0x34], 0xc44
mov dword [ebp - 0x30], 0xc45
mov dword [ebp - 0x2c], 0xc46
mov dword [ebp - 0x28], 0xaf
mov dword [ebp - 0x24], 0x6e
mov dword [ebp - 0x20], 0x3c
mov dword [ebp - 0x1c], 0x78
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x54], edi
mov eax, dword [ebp + edi*4 - 0x28]
push dword [ebp + edi*4 - 0x38]
mov dword [ebp - 0x50], eax
call fcn.0040d9d2
mov dword [ebp - 0x4c], eax
pop ecx
lea eax, [ebp - 0x58]
push eax
push edi
push 0x101b
push ebx
call esi
inc edi
cmp edi, 4
jl 0x41187b
push ebx
call fcn.004113d6
pop ecx
push 1
pop eax
jmp 0x411a61
mov esi, 0x469
cmp dword [ebp + 0x10], esi
jne 0x411a5f
mov ebx, dword [ebp + 0x14]
xor edi, edi
cmp ebx, edi
je 0x411a5f
cmp dword [ebx + 8], 0xffffff9b
jne 0x411a5f
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x28
lea eax, [ebp - 0x88]
push edi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x88]
push eax
push edi
push 0x1005
push esi
mov dword [ebp - 0x88], 4
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x411a5f
push dword [ebp - 0x68]
mov ecx, 0x417ad0
call fcn.0041088b
mov ebx, eax
cmp ebx, edi
je 0x411a5f
mov esi, 0x46a
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, ebx
mov dword [ebp + 0xc], eax
call fcn.0041034e
cmp eax, 2
jne 0x411975
cmp dword [ebx + 0x3c], edi
jne 0x411975
push 1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x44]
xor ecx, ecx
cmp eax, edi
setne cl
push ecx
jmp 0x411980
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0040c895
push 0x404ca4
push eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], edi
push eax
call fcn.004104a8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040c36c
mov eax, dword [0x404590]
mov dword [ebp + 0x10], eax
push dword [ebp + 0x14]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
push 0x103
push 0x104
call fcn.0040c648
push eax
push 0x417d04
push 0x404e20
push 0x404c88
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
call fcn.0040c6af
mov esi, 0x404e1c
lea ecx, [ebp + 0x10]
push esi
push 0x404e14
call fcn.0041205c
push esi
push 0x404e10
lea ecx, [ebp + 0x10]
call fcn.0041205c
push dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x46c
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.00410360
push dword [eax]
push 0x46e
push dword [ebp + 8]
call esi
lea ecx, [ebp - 0x18]
call fcn.0040c36c
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.0040c36c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040c36c
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10