Function at 0x421040
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x490ee3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push ebp
push esi
push edi
push str.C:Secure1000Inspector.ini
push 0x2710
push str.PASSWORD_DAY
mov ebx, ecx
push str.SYSTEM
mov byte [esp + 0x23], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
lea ebp, [ebx + 0xa40]
push 0
push 0xffffffffffffffff
push ebp
push 0
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x4210bc
push esi
push edi
push 0xffffffffffffffff
push ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebx + 0x264]
add ebx, 0x264
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push edi
push eax
call dword [ecx + 0x2c]
test eax, eax
jne 0x421280
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp ecx, eax
jle 0x421182
mov eax, dword [0x4f1a84]
test eax, eax
je 0x421108
cmp eax, 1
je 0x421108
push 0
push 0x40
push str.Password_has_expired
jmp 0x421289
push 0
push 0x40
push str.Password_has_expired._Plese_change_the_password_now
call sub.MFC42.DLL_AfxMessageBox
push 0
push ebx
lea ecx, [esp + 0x88]
call fcn.0044c660
push ebp
lea ecx, [esp + 0xe8]
mov dword [esp + 0x174], 0
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x421160
push 0
push 0x40
push str.Password_has_been_changed
call sub.MFC42.DLL_AfxMessageBox
mov bl, 1
jmp 0x421164
mov bl, byte [esp + 0x13]
lea ecx, [esp + 0x80]
mov dword [esp + 0x170], 0xffffffff
call fcn.0044c720
mov al, bl
jmp 0x421292
lea edx, [eax - 7]
cmp ecx, edx
jle 0x42127c
cmp ecx, eax
jne 0x4211a6
lea eax, [esp + 0x1c]
push str.Password_expires_today
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
jmp 0x4211bc
sub eax, ecx
lea ecx, [esp + 0x1c]
push eax
push str.Password_will_expire_in__d_days
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov eax, dword [0x4f1a84]
test eax, eax
je 0x4211df
cmp eax, 1
je 0x4211df
push 0
lea edx, [esp + 0x20]
push 0x40
push edx
call sub.MFC42.DLL_AfxMessageBox
mov al, 1
jmp 0x421292
mov edi, str.._Would_you_like_to_change_the_password_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x20]
and ecx, 3
push 0x44
rep movsb byte es:[edi], byte [esi]
push eax
call sub.MFC42.DLL_AfxMessageBox
cmp eax, 6
jne 0x42127c
push 0
push ebx
lea ecx, [esp + 0xfc]
call fcn.0044c660
push ebp
lea ecx, [esp + 0x15c]
mov dword [esp + 0x174], 1
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0xf4]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x421265
push 0
push 0x40
push str.Password_has_been_changed
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0xf4]
mov dword [esp + 0x170], 0xffffffff
call fcn.0044c720
mov al, 1
jmp 0x421292
push 0
push 0
push str.check_expiration_failed
call sub.MFC42.DLL_AfxMessageBox
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret