Function at 0x100188d0
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xadc
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
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xac4], edi
cmp eax, 0x86
jbe 0x10018e8c
sub eax, 0x110
je 0x100189e4
sub eax, 1
jne 0x10018e8c
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx ecx, word [ebp + 0x10]
mov esi, eax
mov ebx, dword [esi + 4]
sub ecx, 1
je 0x10018956
sub ecx, 1
jne 0x10018e8c
push ecx
push edi
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x10
push 0x438
push edi
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 0x1001897a
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 0x100189da
push 0x104
lea ecx, [ebp - 0x468]
mov edx, eax
push ecx
mov ecx, edi
call fcn.10055e85
lea edx, [ebp - 0x468]
lea ecx, [edx + 2]
lea ecx, [ecx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100189b0
sub edx, ecx
lea eax, [esi + 0x6c]
mov ecx, dword [esi + 0x7c]
sar edx, 1
push eax
push edx
lea edx, [ebp - 0x468]
call fcn.10031a80
mov dword [ebx + 0x10], eax
jmp 0x10018dbe
xor eax, eax
mov dword [ebx + 0x10], eax
jmp 0x10018dbe
push ebx
push 8
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov esi, dword [ebx]
mov ecx, dword [ebp - 0xac4]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0xacc], esi
mov edi, dword [esi + 4]
mov dword [ebp - 0xac0], edi
call fcn.10015730
push dword [ebx + 0xc]
lea eax, [ebp - 0x468]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x468]
push 0x10002834
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x468]
push 0x10002838
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
mov eax, dword [esi + 4]
add esp, 0xc
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x10018a92
cmp word [edx], 0
je 0x10018a92
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018a70
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x10018a92
push dword [ebx + 0xc]
push edx
push 0x1003fe90
jmp 0x10018a9b
push dword [ebx + 0xc]
push edx
push str._s_s.inf
lea eax, [ebp - 0x878]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
mov eax, dword [ebp - 0xacc]
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 - 0xa80]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0xa80]
push 0x100027c4
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
add esp, 8
test eax, eax
je 0x10018afd
xor ecx, ecx
mov word [eax], cx
push 0x438
push dword [ebp - 0xac4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x184
push eax
mov dword [ebp - 0xac8], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x3c
lea eax, [ebp - 0xabc]
mov esi, 1
push eax
push 0
lea eax, [ebp - 0x468]
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 0x10018b6d
mov eax, dword [ebp - 0xac0]
push 0
push Ordinal_3
push dword [ebp - 0xab8]
push dword [eax + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_156]
mov edi, eax
xor eax, eax
mov word [ebp - 0x568], ax
test edi, edi
js 0x10018d24
mov edi, edi
push 0
push 0
lea eax, [ebp - 0xad0]
push eax
push 0x80
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0xab0]
mov eax, dword [ebp - 0xac0]
push dword [ebp - 0xab8]
push dword [eax + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_167]
mov edi, eax
test edi, edi
js 0x10018cec
mov eax, dword [ebp - 0xad0]
cmp eax, 0x80
jae 0x10018be1
and eax, 0xfffffffe
cmp eax, 0x100
jae 0x10018ea1
xor ecx, ecx
mov word [ebp + eax - 0x108], cx
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x10018cfc
mov eax, dword [ebp - 0xacc]
mov esi, dword [eax + 0x30]
lea eax, [ebp - 0x108]
push eax
push 0
push 0x180
push dword [ebp - 0xac8]
mov dword [ebp - 0xad4], esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x568]
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 - 0xad8], eax
call fcn.1001e9b0
mov esi, eax
test esi, esi
jne 0x10018c86
mov esi, dword [ebp - 0xac4]
mov ecx, esi
mov edx, dword [ebp - 0xad4]
call fcn.10016a40
test eax, eax
je 0x10018d91
mov ecx, dword [ebp - 0xad8]
call fcn.1001e9b0
mov esi, eax
lea ecx, [ebp - 0x108]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018c90
sub ecx, edx
lea edx, [ebp - 0x108]
sar ecx, 1
push esi
call fcn.100169e0
test eax, eax
je 0x10018d98
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 0x10018cd3
mov dword [eax], esi
cmp dword [ebx + 0x18], 0
jne 0x10018cdc
mov dword [ebx + 0x18], esi
push 0x10041560
mov dword [ebx + 0x14], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10018cfc
cmp edi, 0xfffff9bd
jne 0x10018cfc
test esi, esi
jne 0x10018d98
xor esi, esi
test edi, edi
js 0x10018d24
mov eax, dword [ebp - 0xac0]
push esi
push 1
push dword [ebp - 0xab8]
push dword [eax + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_156]
mov edi, eax
test edi, edi
jns 0x10018b80
mov eax, dword [ebp - 0xac0]
mov esi, dword [ebp - 0xab8]
push esi
push dword [eax + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_108]
cmp eax, 0xfffffbac
jne 0x10018d4e
mov ecx, dword [ebp - 0xac0]
mov edx, esi
call fcn.10027aa0
mov esi, dword [ebp - 0xac8]
push 0
push 0
push 0x18b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x10018e5c
push 0
push 0
push 0x186
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10018de4
push eax
push 0xffffffffffffffff
push 0x18c
push esi
jmp 0x10018e56
mov ecx, esi
call fcn.100314b0
mov ebx, dword [ebp - 0xac0]
mov esi, dword [ebp - 0xab8]
push esi
push dword [ebx + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_108]
cmp eax, 0xfffffbac
jne 0x10018dbe
mov edx, esi
mov ecx, ebx
call fcn.10027aa0
push 0
push dword [ebp - 0xac4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x10018e5c
jmp 0x10018df0
push dword [esi + 8]
lea eax, [ebp - 0x260]
push 0x10002800
push 0x1000280c
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x878]
push eax
push 0x104
lea eax, [ebp - 0x670]
push eax
push 0x10041388
push 0
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x10018e46
mov esi, dword [esi + 4]
test esi, esi
jne 0x10018df0
jmp 0x10018e5c
push dword [esi + 8]
push 0xffffffffffffffff
push 0x18c
push dword [ebp - 0xac8]
call dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
jns 0x10018dcc
cmp edi, 0xfffff9bd
je 0x10018dcc
mov ebx, dword [ebp - 0xac4]
mov ecx, ebx
mov edx, dword [ebp - 0xac0]
push edi
call fcn.1000bb50
push 0
push ebx
jmp 0x10018dc6
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret 0x10
call fcn.1003a318
int3