Function at 0x42294e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a162
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1a0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x174], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x178]
mov dword [eax + 0x78], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00408ce0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x178]
add ecx, 0x138
call fcn.0042760b
mov byte [ebp - 4], 5
push 0x44b3e8
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push str.ConnectionString
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.004014c0
push eax
push 0xff
lea edx, [ebp - 0x124]
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.004014c0
push eax
push 0x44b408
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp + 0x10]
call fcn.004044b0
test eax, eax
jne 0x422b3b
push str.Initial_Catalog
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x130]
call fcn.00404470
mov dword [ebp - 0x128], eax
push 0
lea ecx, [ebp - 0x130]
call fcn.004014c0
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
push ecx
push 0x44b420
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jge 0x422ae4
mov edx, dword [ebp - 0x134]
add edx, dword [ebp - 0x128]
push edx
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x180]
push edx
lea ecx, [ebp - 0x18]
call fcn.004355a4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x168]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x12c]
sub eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x134]
add ecx, dword [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Delete
lea ecx, [ebp + 0x10]
call fcn.004014c0
push eax
mov edx, dword [ebp - 0x134]
add edx, dword [ebp - 0x128]
push edx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Insert
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CString::CString
jmp 0x422b9e
push str._Train
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 9
push 0
lea ecx, [ebp - 0x138]
call fcn.004014c0
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0xffffffff
jle 0x422b8f
lea ecx, [ebp - 0x138]
call fcn.00404470
push eax
mov eax, dword [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Delete
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
call fcn.004014c0
push eax
push 0
push str.SrcType
push 0x44b434
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x422bcf
push str.Jet_OLEDB:Database_PasswordLC4C43_
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0xa
push 7
push 0
push str.ADODB.Recordset
lea ecx, [ebp - 0x1c]
call fcn.00408e40
test eax, eax
jge 0x422c65
push 0
push 0
push str.Create_Instance_Fail
call sub.MFC42.DLL_AfxMessageBox
push 0
mov ecx, dword [ebp + 8]
call fcn.00408d00
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x174]
or ecx, 1
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00408d80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
jmp 0x422f4f
lea ecx, [ebp - 0x1c]
call fcn.00408da0
mov dword [ebp - 0x188], eax
push 3
mov ecx, dword [ebp - 0x188]
call fcn.00424080
lea ecx, [ebp - 0x18]
call fcn.004014c0
mov dword [ebp - 0x18c], eax
mov edx, dword [ebp - 0x18c]
push edx
lea ecx, [ebp - 0x14c]
call fcn.00409790
mov dword [ebp - 0x190], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0xc]
call fcn.004014c0
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00409790
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1c]
call fcn.00408da0
mov dword [ebp - 0x19c], eax
push 1
push 3
push 3
lea ecx, [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x15c]
push edx
mov ecx, dword [ebp - 0x19c]
call fcn.00409dd0
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x422dc4
push 0
push 0
push str.Open_Table_Fail
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [ebp - 0x1c]
call fcn.00408e00
mov eax, dword [ebp - 0x178]
mov dword [eax + 0x78], 1
push 0
mov ecx, dword [ebp + 8]
call fcn.00408d00
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x174]
or ecx, 1
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x15c]
call fcn.00409880
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14c]
call fcn.00409880
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00408d80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
jmp 0x422f4f
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408d30
mov eax, dword [ebp - 0x174]
or al, 1
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x15c]
call fcn.00409880
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14c]
call fcn.00409880
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00408d80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
jmp 0x422f4f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc