Function at 0x4548d0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5ad828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov al, byte [esi + 0x7c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
mov dword [esp + 0x24], 1
test al, al
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
je 0x454922
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0xb0
push edx
call ebp
mov eax, dword [esi + 0x20]
push ebx
push ebx
push 0xba
push eax
call ebp
cmp eax, 0x3e8
jle 0x45498b
mov ecx, dword [esi + 0x20]
push ebx
push ebx
push 0xbb
push ecx
call ebp
mov edi, eax
cmp edi, ebx
jl 0x45498b
mov edx, dword [esi + 0x20]
push ebx
push 0x1f4
push 0xbb
push edx
call ebp
cmp eax, ebx
jg 0x45496d
mov eax, dword [esi + 0x20]
push ebx
push edi
push 0xc1
push eax
call ebp
add eax, edi
mov ecx, dword [esi + 0x20]
push eax
push edi
push 0xb1
push ecx
call ebp
mov edx, dword [esi + 0x20]
push 0x63b90c
push ebx
push 0xc2
push edx
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 0xa
push 0xd
push eax
push ecx
mov byte [esp + 0x34], 2
call fcn.004ec660
push eax
lea edx, [esp + 0x24]
push str._s____s______s______c_c
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [0x63bc5c]
mov edx, dword [esp + 0x50]
add esp, 0x1c
inc ecx
cmp edx, ebx
mov dword [0x63bc5c], ecx
je 0x454a6e
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x454a6e
jmp 0x4549f2
mov edx, dword [esp + 0x34]
mov al, byte [ebx + edx]
cmp al, 0xd
jne 0x454a1f
push 0xd
lea ecx, [esp + 0x14]
call fcn.0059b7b2
push 0xa
lea ecx, [esp + 0x14]
call fcn.0059b7b2
push 0x60c0e4
lea ecx, [esp + 0x14]
call fcn.0059b7ac
jmp 0x454a5b
cmp al, 0x3e
jne 0x454a51
push 0xd
lea ecx, [esp + 0x14]
call fcn.0059b7b2
push 0xa
lea ecx, [esp + 0x14]
call fcn.0059b7b2
push 0x60c0e4
lea ecx, [esp + 0x14]
call fcn.0059b7ac
mov eax, dword [esp + 0x34]
mov cl, byte [ebx + eax]
push ecx
jmp 0x454a52
push eax
lea ecx, [esp + 0x14]
call fcn.0059b7b2
mov edi, dword [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
inc ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebx, ecx
jl 0x4549ee
push 0xd
lea ecx, [esp + 0x14]
call fcn.0059b7b2
push 0xa
lea ecx, [esp + 0x14]
call fcn.0059b7b2
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetWindowTextLengthA
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
push eax
push 0xb1
push edx
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0xc2
push ecx
call ebp
mov al, byte [esi + 0x7c]
test al, al
je 0x454ad6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x20]
push edx
push eax
push 0xb1
push ecx
call ebp
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push edx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
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 0xc