Function at 0x40ebb0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41d8a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], 0
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [edi + 0x64]
lea ecx, [esp + 0x10]
add eax, 0xc8
mov byte [esp + 0x134], 1
push eax
call fcn.0041b82a
lea ecx, [esp + 0x14]
push 1
push ecx
mov ecx, dword [edi + 0x64]
add ecx, 0xc8
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x429044
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40ec47
push 0x429044
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x18]
push 3
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push str.SizeOfDefaultPath
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x13c]
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push 0x104
push ecx
push 0x42a438
push edx
push str.FileGroup
mov byte [esp + 0x14c], 3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ebx, eax
test esi, esi
je 0x40eda5
test ebx, ebx
jbe 0x40eda5
mov eax, dword [edi + 0x74]
mov esi, dword [eax]
cmp esi, eax
je 0x40ed02
mov ecx, dword [esi + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041b7f4
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x18]
push edx
mov eax, dword [eax]
push eax
call ebp
add esp, 8
test eax, eax
je 0x40ed3c
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 3
call sub.MFC42.DLL_CString::CString
mov esi, dword [esi]
mov eax, dword [edi + 0x74]
cmp esi, eax
jne 0x40ecc7
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x134], 5
je 0x40ed55
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x42a438
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.0040e4b0
mov ebp, eax
jmp 0x40ed57
mov esi, dword [esi + 8]
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 3
add dword [esi + 4], ebx
call sub.MFC42.DLL_CString::CString
jmp 0x40eda5
xor ebp, ebp
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
mov byte [esp + 0x138], 3
call fcn.0041b82a
mov dword [ebp + 4], ebx
mov esi, dword [edi + 0x74]
push 0xc
mov ebx, dword [esi + 4]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, esi
test esi, esi
jne 0x40ed86
mov ecx, eax
test ebx, ebx
mov dword [eax], ecx
jne 0x40ed8e
mov ebx, eax
mov dword [eax + 4], ebx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x40eda2
mov dword [eax], ebp
inc dword [edi + 0x78]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x13c]
mov dword [esp + 0x134], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x128
ret 4