Function at 0x406250
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x408a31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFileFind::CFileFind
push str.project.
lea eax, [esp + 0x14]
push 0x40c690
push eax
mov dword [esp + 0x158], 0
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 1
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x14c], 0
call fcn.00407cca
test edi, edi
je 0x4063e0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov edx, dword [esp + 0x24]
push 0x10
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
call dword [edx + 0x40]
test eax, eax
je 0x4063d4
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x4063d4
push ecx
lea ecx, [esp + 0x28]
mov eax, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
mov ecx, esi
call fcn.004068d0
test al, al
je 0x4063d4
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
test ebp, ebp
mov byte [esp + 0x14c], 2
je 0x406352
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp + 4]
mov byte [esp + 0x14c], 3
call sub.MFC42.DLL_CString::CString_2
jmp 0x406354
xor ebp, ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 0
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
mov ecx, ebp
mov byte [esp + 0x150], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 0
call fcn.00407cca
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [ebp + 4]
mov byte [esp + 0x150], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0
call fcn.00407cca
mov ebx, dword [esi + 0x4c]
lea edi, [esi + 0x44]
push 0xffffffffffffffff
mov ecx, edi
lea eax, [ebx + 1]
push eax
call fcn.00407830
mov ecx, dword [edi + 4]
mov dword [ecx + ebx*4], ebp
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4062ca
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFileFind::Close
push str.configSysConfig.ini
lea edx, [esp + 0x24]
push 0x40c690
push edx
call sub.MFC42.DLL_operator
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x40]
mov byte [esp + 0x14c], 6
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
push 0x104
push ecx
push 0x40c5bc
push 0x40c35c
push str.RTDB
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esi + 0x4c]
xor edi, edi
test eax, eax
jle 0x4064e8
lea ebx, [esi + 0x58]
mov edx, dword [esi + 0x48]
lea eax, [esp + 0x18]
mov ebp, dword [edx + edi*4]
push ebp
push 0x40c224
push eax
call sub.MFC42.DLL_operator_1
push str.__u___font__br_
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x158], 7
call sub.MFC42.DLL_operator
add ebp, 4
lea edx, [esp + 0x10]
push ebp
push eax
push edx
mov byte [esp + 0x158], 8
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0xb
call fcn.00407cca
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0xa
call fcn.00407cca
push 0
push 1
push 0
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebx
call fcn.00401e40
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 6
call fcn.00407cca
mov eax, dword [esi + 0x4c]
inc edi
cmp edi, eax
jl 0x406446
mov eax, dword [esi + 0xa4]
test eax, eax
jle 0x406536
lea ebp, [esi + 0x58]
push 0
mov ecx, ebp
call fcn.00401e10
mov eax, dword [esi + 0x4c]
xor edi, edi
test eax, eax
jle 0x406536
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [esi + 0x48]
lea edx, [esp + 0x40]
push edx
mov eax, dword [ecx + edi*4]
mov eax, dword [eax]
push eax
call ebx
add esp, 8
test eax, eax
je 0x40652e
mov eax, dword [esi + 0x4c]
inc edi
cmp edi, eax
jl 0x40650d
jmp 0x406536
push edi
mov ecx, ebp
call fcn.00401e10
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0
call fcn.00407cca
lea ecx, [esp + 0x24]
mov dword [esp + 0x14c], 0xffffffff
call fcn.004080d8
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x140
ret