Function at 0x4c0b40
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x56d397
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
xor ebp, ebp
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x34], 2
lea ecx, [ebx + 0x2b0]
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 4
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x40]
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 edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4c0c21
test cl, cl
je 0x4c0c1d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4c0c21
add eax, 2
add esi, 2
test cl, cl
jne 0x4c0bfd
xor eax, eax
jmp 0x4c0c26
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4c0c5d
push 0xd
lea ecx, [esp + 0x14]
call fcn.00557258
push 0xa
lea ecx, [esp + 0x14]
call fcn.00557258
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x20], 1
jmp 0x4c0ddc
mov eax, dword [edi - 8]
test eax, eax
jne 0x4c0c82
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c0c82
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 0x64]
lea eax, [esp + 0x18]
push eax
jmp 0x4c0dc9
mov ecx, dword [ebx + 0x2d0]
push 0
push 0
push 0xba
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
push 0x3e8
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
test edi, edi
jle 0x4c0d70
mov byte [esi], 0
mov word [esi], 0x3e8
mov edx, dword [ebx + 0x2d0]
push esi
push ebp
push 0xc4
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x3c]
mov edi, eax
call sub.MFC42.DLL_CString::CString_3
push edi
lea eax, [esp + 0x40]
push 0x5b622c
push eax
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
push ecx
push str.Buffer
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
cmp byte [esi + edi - 2], 0xd
jne 0x4c0d33
mov byte [esi + edi - 2], 0
jmp 0x4c0d37
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 + 0x3c]
inc ebp
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::CString
cmp ebp, dword [esp + 0x24]
jl 0x4c0cb5
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 0x4c0da5
test cl, cl
je 0x4c0da1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4c0da5
add eax, 2
add esi, 2
test cl, cl
jne 0x4c0d81
xor eax, eax
jmp 0x4c0daa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c0db7
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 + 0x3c]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret