Function at 0x10018ef0
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xcdc
mov eax, dword [0x1003f6e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xcc4], esi
push edi
cmp eax, 0x86
ja 0x10018f33
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a750
mov esp, ebp
pop ebp
ret 0x10
sub eax, 0x110
je 0x1001900a
sub eax, 1
jne 0x10018f1e
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx ecx, word [ebp + 0x10]
mov esi, eax
mov ebx, dword [esi + 4]
sub ecx, 1
je 0x10018f6b
sub ecx, 1
jne 0x10018f1e
push ecx
push dword [ebp - 0xcc4]
jmp 0x10019491
push 0x438
push dword [ebp - 0xcc4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi]
mov edi, eax
mov esi, dword [ecx + 4]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x10018f94
push ecx
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
push 0
push 0
push 0x188
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x10018ff9
push 0x104
lea ecx, [ebp - 0x310]
mov edx, eax
push ecx
mov ecx, edi
call fcn.100194c0
lea edx, [ebp - 0x310]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10018fc7
sub edx, ecx
lea eax, [esi + 0x6c]
mov ecx, dword [esi + 0x7c]
sar edx, 1
push eax
push edx
lea edx, [ebp - 0x310]
call fcn.10032020
push 0
push dword [ebp - 0xcc4]
mov dword [ebx + 0x10], eax
jmp 0x10019491
xor eax, eax
push eax
push dword [ebp - 0xcc4]
mov dword [ebx + 0x10], eax
jmp 0x10019491
push ebx
push 8
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [ebx]
mov ecx, esi
mov ebx, dword [ebx + 4]
mov dword [ebp - 0xccc], eax
mov edi, dword [eax + 4]
mov dword [ebp - 0xcc0], edi
call fcn.10015dc0
push dword [ebx + 0xc]
lea eax, [ebp - 0x310]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x310]
push 0x10002834
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x310]
push 0x10002838
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
mov eax, dword [ebp - 0xccc]
add esp, 0xc
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x100190c6
cmp word [edx], 0
je 0x100190c6
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xcc8], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100190a0
sub ecx, dword [ebp - 0xcc8]
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x100190c6
push dword [ebx + 0xc]
push edx
push 0x1003fe90
jmp 0x100190cf
push dword [ebx + 0xc]
push edx
push str._s_s.inf
lea eax, [ebp - 0x618]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
mov eax, dword [ebp - 0xccc]
add esp, 0x14
mov eax, dword [eax + 4]
movzx ecx, byte [eax + 0xa9]
mov eax, dword [eax + 0xac]
push dword [eax + ecx*4 + 0x1c]
lea eax, [ebp - 0x820]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x820]
push 0x100027c4
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
add esp, 8
test eax, eax
je 0x10019131
xor ecx, ecx
mov word [eax], cx
push 0x438
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x184
push eax
mov dword [ebp - 0xcc8], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x3c
lea eax, [ebp - 0xcbc]
mov esi, 1
push eax
push 0
lea eax, [ebp - 0x310]
push eax
push dword [edi + 0x58]
push dword [edi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_137]
mov edi, eax
test edi, edi
js 0x1001919c
mov eax, dword [ebp - 0xcc0]
push 0
push Ordinal_3
push dword [ebp - 0xcb8]
push dword [eax + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_156]
mov edi, eax
xor eax, eax
mov word [ebp - 0x410], ax
test edi, edi
js 0x10019354
lea ecx, [ecx]
push 0
push 0
lea eax, [ebp - 0xcd0]
push eax
push 0x80
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0xcb0]
mov eax, dword [ebp - 0xcc0]
push dword [ebp - 0xcb8]
push dword [eax + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_167]
mov edi, eax
test edi, edi
js 0x1001931c
mov eax, dword [ebp - 0xcd0]
cmp eax, 0x80
jae 0x10019211
and eax, 0xfffffffe
cmp eax, 0x100
jae 0x100194af
xor ecx, ecx
mov word [ebp + eax - 0x108], cx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x1001932c
mov eax, dword [ebp - 0xccc]
mov esi, dword [eax + 0x30]
lea eax, [ebp - 0x108]
push eax
push 0
push 0x180
push dword [ebp - 0xcc8]
mov dword [ebp - 0xcd4], esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x410]
push 0x80
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
lea eax, [esi + 0x1518]
add esp, 0xc
mov ecx, eax
mov dword [ebp - 0xcd8], eax
call fcn.1001ee90
mov esi, eax
test esi, esi
jne 0x100192b6
mov esi, dword [ebp - 0xcc4]
mov ecx, esi
mov edx, dword [ebp - 0xcd4]
call fcn.10017050
test eax, eax
je 0x100193c1
mov ecx, dword [ebp - 0xcd8]
call fcn.1001ee90
mov esi, eax
lea ecx, [ebp - 0x108]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100192c0
sub ecx, edx
lea edx, [ebp - 0x108]
sar ecx, 1
push esi
call fcn.10016ff0
test eax, eax
je 0x100193c8
push 0x10041560
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x14]
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x10019303
mov dword [eax], esi
cmp dword [ebx + 0x18], 0
jne 0x1001930c
mov dword [ebx + 0x18], esi
push 0x10041560
mov dword [ebx + 0x14], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1001932c
cmp edi, 0xfffff9bd
jne 0x1001932c
test esi, esi
jne 0x100193c8
xor esi, esi
test edi, edi
js 0x10019354
mov eax, dword [ebp - 0xcc0]
push esi
push 1
push dword [ebp - 0xcb8]
push dword [eax + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_156]
mov edi, eax
test edi, edi
jns 0x100191b0
mov eax, dword [ebp - 0xcc0]
mov esi, dword [ebp - 0xcb8]
push esi
push dword [eax + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_108]
cmp eax, 0xfffffbac
jne 0x1001937e
mov ecx, dword [ebp - 0xcc0]
mov edx, esi
call fcn.10027fb0
mov esi, dword [ebp - 0xcc8]
push 0
push 0
push 0x18b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x1001946e
push 0
push 0
push 0x186
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x100193fb
push eax
push 0xffffffffffffffff
push 0x18c
push esi
jmp 0x10019468
mov ecx, esi
call fcn.10055e43
mov ebx, dword [ebp - 0xcc0]
mov esi, dword [ebp - 0xcb8]
push esi
push dword [ebx + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_108]
cmp eax, 0xfffffbac
jne 0x100193ee
mov edx, esi
mov ecx, ebx
call fcn.10027fb0
push 0
push dword [ebp - 0xcc4]
jmp 0x10019491
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x1001946e
push dword [esi + 8]
lea eax, [ebp - 0xa78]
push 0x10002800
push 0x1000280c
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x618]
push eax
push 0x104
lea eax, [ebp - 0xc80]
push eax
push 0x10041388
push 0
lea eax, [ebp - 0xa78]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x10019458
mov esi, dword [esi + 4]
test esi, esi
jne 0x10019402
jmp 0x1001946e
push dword [esi + 8]
push 0xffffffffffffffff
push 0x18c
push dword [ebp - 0xcc8]
call dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
jns 0x10019497
cmp edi, 0xfffff9bd
je 0x10019497
mov ebx, dword [ebp - 0xcc4]
mov ecx, ebx
mov edx, dword [ebp - 0xcc0]
push edi
call fcn.1000bed0
push 0
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a750
mov esp, ebp
pop ebp
ret 0x10
call fcn.1003a89a
int3