Function at 0x4bfc60
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x56d1a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x30], 2
lea ecx, [ebx + 0x1c8]
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 4
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push edx
call fcn.004ccd90
add eax, 0x50
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bfd41
test cl, cl
je 0x4bfd3d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bfd41
add eax, 2
add esi, 2
test cl, cl
jne 0x4bfd1d
xor eax, eax
jmp 0x4bfd46
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bfd7d
push 0xd
lea ecx, [esp + 0x14]
call fcn.00557258
push 0xa
lea ecx, [esp + 0x14]
call fcn.00557258
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x20], 1
jmp 0x4bfe94
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4bfda2
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4bfda2
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 0x64]
lea eax, [esp + 0x18]
push eax
jmp 0x4bfe81
mov ecx, dword [ebx + 0x1e8]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xba
push ecx
call ebp
push 0x3e8
mov dword [esp + 0x3c], eax
call sub.MFC42.DLL_operatornew
mov esi, eax
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jle 0x4bfe28
mov byte [esi], 0
mov word [esi], 0x3e8
mov edx, dword [ebx + 0x1e8]
push esi
push edi
push 0xc4
push edx
call ebp
cmp byte [esi + eax - 2], 0xd
jne 0x4bfdfb
mov byte [esi + eax - 2], 0
jmp 0x4bfdff
mov byte [esi + eax], 0
push esi
lea ecx, [esp + 0x18]
call fcn.00557276
push 0xd
lea ecx, [esp + 0x18]
call fcn.00557258
push 0xa
lea ecx, [esp + 0x18]
call fcn.00557258
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jl 0x4bfdd5
push esi
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add esp, 4
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bfe5d
test cl, cl
je 0x4bfe59
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bfe5d
add eax, 2
add esi, 2
test cl, cl
jne 0x4bfe39
xor eax, eax
jmp 0x4bfe62
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4bfe6f
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x64]
lea ecx, [esp + 0x14]
push ecx
call fcn.004bf8d0
add esp, 4
lea edx, [esp + 0x14]
push edx
mov esi, dword [esp + 0x38]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
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