Function at 0x4504c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6721c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_5
mov edi, dword [esp + 0x38]
mov dword [esp + 0x30], 0
mov esi, dword [edi + 0xc]
neg esi
sbb esi, esi
test esi, esi
je 0x45063a
push ebp
jmp 0x450506
mov esi, dword [esp + 0x1c]
cmp esi, 0xffffffff
jne 0x450525
mov edx, dword [edi + 8]
xor eax, eax
test edx, edx
jbe 0x450525
mov ecx, dword [edi + 4]
mov esi, dword [ecx]
test esi, esi
jne 0x450525
inc eax
add ecx, 4
cmp eax, edx
jb 0x450517
mov ebp, dword [esi]
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x450556
mov eax, dword [esi + 4]
mov ebx, dword [edi + 8]
inc eax
cmp eax, ebx
jae 0x450556
mov ecx, dword [edi + 4]
lea ecx, [ecx + eax*4]
mov edx, dword [ecx]
test edx, edx
mov dword [esp + 0x10], edx
jne 0x450552
inc eax
add ecx, 4
cmp eax, ebx
jb 0x450540
mov ebp, dword [esp + 0x10]
lea edx, [esi + 8]
lea ecx, [esp + 0x18]
push edx
mov dword [esp + 0x20], ebp
call sub.MFC42u.DLL_CString::operator_2
mov esi, dword [esi + 0xc]
test esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
je 0x450631
lea ebx, [esi + 4]
mov dword [esp + 0x28], ebx
mov dword [ebx], vtable.CMap_class_CString__unsigned_short_int_const___struct_INIENTRY__struct_INIENTRY__.0
mov eax, dword [ebx + 4]
mov byte [esp + 0x34], 2
test eax, eax
je 0x4505f0
mov ecx, dword [ebx + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x14], eax
jbe 0x4505f0
mov ecx, dword [ebx + 4]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je 0x4505e0
lea esi, [ebp + 0xc]
xor edi, edi
push 0
mov ecx, esi
call fcn.00453f50
add esi, 0xc
mov edx, edi
dec edi
test edx, edx
jne 0x4505af
lea eax, [ebp + 8]
push 1
push eax
call sub.MFC42u.DLL_DestructElements
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4505aa
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x4505a0
mov ebp, dword [esp + 0x10]
mov eax, dword [ebx + 4]
push eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [ebx + 0x14]
xor eax, eax
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
call sub.MFC42u.DLL_CPlex::FreeDataChain
mov ecx, esi
mov dword [ebx + 0x14], 0
mov dword [ebx], vtable.CObject.0
mov byte [esp + 0x34], 0
call sub.MFC42u.DLL_CString::CString
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
test ebp, ebp
jne 0x450502
pop ebp
mov eax, dword [edi + 4]
test eax, eax
je 0x45066d
mov eax, dword [edi + 8]
xor ebx, ebx
test eax, eax
jbe 0x45066d
mov ecx, dword [edi + 4]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x450665
lea edx, [esi + 8]
push 1
push edx
call sub.MFC42u.DLL_DestructElements
mov esi, dword [esi]
test esi, esi
jne 0x450654
mov eax, dword [edi + 8]
inc ebx
cmp ebx, eax
jb 0x45064a
mov eax, dword [edi + 4]
push eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [edi + 0x14]
xor esi, esi
add esp, 4
mov dword [edi + 4], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
call sub.MFC42u.DLL_CPlex::FreeDataChain
lea ecx, [esp + 0x14]
mov dword [edi + 0x14], esi
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret