Function at 0x4e38c0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5681fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [edi - 0x10], 0x57bb04
lea ebp, [edi + 0xd4]
mov dword [edi], vtable.CComObjectNoRef_class_CKMPTextCtrl_.0
mov dword [edi + 0xcc], vtable.CComObjectNoRef_class_CKMPTextCtrl_.2.0
mov dword [ebp], vtable.CComObjectNoRef_class_CKMPTextCtrl_.3.0
lea ecx, [edi + 0x218]
mov dword [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString
lea eax, [edi + 0x200]
mov dword [edi + method.CKRCriticalSection.virtual_0], vtable.CKRCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [edi + 0x1f8]
mov dword [edi + method.CKRSyncObject.virtual_0], vtable.CKRSyncObject.0
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x19c]
mov byte [esp + 0x24], 1
call fcn.0054f8e0
lea ebx, [edi - 0x10]
mov esi, ebx
neg esi
sbb esi, esi
and esi, ebp
mov dword [esp + 0x14], esi
lea ecx, [esi + 0xbc]
mov byte [esp + 0x24], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb8]
mov byte [esp + 0x24], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb4]
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::CString
mov dword [esi], vtable.CKMPBaseData.0
lea ecx, [esi + 0x4c]
mov byte [esp + 0x24], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [esp + 0x24], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [esp + 0x24], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [esp + 0x24], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x24], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x24], 0xf
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x24], 0xe
lea ecx, [esi + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x24], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x24], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x24], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x24], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x24], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
neg ebx
sbb ebx, ebx
and ebx, edi
mov esi, ebx
mov dword [esp + 0x18], esi
lea ecx, [esi + 0xc8]
mov dword [esp + 0x24], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc4]
mov byte [esp + 0x24], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc0]
mov byte [esp + 0x24], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xbc]
mov byte [esp + 0x24], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x24], 0x15
call fcn.00512970
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], 0x1a
dec eax
js 0x4e3ad3
lea edi, [eax + 1]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4e3ad0
mov edx, dword [ecx]
call dword [edx + 0x38]
dec edi
jne 0x4e3ac2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4e3ae0
mov eax, dword [ecx]
push esi
call dword [eax + 0x2c]
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], vtable.CArray_struct_IKMPObject___struct_IKMPObject__.0
test eax, eax
je 0x4e3af7
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], vtable.CObject.0
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret