Function at 0x100195c0
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xad4
mov eax, dword [0x100416e4]
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 - 0xad0], esi
push edi
cmp eax, 0x86
jbe 0x10019624
sub eax, 0x110
je 0x10019711
sub eax, 1
jne 0x10019624
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx ecx, word [ebp + 0x10]
mov edi, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xac0], eax
sub ecx, 1
je 0x10019639
sub ecx, 1
je 0x10019b10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret 0x10
push 0x438
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [edi]
mov ebx, eax
mov edi, dword [ebp - 0xac0]
mov eax, dword [ecx + 4]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0xacc], eax
test ecx, ecx
je 0x10019669
push ecx
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
push 0
push 0
push 0x188
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x100196ec
push 0x104
lea ecx, [ebp - 0x468]
mov edx, eax
push ecx
mov ecx, ebx
call fcn.10019c50
lea edx, [ebp - 0x468]
lea ecx, [edx + 2]
lea esp, [esp]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100196a0
sub edx, ecx
mov ecx, dword [ebp - 0xacc]
sar edx, 1
lea eax, [ecx + 0x6c]
mov ecx, dword [ecx + 0x7c]
push eax
push edx
lea edx, [ebp - 0x468]
call fcn.10032f70
push 0
push esi
mov dword [edi + 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.1003c3b0
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
push eax
push esi
mov dword [edi + 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.1003c3b0
mov esp, ebp
pop ebp
ret 0x10
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 - 0xacc], eax
mov edi, dword [eax + 4]
mov dword [ebp - 0xac4], edi
call fcn.10016420
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 0x1000281c
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x468]
push 0x10002820
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 0x100197c9
cmp word [edx], 0
je 0x100197c9
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xac0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100197a3
sub ecx, dword [ebp - 0xac0]
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x100197c9
push dword [ebx + 0xc]
push edx
push 0x10041e60
jmp 0x100197d2
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 0x100027ac
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
add esp, 8
test eax, eax
je 0x10019834
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 - 0xac8], 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 esi, eax
test esi, esi
js 0x1001989e
push 0
push Ordinal_3
push dword [ebp - 0xab8]
push dword [edi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_156]
mov esi, eax
xor eax, eax
mov word [ebp - 0x568], ax
test esi, esi
js 0x10019b38
nop
push 0
push 0
lea eax, [ebp - 0xad4]
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 esi, eax
test esi, esi
js 0x10019a8e
mov eax, dword [ebp - 0xad4]
cmp eax, 0x80
jae 0x1001990b
and eax, 0xfffffffe
cmp eax, 0x100
jae 0x10019c3c
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 0x10019a77
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 - 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.1001fb90
mov edi, eax
test edi, edi
jne 0x100199d9
mov edi, dword [ebp - 0xad0]
mov ecx, edi
call fcn.100169b0
mov esi, eax
test esi, esi
je 0x10019aba
mov edi, dword [ebp - 0xac0]
lea edx, [esi + 0x908]
lea ecx, [edi + 0x908]
push ecx
call fcn.1001fb00
lea eax, [edi + 0x1518]
push eax
lea edx, [esi + 0x1518]
mov ecx, eax
call fcn.1001fb00
mov eax, dword [edi + 4]
lea ecx, [edi + 0x1518]
mov dword [esi + 4], eax
mov dword [edi + 4], esi
call fcn.1001fb90
mov edi, eax
lea esi, [ebp - 0x108]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100199e2
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x10019af6
cmp esi, 0x3fffffff
jge 0x10019af6
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 0x10019af6
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 0x10043500
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov dword [edi], 0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x10019a5a
mov dword [eax], edi
cmp dword [ebx + 0x18], 0
jne 0x10019a63
mov dword [ebx + 0x18], edi
push 0x10043500
mov dword [ebx + 0x14], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0xac4]
push 0
push 1
push dword [ebp - 0xab8]
push dword [edi + 0x54]
call dword [sym.imp.msjet40.dll_Ordinal_156]
mov esi, eax
jmp 0x10019aa3
cmp esi, 0xfffff9bd
jne 0x10019aa3
cmp dword [ebp - 0xac0], 0
jne 0x10019b31
test esi, esi
js 0x10019b38
mov dword [ebp - 0xac0], 0
jmp 0x100198b0
mov ecx, edi
call fcn.10032980
mov ecx, dword [ebp - 0xac4]
push dword [ebp - 0xab8]
mov edx, dword [ecx + 0x54]
call fcn.10028d90
push 0
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.1003c3b0
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xac4]
mov edx, dword [ecx + 0x54]
push dword [ebp - 0xab8]
call fcn.10028d90
mov esi, dword [ebp - 0xad0]
push 0
push esi
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.1003c3b0
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [edi + 0x54]
mov ecx, edi
jmp 0x10019aff
push dword [ebp - 0xab8]
mov edx, dword [edi + 0x54]
mov ecx, edi
call fcn.10028d90
push 0
push 0
push 0x18b
push dword [ebp - 0xac8]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x10019c1b
push 0
push 0
push 0x186
push dword [ebp - 0xac8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10019b9a
push eax
push 0xffffffffffffffff
push 0x18c
push dword [ebp - 0xac8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10019c13
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x10019c0d
push dword [edi + 8]
lea eax, [ebp - 0x260]
push 0x100027e8
push 0x100027f4
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 0x10043328
push 0
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x10019bf7
mov edi, dword [edi + 4]
test edi, edi
jne 0x10019ba1
jmp 0x10019c0d
push dword [edi + 8]
push 0xffffffffffffffff
push 0x18c
push dword [ebp - 0xac8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0xac4]
test esi, esi
jns 0x10019b19
cmp esi, 0xfffff9bd
je 0x10019b19
push esi
mov esi, dword [ebp - 0xad0]
mov edx, edi
mov ecx, esi
call fcn.1000c470
jmp 0x10019b10
call fcn.1003c50a
int3