Function at 0x40e5d0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x420e6a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [esp], ecx
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x40e5fe
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x40e600
xor eax, eax
mov eax, dword [eax + 0xb4]
add eax, 0x60
mov dword [esp + 8], eax
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x40e61f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x40e621
xor eax, eax
mov eax, dword [eax + 0xb4]
push ebx
push ebp
push esi
push edi
add eax, 0xc7c
push 0x78
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov dword [esp + 0x2c], 0
je 0x40e786
mov dword [esi], 0x4236c4
lea ebp, [esi + 8]
mov byte [esp + 0x2c], 1
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 0xc]
mov byte [esp + 0x2c], 2
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString_3
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_3
push 4
lea eax, [esi + 0x20]
push 4
push eax
mov byte [esp + 0x40], 4
call fcn.0041ff4b
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_3
lea eax, [esi + 0x30]
push 4
push 4
push eax
mov byte [esp + 0x40], 5
call fcn.0041ff4b
lea ecx, [esi + 0x74]
mov byte [esp + 0x2c], 6
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [esp + 0x34]
mov dword [esi], 0x425364
mov byte [esp + 0x2c], 7
mov ecx, dword [edi + 0x1c]
lea edx, [edi + 8]
mov dword [esi + 0x1c], ecx
push edx
mov ecx, ebp
call fcn.0041f8b0
lea eax, [edi + 0xc]
mov ecx, ebx
push eax
call fcn.0041f8b0
lea ecx, [edi + 0x10]
push ecx
lea ecx, [esi + 0x10]
call fcn.0041f8b0
mov edx, dword [edi + 0x14]
lea ecx, [edi + 0x74]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
push ecx
lea ecx, [esi + 0x74]
mov dword [esi + 0x18], eax
call fcn.0041f8b0
mov eax, edi
lea ebp, [edi + 0x40]
sub eax, esi
lea ebx, [esi + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], 4
jmp 0x40e735
mov eax, dword [esp + 0x14]
add eax, ebx
mov ecx, ebx
push eax
call fcn.0041f8b0
lea edx, [ebp - 0x20]
lea ecx, [ebx - 0x10]
push edx
call fcn.0041f8b0
mov eax, dword [ebp]
add ebp, 4
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x30], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x20], edx
add ebx, 4
dec eax
mov dword [esp + 0x34], eax
jne 0x40e731
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov cx, word [edi + 4]
mov word [esi + 4], cx
mov dx, word [edi + 6]
mov word [esi + 6], dx
jmp 0x40e788
xor esi, esi
mov eax, dword [esi + 0x1c]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x2c], 0xffffffff
jle 0x40e7fb
lea ebx, [esi + 0x20]
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimRight
mov edi, dword [ebx]
mov ecx, dword [esp + 0x10]
push edi
call fcn.00410c50
test al, al
jne 0x40e7ca
mov eax, dword [esp + 0x10]
push edi
mov edx, dword [eax + 0x408]
lea ecx, [eax + 0x400]
push edx
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov ecx, dword [esp + 0x18]
push edi
call fcn.00401510
test eax, eax
je 0x40e7db
mov edi, dword [eax + 4]
push edi
lea ecx, [ebx + 0x10]
call fcn.0041f8a4
mov ecx, dword [esp + 0x10]
push ebp
push esi
push edi
call fcn.0040e940
mov eax, dword [esi + 0x1c]
inc ebp
add ebx, 4
cmp ebp, eax
jl 0x40e79c
lea edi, [esi + 0xc]
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov edi, dword [edi]
mov ebx, dword [esp + 0x10]
push edi
mov ecx, ebx
call fcn.00410d60
test al, al
jne 0x40e82a
mov eax, dword [ebx + 0x41c]
lea ecx, [ebx + 0x414]
push edi
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00401510
test eax, eax
je 0x40e83b
mov edi, dword [eax + 4]
push edi
lea ecx, [esi + 0x10]
call fcn.0041f8a4
push ebp
push esi
push edi
mov ecx, ebx
call fcn.0040eac0
mov edx, dword [ebx + 0x3b8]
lea ecx, [ebx + 0x3b0]
push esi
push edx
call sub.MFC42.DLL_CObArray::SetAtGrow
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4