Function at 0x454220
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5a4758
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 0x454272
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 0x4542db
mov ecx, dword [esi + 0x20]
push ebx
push ebx
push 0xbb
push ecx
call ebp
mov edi, eax
cmp edi, ebx
jl 0x4542db
mov edx, dword [esi + 0x20]
push ebx
push 0x1f4
push 0xbb
push edx
call ebp
cmp eax, ebx
jg 0x4542bd
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 0x62fc5c
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.004eaa70
push eax
lea edx, [esp + 0x24]
push str._s____s______s______c_c
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [0x62ffac]
mov edx, dword [esp + 0x50]
add esp, 0x1c
inc ecx
cmp edx, ebx
mov dword [0x62ffac], ecx
je 0x4543be
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4543be
jmp 0x454342
mov edx, dword [esp + 0x34]
mov al, byte [ebx + edx]
cmp al, 0xd
jne 0x45436f
push 0xd
lea ecx, [esp + 0x14]
call fcn.005928d0
push 0xa
lea ecx, [esp + 0x14]
call fcn.005928d0
push 0x6010e4
lea ecx, [esp + 0x14]
call fcn.005928ca
jmp 0x4543ab
cmp al, 0x3e
jne 0x4543a1
push 0xd
lea ecx, [esp + 0x14]
call fcn.005928d0
push 0xa
lea ecx, [esp + 0x14]
call fcn.005928d0
push 0x6010e4
lea ecx, [esp + 0x14]
call fcn.005928ca
mov eax, dword [esp + 0x34]
mov cl, byte [ebx + eax]
push ecx
jmp 0x4543a2
push eax
lea ecx, [esp + 0x14]
call fcn.005928d0
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 0x45433e
push 0xd
lea ecx, [esp + 0x14]
call fcn.005928d0
push 0xa
lea ecx, [esp + 0x14]
call fcn.005928d0
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 0x454426
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