Function at 0x40ce30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4150b1
push eax
mov eax, 0x20620
mov dword fs:[0], esp
call fcn.00413f20
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x2064c]
mov ebx, 2
push 0x41c198
push eax
mov dword [esp + 0x20640], ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x40cebb
lea ecx, [esp + 0x10]
push ecx
call fcn.00407450
add esp, 4
mov edx, dword [eax]
push str.tvt.txt
push edx
lea eax, [esp + 0x20654]
push 0x41c15c
push eax
mov byte [esp + 0x20648], 3
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20638], bl
call sub.MFC42u.DLL_CString::CString
mov al, byte [esp + 0x20650]
test al, al
je 0x40cf51
mov ecx, dword [esp + 0x2064c]
mov eax, dword [esp + 0x20644]
push ecx
mov ecx, dword [esp + 0x20644]
lea edx, [esp + 0x1c]
push 0x104
push edx
push 0x4207b8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [esp + 0x20648]
lea edx, [esp + 0x18]
push edx
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x20640]
mov byte [esp + 0x20638], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20644]
mov byte [esp + 0x20638], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2064c]
mov dword [esp + 0x20638], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, 0x104
jmp 0x40d118
push 0x70
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x20638], 4
je 0x40cf95
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str..pipeRRNovaPipe
call fcn.00413dc4
push 0
push 0
mov ecx, esi
call fcn.0040ff30
mov dword [esp + 0x10], eax
jmp 0x40cf9d
mov dword [esp + 0x10], 0
mov ecx, 0x4000
xor eax, eax
lea edi, [esp + 0x630]
mov edx, dword [esp + 0x2064c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20640]
mov ecx, dword [esp + 0x20644]
mov byte [esp + 0x20638], bl
mov eax, dword [eax - 8]
lea ebp, [eax + eax]
mov eax, dword [ecx - 8]
lea ebx, [eax + eax]
mov eax, dword [edx - 8]
add eax, eax
push eax
push ebx
mov dword [esp + 0x1c], eax
push ebp
push 0x14
lea eax, [esp + 0x640]
push str._c_c_c_c
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov esi, dword [esp + 0x20658]
mov ecx, ebp
mov edx, ecx
lea edi, [esp + 0x64c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebx + ebp]
and ecx, 3
add esp, 0x18
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20644]
mov ecx, ebx
mov eax, ecx
lea edi, [esp + ebp + 0x634]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2064c]
mov ecx, eax
lea edi, [esp + edx + 0x634]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add eax, ebx
mov ebx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [eax + ebp + 4]
lea ecx, [esp + 0x630]
push eax
push ecx
mov ecx, ebx
call fcn.00411250
lea edx, [esp + 0x10630]
mov ecx, ebx
push edx
call fcn.00411320
lea eax, [esp + 0x10630]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
lea ecx, [eax + eax + 4]
lea esi, [esp + 0x10634]
mov edx, ecx
lea edi, [esp + 0x224]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
lea eax, [esp + 0x220]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20648]
push eax
call sub.MFC42u.DLL_CString::operator_2
test ebx, ebx
je 0x40d0d4
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
lea ecx, [esp + 0x20640]
mov byte [esp + 0x20638], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20644]
mov byte [esp + 0x20638], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2064c]
mov dword [esp + 0x20638], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x20630]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2062c
ret