Function at 0x1023eb4
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x10cc5fb
call fcn.01077868
sub esp, 0x1c
mov eax, dword [0x10de03c]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x1c], eax
je 0x1024115
call fcn.01021502
push eax
push dword [0x10e25b0]
call fcn.01081933
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
call sub.MFC42u.DLL_CDataExchange::PrepareEditCtrl
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::GetBufferSetLength
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov ecx, esi
call sub.MFC42u.DLL_CString::TrimRight
mov ecx, esi
call sub.MFC42u.DLL_CString::TrimLeft
mov eax, dword [ebp - 0x1c]
cmp dword [eax], ebx
je 0x102405a
mov eax, dword [edi + 8]
xor ecx, ecx
cmp eax, 1
mov eax, dword [esi]
sete cl
cmp dword [eax - 8], ebx
mov dword [ebp - 0x20], ecx
jne 0x1023f6a
cmp ecx, ebx
jne 0x102405a
push 1
push ebx
push 0x10
push ebx
push 0x4e4d
jmp 0x1023f88
push eax
call fcn.010259fb
test eax, eax
jne 0x1023f9f
cmp dword [ebp - 0x20], ebx
jne 0x102405a
push 1
push ebx
push 0x10
push ebx
push 0x4ea8
push 0x4ea9
call fcn.01054bf6
mov ecx, dword [ebp - 0x1c]
call sub.MFC42u.DLL_CDataExchange::Fail
jmp 0x1024115
push dword [esi]
call fcn.01025a71
test eax, eax
jne 0x1024049
cmp dword [ebp - 0x20], ebx
jne 0x102405a
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString_4
push 0x4e8c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::LoadStringW
push 0x4e40
lea ecx, [ebp - 0x24]
call sub.MFC42u.DLL_CString::LoadStringW
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push dword [ebp - 0x28]
push eax
call sub.MFC42u.DLL_CString::Format_1
add esp, 0xc
push 1
push ebx
push 0x10
push ebx
push dword [ebp - 0x20]
push 0x4ea9
call fcn.01054b96
mov ecx, dword [ebp - 0x1c]
call sub.MFC42u.DLL_CDataExchange::Fail
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString
jmp 0x1024115
push esi
lea ecx, [edi + 0xa0]
call sub.MFC42u.DLL_CString::operator_2
jmp 0x1024115
push esi
mov ecx, edi
call fcn.01023e97
push dword [esi]
call fcn.01025a71
test eax, eax
jne 0x1024102
mov eax, dword [0x1004ba0]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1004ba4]
push 0x41
mov dword [ebp - 0x14], eax
pop ebx
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], bx
call fcn.01025a71
test eax, eax
jne 0x102409f
mov ax, bx
inc ebx
cmp ax, 0x5a
jb 0x1024084
lea eax, [ebp - 0x18]
push eax
call fcn.01025a71
test eax, eax
je 0x10240d3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString_5
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0xa0]
mov dword [ebp - 4], 3
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [ebp - 0x28]
jmp 0x10240f9
push 0x100205c
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString_5
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0xa0]
mov dword [ebp - 4], 4
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
push esi
mov ecx, edi
call fcn.01023e97
push dword [esi]
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01075bbb
leave
ret 0x10