Function at 0x4695b7
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4a1181
call fcn.00497cb0
mov eax, 0x1bc8
call fcn.00497f60
push ebx
push esi
push edi
push 0x4bb1a0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x40], 0x10
jb 0x4695e6
mov eax, dword [ebx + 0x2c]
jmp 0x4695e9
lea eax, [ebx + 0x2c]
push eax
push 0x7ff
lea eax, [ebp - 0x1bd4]
push eax
push str.0.0.0.0
push str.Version
mov edi, str.GLOBAL
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1bd4]
push str._d._d._d._d
push eax
call dword [sym.imp.MSVCR71.dll_sscanf]
mov esi, dword [ebp - 0x20]
imul esi, esi, 0x3e8
add esi, dword [ebp - 0x24]
add esp, 0x18
imul esi, esi, 0x3e8
add esi, dword [ebp - 0x1c]
cmp esi, 0x3d0cf2
jge 0x469790
cmp dword [ebx + 0x40], 0x10
mov byte [ebp - 0x11], 1
jb 0x46966f
mov eax, dword [ebx + 0x2c]
jmp 0x469672
lea eax, [ebx + 0x2c]
push eax
push 0x19
lea eax, [ebp - 0x44]
push eax
push 0x4a5450
push str.EncryptPasswords
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x44]
push str.FALSE
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x4696de
lea eax, [ebp - 0x44]
push 0x4a7db8
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x4696de
lea eax, [ebp - 0x44]
push 0x4a4924
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x4696de
lea eax, [ebp - 0x44]
push 0x4a4f00
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
jne 0x4696e2
mov byte [ebp - 0x11], 0
cmp dword [ebx + 0x40], 0x10
jb 0x4696ed
mov eax, dword [ebx + 0x2c]
jmp 0x4696f0
lea eax, [ebx + 0x2c]
push eax
push 0
push str.EncryptPasswords
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0xa0c]
push eax
call fcn.0041b63a
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x4c]
cmp eax, dword [ebx + 0x50]
je 0x469780
add eax, 0xd0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push dword [eax - 0x10]
lea eax, [ebp - 0xa0c]
push eax
mov ecx, ebx
call fcn.0046ae02
test al, al
je 0x469769
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x882], al
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xd0], 3
jne 0x469753
mov byte [ebp - 0x882], 0
push dword [eax]
add eax, 0xffffff34
push eax
lea eax, [ebp - 0xa0c]
push eax
mov ecx, ebx
call fcn.0046b6cd
add dword [ebp - 0x18], 0xd8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x50]
add ecx, 0xffffff30
cmp ecx, eax
jne 0x46971f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa0c]
push eax
call fcn.0041b73e
cmp esi, 0x4c5312
jge 0x4697b5
cmp dword [ebx + 0x40], 0x10
jb 0x4697a3
mov eax, dword [ebx + 0x2c]
jmp 0x4697a6
lea eax, [ebx + 0x2c]
push eax
push 0
push str.LocalSetupPassword
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp esi, 0x5b8d83
jge 0x4698d6
cmp dword [ebx + 0x40], 0x10
mov byte [ebp - 0x11], 0
jb 0x4697d0
mov eax, dword [ebx + 0x2c]
jmp 0x4697d3
lea eax, [ebx + 0x2c]
push eax
push 0x19
lea eax, [ebp - 0x44]
push eax
push str.FALSE
mov esi, str.LowerCaseFileDir
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x44]
push 0x4a5450
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x469840
lea eax, [ebp - 0x44]
push 0x4a5908
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x469840
lea eax, [ebp - 0x44]
push str.1_la
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x469840
lea eax, [ebp - 0x44]
push 0x4a4f04
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
jne 0x469844
mov byte [ebp - 0x11], 1
cmp dword [ebx + 0x40], 0x10
jb 0x46984f
mov eax, dword [ebx + 0x2c]
jmp 0x469852
lea eax, [ebx + 0x2c]
push eax
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x13d4]
push eax
call fcn.0041b63a
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0x4c]
cmp eax, dword [ebx + 0x50]
je 0x4698c6
lea esi, [eax + 0xd0]
push dword [esi - 0x10]
lea eax, [ebp - 0x13d4]
push eax
mov ecx, ebx
call fcn.0046ae02
test al, al
je 0x4698b3
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x1248], al
push dword [esi]
lea eax, [esi - 0xcc]
push eax
lea eax, [ebp - 0x13d4]
push eax
mov ecx, ebx
call fcn.0046b6cd
mov eax, dword [ebx + 0x50]
add esi, 0xd8
lea ecx, [esi - 0xd0]
cmp ecx, eax
jne 0x46987e
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x13d4]
push eax
call fcn.0041b73e
cmp dword [ebx + 0x40], 0x10
jb 0x4698e1
mov ebx, dword [ebx + 0x2c]
jmp 0x4698e4
add ebx, 0x2c
push ebx
mov ebx, dword [0x4bbb8c]
call fcn.00467847
push eax
push str.Version
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x4bb1a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret