Function at 0x468fa8
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4a0f01
call fcn.00497a30
mov eax, 0x1bc8
call fcn.00497ce0
push ebx
push esi
push edi
push 0x4bb1a0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x40], 0x10
jb 0x468fd7
mov eax, dword [ebx + 0x2c]
jmp 0x468fda
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 0x469181
cmp dword [ebx + 0x40], 0x10
mov byte [ebp - 0x11], 1
jb 0x469060
mov eax, dword [ebx + 0x2c]
jmp 0x469063
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 0x4690cf
lea eax, [ebp - 0x44]
push 0x4a7db8
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x4690cf
lea eax, [ebp - 0x44]
push 0x4a4924
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x4690cf
lea eax, [ebp - 0x44]
push 0x4a4f00
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
jne 0x4690d3
mov byte [ebp - 0x11], 0
cmp dword [ebx + 0x40], 0x10
jb 0x4690de
mov eax, dword [ebx + 0x2c]
jmp 0x4690e1
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.0041b559
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x4c]
cmp eax, dword [ebx + 0x50]
je 0x469171
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.0046a7f3
test al, al
je 0x46915a
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x882], al
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xd0], 3
jne 0x469144
mov byte [ebp - 0x882], 0
push dword [eax]
add eax, 0xffffff34
push eax
lea eax, [ebp - 0xa0c]
push eax
mov ecx, ebx
call fcn.0046b0be
add dword [ebp - 0x18], 0xd8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x50]
add ecx, 0xffffff30
cmp ecx, eax
jne 0x469110
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa0c]
push eax
call fcn.0041b65d
cmp esi, 0x4c5312
jge 0x4691a6
cmp dword [ebx + 0x40], 0x10
jb 0x469194
mov eax, dword [ebx + 0x2c]
jmp 0x469197
lea eax, [ebx + 0x2c]
push eax
push 0
push str.LocalSetupPassword
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp esi, 0x5b8d83
jge 0x4692c7
cmp dword [ebx + 0x40], 0x10
mov byte [ebp - 0x11], 0
jb 0x4691c1
mov eax, dword [ebx + 0x2c]
jmp 0x4691c4
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 0x469231
lea eax, [ebp - 0x44]
push 0x4a5908
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x469231
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 0x469231
lea eax, [ebp - 0x44]
push 0x4a4f04
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
jne 0x469235
mov byte [ebp - 0x11], 1
cmp dword [ebx + 0x40], 0x10
jb 0x469240
mov eax, dword [ebx + 0x2c]
jmp 0x469243
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.0041b559
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0x4c]
cmp eax, dword [ebx + 0x50]
je 0x4692b7
lea esi, [eax + 0xd0]
push dword [esi - 0x10]
lea eax, [ebp - 0x13d4]
push eax
mov ecx, ebx
call fcn.0046a7f3
test al, al
je 0x4692a4
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.0046b0be
mov eax, dword [ebx + 0x50]
add esi, 0xd8
lea ecx, [esi - 0xd0]
cmp ecx, eax
jne 0x46926f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x13d4]
push eax
call fcn.0041b65d
cmp dword [ebx + 0x40], 0x10
jb 0x4692d2
mov ebx, dword [ebx + 0x2c]
jmp 0x4692d5
add ebx, 0x2c
push ebx
mov ebx, dword [0x4bbb8c]
call fcn.00467238
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