Function at 0x401c50
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4026b8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
call fcn.00401ed0
test eax, eax
je 0x401c84
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret
push str.UpgradeBackup_
lea eax, [esp + 0x1c]
push 0x405140
push eax
call sub.MFC42.DLL_operator
push str.bbx_s.backup
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
push str.UpgradeBackup_
lea edx, [esp + 8]
push 0x405140
push edx
call sub.MFC42.DLL_operator
mov eax, dword [esp + 0x10]
mov byte [esp + 0x2c], 3
push eax
push 0
push 0x4050e0
push str.SUpgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x401e7a
lea ecx, [esp + 4]
push 0x4050c4
lea edx, [esp + 0x10]
push ecx
push edx
call sub.MFC42.DLL_operator
mov bl, 4
push 0
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x401dfd
push str.SilentUpgrade_jdbbx:
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_1
push 0x405140
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 5
call fcn.00402124
push ecx
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x38], 5
call fcn.004012a0
add esp, 0xc
test eax, eax
je 0x401dee
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 8]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret
lea ecx, [esp + 8]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
jmp 0x401e6a
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x405140
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x38], 7
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x34], bl
call fcn.00401590
add esp, 8
lea eax, [esp + 0x1c]
push str.bbx_s.backup
push 0x405140
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.004011f0
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
jmp 0x401e8e
push 0
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.004011f0
add esp, 4
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret