Function at 0x51ab10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x686fce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
mov dword [ebp], 0x6abec4
lea esi, [ebp + 0xdc]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], esi
lea ecx, [esi + 0x58]
mov byte [esp + 0x24], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x24], 3
call fcn.00485af0
lea edi, [esi + 0x14]
mov dword [esp + 0x18], edi
mov dword [edi], vtable.CArray_struct_TDCCUSTOMATTRIBUTEDEFINITION__struct_TDCCUSTOMATTRIBUTEDEFINITION__.0
mov ebx, dword [edi + 4]
mov byte [esp + 0x24], 4
test ebx, ebx
je 0x51abaa
mov eax, dword [edi + 8]
mov ecx, eax
dec eax
test ecx, ecx
je 0x51ab9e
lea ebp, [eax + 1]
push 0
mov ecx, ebx
call fcn.004830d0
add ebx, 0x70
dec ebp
jne 0x51ab8b
mov ebp, dword [esp + 0x10]
mov eax, dword [edi + 4]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [edi], vtable.CObject.0
mov dword [esi], vtable.CArray_struct_SEARCHPARAM__struct_SEARCHPARAM__.0
mov edi, dword [esi + 4]
mov byte [esp + 0x24], 5
test edi, edi
je 0x51abe8
mov eax, dword [esi + 8]
mov edx, eax
dec eax
test edx, edx
je 0x51abdc
lea ebx, [eax + 1]
mov ecx, edi
call fcn.00477930
add edi, 0x30
dec ebx
jne 0x51abcf
mov eax, dword [esi + 4]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea edi, [ebp + 4]
mov dword [esi], vtable.CObject.0
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], 6
lea ebx, [edi + 0xbc]
mov dword [esp + 0x18], ebx
mov dword [ebx], vtable.CMap_class_CString__unsigned_short_int_const___struct_TDCCADATA__struct_TDCCADATA__.0
mov eax, dword [ebx + 4]
mov byte [esp + 0x24], 0xd
test eax, eax
je 0x51ac6b
mov ecx, dword [ebx + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x51ac6b
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + eax*4]
test esi, esi
je 0x51ac5f
lea edi, [esi + 0xc]
xor ebp, ebp
mov ecx, edi
call fcn.004566f0
add edi, 8
mov edx, ebp
dec ebp
test edx, edx
jne 0x51ac35
lea eax, [esi + 8]
push 1
push eax
call sub.MFC42u.DLL_DestructElements
mov esi, dword [esi]
test esi, esi
jne 0x51ac30
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x51ac26
mov eax, dword [ebx + 4]
push eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [ebx + 0x14]
xor esi, esi
add esp, 4
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
call sub.MFC42u.DLL_CPlex::FreeDataChain
lea ecx, [edi + 0x80]
mov dword [ebx + 0x14], esi
mov dword [ebx], vtable.CObject.0
mov byte [esp + 0x24], 0xb
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [edi + 0x6c]
mov byte [esp + 0x24], 0xa
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [edi + 0x58]
mov byte [esp + 0x24], 9
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [edi + 0x44]
mov byte [esp + 0x24], 8
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [edi + 0x30]
mov byte [esp + 0x24], 7
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [edi + 0x1c]
mov byte [esp + 0x24], 6
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [edi + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret