Function at 0x418b40
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45110c
push eax
mov eax, 0x2040
mov dword fs:[0], esp
call fcn.0044d980
mov eax, dword [0x47106c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x54]
push 0x1000
push ecx
push 0x4701fc
push str.AutoScripts
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x50]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42u.DLL_CString::CString_4
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
xor esi, esi
push 0x466438
push ecx
mov dword [esp + 0x2064], esi
call sub.MFC42u.DLL_operator_1
push 0x466438
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x2064], 1
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x205c], 2
call sub.MFC42u.DLL_CString::operator_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x2058], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2058], 0
call sub.MFC42u.DLL_CString::CString
push 0x46c5fc
push 0x46c5e0
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::Replace
lea ecx, [esp + 0x34]
call fcn.0044d302
push str.Scripts.txt
lea eax, [esp + 0x1c]
push 0x471068
push eax
mov byte [esp + 0x2064], 3
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2060], 4
call sub.MFC42u.DLL_CFileFind::FindFile
lea ecx, [esp + 0x18]
mov ebx, eax
mov byte [esp + 0x2058], 3
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [edi + 0x88]
push esi
push esi
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, esi
je 0x418e5c
add edi, 0x68
jmp 0x418c86
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CFileFind::FindNextFileW
lea edx, [esp + 0x10]
lea ecx, [esp + 0x34]
push edx
mov dword [esp + 0x24], eax
call sub.MFC42u.DLL_CFileFind::GetFileTitle
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
mov eax, esi
push 0
push ecx
inc esi
push eax
push 1
mov ecx, edi
mov byte [esp + 0x2074], 5
mov dword [esp + 0x34], esi
call sub.MFC42u.DLL_CListCtrl::InsertItem
push 0
push 0
push 0
push 0
push 0x4701fc
mov esi, eax
push 1
push 1
push esi
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItem
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x2058], 6
je 0x418d07
mov ecx, eax
call fcn.00422270
mov ebp, eax
jmp 0x418d09
xor ebp, ebp
push ebp
push 0
push 0
push 0
push 0
push 4
push 0
push esi
mov ecx, edi
mov byte [esp + 0x2078], 5
call sub.MFC42u.DLL_CListCtrl::SetItem
lea edx, [esp + 0x10]
lea eax, [esp + 0x24]
push edx
push 0x466438
push eax
call sub.MFC42u.DLL_operator_1
push 0x466438
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x2064], 7
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x205c], 8
call sub.MFC42u.DLL_CString::Find
test eax, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x2058], 7
setge bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2058], 5
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x418e3f
push 0
push str.Scripts_
lea edx, [esp + 0x34]
push 0x471068
push edx
call sub.MFC42u.DLL_operator
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x2068], 9
call sub.MFC42u.DLL_operator_2
push ecx
mov byte [esp + 0x2060], 0xa
mov ecx, esp
mov dword [esp + 0x30], esp
push str..txt
push eax
push ecx
call sub.MFC42u.DLL_operator
mov ecx, ebp
call fcn.00422020
lea ecx, [esp + 0x1c]
mov ebx, eax
mov byte [esp + 0x2058], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2058], 5
call sub.MFC42u.DLL_CString::CString
test ebx, ebx
je 0x418e26
push 0
push 0
push 0
push 0
push 0x46c5c0
push 1
push 1
push esi
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItem
push 0
push 0
push 0
push 0
push 0x4678b8
push 1
push 2
push esi
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItem
lea ecx, [esp + 0x10]
mov byte [esp + 0x2058], 3
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x418c82
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CFileFind::Close
lea ecx, [esp + 0x34]
mov byte [esp + 0x2058], 0
call sub.MFC42u.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x14]
mov dword [esp + 0x2058], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x2050]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x204c
ret