Function at 0x4092d0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
sub esp, 0xe5c
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0xe54], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
lea ecx, [esp + 0x32]
push ecx
mov dword [esp + 0x20], edi
mov byte [esp + 0x1f], 0
mov word [esp + 0x34], ax
call fcn.0042fb00
mov esi, dword [0x45b9f4]
add esp, 0xc
lea ebx, [esp + 0x28]
call fcn.004011d0
mov edx, ebx
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40957d
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x23a]
push ecx
mov word [esp + 0x23c], ax
call fcn.0042fb00
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
mov edx, ebx
push edx
push 0x104
lea eax, [esp + 0x238]
push eax
push 0x44aec4
push str.dlgCaption
push str.dlg_config
call ebp
lea eax, [esp + 0x230]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409380
sub eax, edx
sar eax, 1
je 0x4093a0
lea ecx, [esp + 0x230]
push ecx
mov ecx, edi
call fcn.00417cbe
lea edx, [esp + 0x28]
push edx
push 0
push str.btnCount
push str.dlg_config
mov edi, 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
inc eax
cmp eax, edi
mov dword [esp + 0x18], eax
jle 0x409579
mov ebx, dword [esp + 0x14]
add ebx, 0x254
mov dword [esp + 0x14], ebx
jmp 0x4093e4
mov ebx, dword [esp + 0x14]
push edi
push str.btn_dCaption
lea edx, [esp + 0xa58]
call fcn.00405e60
push edi
push str.btn_dExe
lea edx, [esp + 0x448]
call fcn.00405e60
push edi
push str.btn_dParam
lea edx, [esp + 0x658]
call fcn.00405e60
push edi
push str.btn_dVer
lea edx, [esp + 0x868]
call fcn.00405e60
push edi
push str.btn_dCloseDlg
lea edx, [esp + 0xc80]
call fcn.00405e60
push 0x828
call fcn.004110f8
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x409463
push 0x828
push 0
push esi
call fcn.0042fb00
add esp, 0xc
jmp 0x409465
xor esi, esi
lea eax, [esp + 0x28]
push eax
push 0x104
push esi
push 0x44aec4
lea ecx, [esp + 0xa60]
push ecx
push str.dlg_config
mov dword [esp + 0x34], esi
call ebp
lea edx, [esp + 0x28]
push edx
push 0x104
lea eax, [esi + 0x208]
push eax
push 0x44aec4
lea ecx, [esp + 0x448]
push ecx
push str.dlg_config
call ebp
lea edx, [esp + 0x28]
push edx
push 0x104
lea eax, [esi + 0x410]
push eax
push 0x44aec4
lea ecx, [esp + 0x650]
push ecx
push str.dlg_config
call ebp
lea edx, [esp + 0x28]
push edx
push 0x104
lea eax, [esi + 0x618]
push eax
push 0x44aec4
lea ecx, [esp + 0x858]
push ecx
push str.dlg_config
call ebp
lea edx, [esp + 0x28]
push edx
push 0
lea eax, [esp + 0xc60]
push eax
push str.dlg_config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
test eax, eax
setg cl
inc ecx
mov dword [esi + 0x824], ecx
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x40952a
xor ecx, ecx
jmp 0x409532
mov ecx, dword [ebx + 0x14]
sub ecx, eax
sar ecx, 2
mov ebx, dword [ebx + 0x10]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x40954e
mov eax, dword [esp + 0x14]
mov dword [ebx], esi
add ebx, 4
mov dword [eax + 0x10], ebx
jmp 0x40956e
cmp eax, ebx
jbe 0x409557
call fcn.0042e41f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
push ecx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004098a0
inc edi
cmp edi, dword [esp + 0x18]
jl 0x4093e0
mov al, 1
jmp 0x409581
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xe64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042d791
add esp, 0xe5c
ret