Function at 0x4a3870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5beaf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
xor edi, edi
mov dword [esp + 0x1c], 0x5cd400
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [esp + 0x1c], 0x5cfe24
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x54]
mov byte [esp + 0x4c], 4
mov ebp, dword [eax + 0xc]
cmp ebp, edi
jne 0x4a393d
mov esi, dword [ebx + 0x198]
cmp esi, edi
je 0x4a392c
mov eax, dword [ebx + 0x19c]
mov ecx, eax
dec eax
test ecx, ecx
je 0x4a3917
lea ebp, [eax + 1]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 4]
add esi, 0x28
dec ebp
jne 0x4a3909
mov eax, dword [ebx + 0x198]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x198], edi
mov dword [ebx + 0x1a0], edi
mov dword [ebx + 0x19c], edi
jmp 0x4a3a7c
mov ecx, dword [ebx + 0x198]
cmp ecx, edi
jne 0x4a3975
lea eax, [ebp + ebp*4]
shl eax, 3
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx + 0x198], eax
push ebp
push eax
call fcn.004022e3
mov dword [ebx + 0x1a0], ebp
mov dword [ebx + 0x19c], ebp
jmp 0x4a3a7c
mov esi, dword [ebx + 0x1a0]
cmp ebp, esi
jg 0x4a39c2
mov eax, dword [ebx + 0x19c]
cmp eax, ebp
jge 0x4a39a5
mov edx, ebp
sub edx, eax
lea eax, [eax + eax*4]
push edx
lea ecx, [ecx + eax*8]
push ecx
call fcn.004022e3
mov dword [ebx + 0x19c], ebp
jmp 0x4a3a7c
jle 0x4a39b7
sub eax, ebp
lea edx, [ebp + ebp*4]
push eax
lea eax, [ecx + edx*8]
push eax
call fcn.004026d0
mov dword [ebx + 0x19c], ebp
jmp 0x4a3a7c
mov eax, dword [ebx + 0x1a4]
cmp eax, edi
jne 0x4a39f3
mov eax, dword [ebx + 0x19c]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4a39e7
mov eax, 4
jmp 0x4a39f3
cmp eax, 0x400
jle 0x4a39f3
mov eax, 0x400
add eax, esi
cmp ebp, eax
jge 0x4a39ff
mov dword [esp + 0x10], eax
jmp 0x4a3a05
mov dword [esp + 0x10], ebp
mov eax, ebp
lea ecx, [eax + eax*4]
shl ecx, 3
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x19c]
mov esi, dword [ebx + 0x198]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x18], eax
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x19c]
sub edx, ecx
lea ecx, [ecx + ecx*4]
push edx
lea edx, [eax + ecx*8]
push edx
call fcn.004022e3
mov eax, dword [ebx + 0x198]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 0x198], eax
mov dword [ebx + 0x19c], ebp
mov dword [ebx + 0x1a0], ecx
xor edi, edi
mov edx, dword [esp + 0x54]
mov esi, dword [edx + 0xc]
neg esi
sbb esi, esi
cmp esi, edi
je 0x4a3b15
cmp esi, 0xffffffff
mov ebp, esi
jne 0x4a3ab4
mov ecx, dword [esp + 0x54]
xor eax, eax
mov edx, dword [ecx + 8]
test edx, edx
jbe 0x4a3ab4
mov ecx, dword [ecx + 4]
mov ebp, dword [ecx]
test ebp, ebp
jne 0x4a3ab4
inc eax
add ecx, 4
cmp eax, edx
jb 0x4a3aa6
mov esi, dword [ebp]
test esi, esi
jne 0x4a3ade
mov ecx, dword [esp + 0x54]
mov eax, dword [ebp + 4]
inc eax
mov edx, dword [ecx + 8]
cmp eax, edx
jae 0x4a3ade
mov ecx, dword [ecx + 4]
lea ecx, [ecx + eax*4]
mov esi, dword [ecx]
test esi, esi
jne 0x4a3ade
inc eax
add ecx, 4
cmp eax, edx
jb 0x4a3ad0
lea edx, [ebp + 8]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_3
add ebp, 0xc
lea ecx, [esp + 0x1c]
push ebp
call fcn.00480d30
mov ecx, dword [ebx + 0x198]
lea eax, [esp + 0x1c]
push eax
add ecx, edi
call fcn.00480d30
add edi, 0x28
test esi, esi
jne 0x4a3a8f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 0
call fcn.004019f1
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4