Function at 0x46e500
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e54eb
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [0x557388]
push edi
xor edi, edi
cmp esi, edi
je 0x46e53e
mov ecx, esi
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [0x557388], edi
push 4
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, edi
mov dword [esp + 0x24], edi
je 0x46e566
push 0x4f423c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, esi
jmp 0x46e568
xor eax, eax
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [0x557388], eax
mov eax, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x38]
push edx
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x24], 3
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x2c]
mov esi, 0xb
cmp eax, 2
mov byte [esp + 0x24], 4
mov dword [esp + 0x40], esi
jne 0x46e60b
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [edx - 8]
mov edx, dword [esp + 0x3c]
mov ecx, dword [ecx - 8]
mov edx, dword [edx - 8]
add edx, ecx
lea esi, [edx + eax + 0xb]
mov dword [esp + 0x40], esi
jmp 0x46e64b
push 0x4f423c
lea ecx, [esp + 0x34]
xor ebx, ebx
call sub.MFC42.DLL_CString::operator_2
push 0x4f423c
lea ecx, [esp + 0x3c]
xor ebp, ebp
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::operator_2
push 0x4f423c
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::operator_2
push 0x4f423c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_4
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::GetBuffer
mov cl, byte [esp + 0x2c]
mov byte [eax + 1], bl
mov byte [eax], cl
mov edx, dword [esp + 0x30]
lea edi, [eax + 4]
mov edx, dword [edx - 8]
mov ecx, edx
mov word [eax + 2], dx
mov esi, dword [esp + 0x30]
and ecx, 0xffff
mov ebx, ecx
add edx, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
add edx, 2
and ecx, 0xffff
mov esi, edx
test ebx, ebx
mov word [ecx + eax], bp
setne cl
and esi, 0xffff
inc edx
mov byte [esi + eax], cl
mov ecx, dword [esp + 0x38]
mov ebp, dword [ecx - 8]
mov ecx, edx
and ecx, 0xffff
add edx, 2
mov edi, edx
add edx, ebp
mov word [ecx + eax], bp
mov esi, dword [esp + 0x38]
mov ecx, ebp
and edi, 0xffff
and ecx, 0xffff
add edi, eax
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3c]
mov esi, edx
and esi, 0xffff
add edx, 2
mov ecx, dword [ecx - 8]
mov edi, edx
mov word [esi + eax], cx
mov esi, dword [esp + 0x3c]
and ecx, 0xffff
and edi, 0xffff
mov edx, ecx
add edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
push esi
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0046ef80
add esp, 0xc
mov byte [esp + 0x24], 6
mov ecx, dword [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.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