Function at 0x100192b0
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xadc
mov eax, dword [0x100416e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xac8], ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
cmp eax, 0x86
jbe 0x10019939
sub eax, 0x110
je 0x100193f0
sub eax, 1
jne 0x10019939
push 8
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx ecx, word [ebp + 0x10]
mov esi, eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xac0], eax
sub ecx, 1
je 0x1001933c
sub ecx, 1
jne 0x10019939
push ecx
push ebx
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.1003bd00
mov esp, ebp
pop ebp
ret 0x10
push 0x438
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi]
mov edi, eax
mov esi, dword [ebp - 0xac0]
mov eax, dword [ecx + 4]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xac8], eax
test ecx, ecx
je 0x1001936c
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 0x100193ca
push 0x104
lea ecx, [ebp - 0x468]
mov edx, eax
push ecx
mov ecx, edi
call fcn.10019960
lea edx, [ebp - 0x468]
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100193a0
sub edx, ecx
mov ecx, dword [ebp - 0xac8]
sar edx, 1
lea eax, [ecx + 0x6c]
mov ecx, dword [ecx + 0x7c]
push eax
push edx
lea edx, [ebp - 0x468]
call fcn.10032a00
jmp 0x100193cc
xor eax, eax
push 0
push ebx
mov dword [esi + 0x10], eax
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.1003bd00
mov esp, ebp
pop ebp
ret 0x10
push esi
push 8
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esi]
mov ecx, ebx
mov esi, dword [esi + 4]
mov dword [ebp - 0xacc], eax
mov dword [ebp - 0xad4], esi
mov edi, dword [eax + 4]
mov dword [ebp - 0xad0], edi
call fcn.10016150
push dword [esi + 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 [ebp - 0xacc]
add esp, 0xc
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x2c]
test edx, edx
je 0x100194b6
cmp word [edx], 0
je 0x100194b6
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xac0], eax
jmp 0x10019490
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019490
sub ecx, dword [ebp - 0xac0]
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x100194b6
push dword [esi + 0xc]
push edx
push 0x10041e90
jmp 0x100194bf
push dword [esi + 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 0x10019521
xor ecx, ecx
mov word [eax], cx
push 0x438
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x184
push eax
mov dword [ebp - 0xac4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x3c
lea eax, [ebp - 0xabc]
mov dword [ebp - 0xac0], 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 ebx, eax
test ebx, ebx
js 0x1001958b
push 0
push Ordinal_3
push dword [ebp - 0xab8]
push dword [edi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_156]
mov ebx, eax
xor eax, eax
mov word [ebp - 0x568], ax
test ebx, ebx
js 0x100197af
lea esp, [esp]
push 0
push 0
lea eax, [ebp - 0xad8]
push eax
push 0x80
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0xab0]
push dword [ebp - 0xab8]
push dword [edi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_167]
mov ebx, eax
test ebx, ebx
js 0x1001976f
mov eax, dword [ebp - 0xad8]
cmp eax, 0x80
jae 0x100195fb
and eax, 0xfffffffe
cmp eax, 0x100
jae 0x1001994e
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 0x10019784
mov eax, dword [ebp - 0xacc]
mov esi, dword [eax + 0x30]
lea eax, [ebp - 0x108]
push eax
push 0
push 0x180
push dword [ebp - 0xac4]
mov dword [ebp - 0xac0], 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]
add esp, 0xc
lea ecx, [esi + 0x1518]
call fcn.1001f7e0
mov edi, eax
test edi, edi
jne 0x100196c9
mov edi, dword [ebp - 0xac8]
mov ecx, edi
call fcn.100166e0
mov esi, eax
test esi, esi
je 0x10019818
mov edi, dword [ebp - 0xac0]
lea edx, [esi + 0x908]
lea ecx, [edi + 0x908]
push ecx
call fcn.1001f750
lea eax, [edi + 0x1518]
push eax
lea edx, [esi + 0x1518]
mov ecx, eax
call fcn.1001f750
mov eax, dword [edi + 4]
lea ecx, [edi + 0x1518]
mov dword [esi + 4], eax
mov dword [edi + 4], esi
call fcn.1001f7e0
mov edi, eax
lea esi, [ebp - 0x108]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100196d2
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x1001981f
cmp esi, 0x3fffffff
jge 0x1001981f
lea eax, [esi*2 + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x1001981f
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [esi + 1]
push ecx
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
push 0x10043560
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp - 0xad4]
mov eax, dword [esi + 0x14]
mov dword [edi + 4], eax
mov dword [edi], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10019750
mov dword [eax], edi
cmp dword [esi + 0x18], 0
jne 0x10019759
mov dword [esi + 0x18], edi
push 0x10043560
mov dword [esi + 0x14], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0xad0]
jmp 0x10019784
cmp ebx, 0xfffff9bd
jne 0x10019784
cmp dword [ebp - 0xac0], 0
jne 0x10019842
mov dword [ebp - 0xac0], 0
test ebx, ebx
js 0x100197af
push 0
push 1
push dword [ebp - 0xab8]
push dword [edi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_156]
mov ebx, eax
test ebx, ebx
jns 0x100195a0
mov eax, dword [ebp - 0xab8]
push eax
push dword [edi + 0x54]
mov dword [ebp - 0xad4], eax
call dword [sym.imp.msjet40.dll_Ordinal_108]
cmp eax, 0xfffffbac
jne 0x100197d9
mov edx, dword [ebp - 0xad4]
mov ecx, edi
call fcn.100289b0
push 0
push 0
push 0x18b
push dword [ebp - 0xac4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x100198fc
push 0
push 0
push 0x186
push dword [ebp - 0xac4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10019888
push eax
jmp 0x100198e9
mov ecx, edi
call fcn.10032430
mov esi, dword [ebp - 0xad0]
mov edi, dword [ebp - 0xab8]
push edi
push dword [esi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_108]
cmp eax, 0xfffffbac
jne 0x10019862
mov edx, edi
mov ecx, esi
jmp 0x1001985d
mov esi, dword [ebp - 0xab8]
push esi
push dword [edi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_108]
cmp eax, 0xfffffbac
jne 0x10019862
mov edx, esi
mov ecx, edi
call fcn.100289b0
push 0
push dword [ebp - 0xac8]
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.1003bd00
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [esi + 0x14]
test esi, esi
je 0x100198fc
nop
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 0x10043388
push 0
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x100198e6
mov esi, dword [esi + 4]
test esi, esi
jne 0x10019890
jmp 0x100198fc
push dword [esi + 8]
push 0xffffffffffffffff
push 0x18c
push dword [ebp - 0xac4]
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jns 0x10019921
cmp ebx, 0xfffff9bd
je 0x10019921
push ebx
mov ebx, dword [ebp - 0xac8]
mov edx, edi
mov ecx, ebx
call fcn.1000c2e0
push 0
push ebx
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.1003bd00
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003bd00
mov esp, ebp
pop ebp
ret 0x10
call fcn.1003be48
int3