Function at 0x43e040
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b5af0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::operator_1
push 0x4d6d10
lea ecx, [esp + 8]
call fcn.0045526c
push 0x4000
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 8], ebp
je 0x43e2db
push ebx
push esi
mov esi, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.0043e300
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
add esp, 8
push edx
push 0x4000
push ebp
push 0x4db948
push eax
push str.RegisterIP
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 2
lea ecx, [esp + 0x30]
setb bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x43e118
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0043e300
add esp, 8
mov ecx, dword [esp + 0x28]
push eax
push 1
mov byte [esp + 0x28], 1
mov edx, dword [ecx + 8]
push edx
call fcn.0043e630
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x30]
jmp 0x43e2ca
mov cl, byte [ebp]
mov eax, ebp
test cl, cl
mov edi, ebp
je 0x43e2cf
mov esi, dword [esp + 0x28]
cmp byte [edi], 0x2c
jne 0x43e167
cmp edi, eax
je 0x43e164
mov ecx, edi
sub ecx, eax
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00455272
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x2c], 2
call fcn.0043e630
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea eax, [edi + 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43e12b
cmp edi, eax
je 0x43e2cf
sub edi, eax
lea ecx, [esp + 0x2c]
push edi
push eax
call fcn.00455272
mov ebx, eax
mov dword [esp + 0x28], ebx
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, eax
mov byte [esp + 0x20], 3
sar edx, 2
cmp edx, 1
mov edi, eax
jae 0x43e250
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43e1c1
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x43e1c1
mov ecx, esi
call fcn.00449ac0
mov ebx, eax
jmp 0x43e1c6
mov ebx, 1
mov ecx, esi
call fcn.00449ac0
add eax, ebx
mov dword [esp + 0x30], eax
jns 0x43e1d7
xor eax, eax
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esi + 4]
add esp, 4
mov ebp, eax
push ebp
push edi
push ecx
mov ecx, esi
call fcn.0043e8b0
mov edx, dword [esp + 0x28]
mov ebx, eax
push edx
push 1
push ebx
mov ecx, esi
call fcn.0043e8f0
mov eax, dword [esi + 8]
add ebx, 4
push ebx
push eax
push edi
mov ecx, esi
call fcn.0043e8b0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.0043e420
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x34]
add esp, 4
lea ecx, [ebp + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.00449ac0
lea edx, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x14]
mov dword [esi + 8], edx
jmp 0x43e2c1
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x43e294
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.0043e8b0
mov eax, dword [esi + 8]
mov edx, 1
mov ecx, eax
push ebx
sub ecx, edi
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.0043e8f0
mov eax, dword [esi + 8]
push ebx
push eax
push edi
call fcn.0043e990
add esp, 0xc
jmp 0x43e2bd
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.0043e8b0
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.0043e9c0
lea ecx, [edi + 4]
push ebx
push ecx
push edi
call fcn.0043e990
add esp, 0x18
add dword [esi + 8], 4
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebx
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret