Function at 0x4544d0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5a8e08
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 0x454522
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 0x45458b
mov ecx, dword [esi + 0x20]
push ebx
push ebx
push 0xbb
push ecx
call ebp
mov edi, eax
cmp edi, ebx
jl 0x45458b
mov edx, dword [esi + 0x20]
push ebx
push 0x1f4
push 0xbb
push edx
call ebp
cmp eax, ebx
jg 0x45456d
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 0x63547c
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.004eb9b0
push eax
lea edx, [esp + 0x24]
push str._s____s______s______c_c
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [0x6357cc]
mov edx, dword [esp + 0x50]
add esp, 0x1c
inc ecx
cmp edx, ebx
mov dword [0x6357cc], ecx
je 0x45466e
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x45466e
jmp 0x4545f2
mov edx, dword [esp + 0x34]
mov al, byte [ebx + edx]
cmp al, 0xd
jne 0x45461f
push 0xd
lea ecx, [esp + 0x14]
call fcn.00596ed0
push 0xa
lea ecx, [esp + 0x14]
call fcn.00596ed0
push 0x6060e4
lea ecx, [esp + 0x14]
call fcn.00596eca
jmp 0x45465b
cmp al, 0x3e
jne 0x454651
push 0xd
lea ecx, [esp + 0x14]
call fcn.00596ed0
push 0xa
lea ecx, [esp + 0x14]
call fcn.00596ed0
push 0x6060e4
lea ecx, [esp + 0x14]
call fcn.00596eca
mov eax, dword [esp + 0x34]
mov cl, byte [ebx + eax]
push ecx
jmp 0x454652
push eax
lea ecx, [esp + 0x14]
call fcn.00596ed0
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 0x4545ee
push 0xd
lea ecx, [esp + 0x14]
call fcn.00596ed0
push 0xa
lea ecx, [esp + 0x14]
call fcn.00596ed0
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 0x4546d6
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