Function at 0x43de80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b5940
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.004550cc
push 0x4000
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 8], ebp
je 0x43e11b
push ebx
push esi
mov esi, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.0043e140
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
add esp, 8
push edx
push 0x4000
push ebp
push 0x4db920
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 0x43df58
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0043e140
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.0043e470
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x30]
jmp 0x43e10a
mov cl, byte [ebp]
mov eax, ebp
test cl, cl
mov edi, ebp
je 0x43e10f
mov esi, dword [esp + 0x28]
cmp byte [edi], 0x2c
jne 0x43dfa7
cmp edi, eax
je 0x43dfa4
mov ecx, edi
sub ecx, eax
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004550d2
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x2c], 2
call fcn.0043e470
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 0x43df6b
cmp edi, eax
je 0x43e10f
sub edi, eax
lea ecx, [esp + 0x2c]
push edi
push eax
call fcn.004550d2
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 0x43e090
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43e001
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x43e001
mov ecx, esi
call fcn.00449b40
mov ebx, eax
jmp 0x43e006
mov ebx, 1
mov ecx, esi
call fcn.00449b40
add eax, ebx
mov dword [esp + 0x30], eax
jns 0x43e017
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.0043e6f0
mov edx, dword [esp + 0x28]
mov ebx, eax
push edx
push 1
push ebx
mov ecx, esi
call fcn.0043e730
mov eax, dword [esi + 8]
add ebx, 4
push ebx
push eax
push edi
mov ecx, esi
call fcn.0043e6f0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.0043e260
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.00449b40
lea edx, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x14]
mov dword [esi + 8], edx
jmp 0x43e101
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x43e0d4
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.0043e6f0
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.0043e730
mov eax, dword [esi + 8]
push ebx
push eax
push edi
call fcn.0043e7d0
add esp, 0xc
jmp 0x43e0fd
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.0043e6f0
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.0043e800
lea ecx, [edi + 4]
push ebx
push ecx
push edi
call fcn.0043e7d0
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