Function at 0x4bfef0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x56d217
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 1
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov ebp, dword [esp + 0x44]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x3c], 2
lea edi, [ebp + 0x23c]
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 4
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x48]
mov ecx, ebp
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 esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bffd1
test cl, cl
je 0x4bffcd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bffd1
add eax, 2
add esi, 2
test cl, cl
jne 0x4bffad
xor eax, eax
jmp 0x4bffd6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4c000d
push 0xd
lea ecx, [esp + 0x14]
call fcn.00557258
push 0xa
lea ecx, [esp + 0x14]
call fcn.00557258
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x20], 1
jmp 0x4c021b
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4c004a
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x4c004a
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x64]
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x20], 1
jmp 0x4c021b
mov edx, dword [ebp + 0x25c]
push 0
push 0
push 0xba
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], esi
call sub.MFC42.DLL_CString::CString_3
push esi
lea eax, [esp + 0x2c]
push 0x5b622c
push eax
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_CString::Format
push 0x3e8
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x25c]
add esp, 0x10
mov esi, eax
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x24]
mov ecx, edi
push edx
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x4c018e
mov byte [esi], 0
mov word [esi], 0x3e8
mov eax, dword [ebp + 0x25c]
push esi
push ebx
push 0xc4
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x44]
mov edi, eax
call sub.MFC42.DLL_CString::CString_3
push edi
lea ecx, [esp + 0x48]
push 0x5b622c
push ecx
mov byte [esp + 0x44], 7
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x44]
lea eax, [esp + 0x2c]
push edx
push str.Buffer
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 7
call sub.MFC42.DLL_CString::CString
cmp byte [esi + edi - 2], 0xd
jne 0x4c0151
mov byte [esi + edi - 2], 0
jmp 0x4c0155
mov byte [esi + edi], 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
lea ecx, [esp + 0x44]
inc ebx
mov byte [esp + 0x38], 6
call sub.MFC42.DLL_CString::CString
cmp ebx, dword [esp + 0x48]
jl 0x4c00d3
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 bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4c01c7
test cl, cl
je 0x4c01c3
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4c01c7
add eax, 2
add esi, 2
test cl, cl
jne 0x4c019f
xor eax, eax
jmp 0x4c01cc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c01da
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x64]
lea ecx, [esp + 0x14]
push ecx
call fcn.004bf8d0
mov esi, dword [esp + 0x44]
add esp, 4
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 1
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret