Function at 0x40e730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x442016
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor edi, edi
lea ebx, [ebp + 0x18]
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [esp + 0x20], ebp
mov dword [ebx], 0x44b620
mov dword [ebx + 4], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
lea ecx, [ebp + 0x30]
mov dword [esp + 0x4c], edi
call fcn.0043f5d4
mov esi, dword [esp + 0x54]
mov byte [esp + 0x4c], 1
mov eax, dword [esi]
mov dword [ebp], eax
mov ecx, dword [esi + 4]
mov dword [ebp + 4], ecx
mov edx, dword [esi + 8]
mov dword [ebp + 8], edx
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [esi + 0x10]
mov dword [ebp + 0x10], ecx
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x30]
mov dword [ebp + 0x14], edx
mov eax, dword [esi + 0x2c]
push ecx
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x2c], eax
call sub.MFC42.DLL_CString::operator_1
push 0xffffffffffffffff
push edi
mov ecx, ebx
mov dword [ebp + 0x34], edi
call fcn.00432b40
mov ecx, dword [ebx + 8]
mov edi, dword [esi + 0x20]
add edi, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edi
jne 0x40e825
mov edi, dword [ebx + 4]
test edi, edi
je 0x40e818
mov edx, ecx
dec ecx
test edx, edx
je 0x40e805
inc ecx
mov dword [esp + 0x54], ecx
push 0
mov ecx, edi
call fcn.00433540
mov eax, dword [esp + 0x54]
add edi, 0x20
dec eax
mov dword [esp + 0x54], eax
jne 0x40e7ee
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 4], 0
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x40e958
mov edx, dword [ebx + 4]
test edx, edx
jne 0x40e84f
mov ecx, edi
shl ecx, 5
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx + 4], eax
push edi
push eax
call fcn.00433580
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x40e958
cmp edi, dword [ebx + 0xc]
jg 0x40e8b8
cmp ecx, edi
jge 0x40e870
mov eax, edi
sub eax, ecx
shl ecx, 5
add ecx, edx
push eax
push ecx
call fcn.00433580
mov dword [ebx + 8], edi
jmp 0x40e958
jle 0x40e8b0
mov eax, edi
sub ecx, edi
shl eax, 5
add eax, edx
mov edx, ecx
dec ecx
mov dword [esp + 0x54], eax
test edx, edx
je 0x40e8b0
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x40e891
mov eax, dword [esp + 0x54]
push 0
mov ecx, eax
call fcn.00433540
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
add ecx, 0x20
dec eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x10], eax
jne 0x40e88d
mov dword [ebx + 8], edi
jmp 0x40e958
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x40e8e2
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x40e8d6
mov eax, 4
jmp 0x40e8e2
cmp eax, 0x400
jle 0x40e8e2
mov eax, 0x400
mov ecx, dword [ebx + 0xc]
add eax, ecx
cmp edi, eax
mov dword [esp + 0x10], eax
jl 0x40e8f3
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
shl eax, 5
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 5
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x18], eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
mov edx, esi
sub edx, ecx
shl ecx, 5
add ecx, eax
push edx
push ecx
call fcn.00433580
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [ebx + 8], esi
mov esi, dword [esp + 0x58]
add esp, 4
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], edx
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
mov eax, dword [esi + 0x20]
mov esi, dword [esi + 0x1c]
shl edi, 5
add edi, ecx
mov ecx, eax
dec eax
test ecx, ecx
je 0x40e9a3
lea ebx, [eax + 1]
sub esp, 0x20
mov eax, esi
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
add esi, 0x20
call fcn.0040e5b0
lea edx, [esp + 0x44]
mov ecx, edi
push edx
add edi, 0x20
call fcn.0040e630
lea ecx, [esp + 0x24]
call fcn.0040e550
dec ebx
jne 0x40e974
mov ecx, dword [esp + 0x44]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret 4