Function at 0x13004e50
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x13042bda
call fcn.130251dc
sub esp, 0x8c
mov ecx, dword [ebp + 0x14]
and byte [ebp - 0xd], 0
push ebx
push esi
push edi
call fcn.13003360
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x130050cb
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x130050cb
push dword [ebp + 0xc]
call fcn.130044b2
mov esi, eax
pop ecx
cmp esi, ebx
je 0x130050cb
cmp dword [esi + 0x104], ebx
jne 0x13005025
mov eax, dword [0x1305ad40]
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x114]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x13004f37
lea ecx, [eax + 8]
call fcn.130085ea
test eax, eax
je 0x13004efb
mov ecx, dword [esi + 0x114]
add ecx, 8
call fcn.130085ea
cmp byte [eax], bl
je 0x13004efb
mov ecx, dword [esi + 0x114]
add ecx, 8
call fcn.130085ea
push eax
lea ecx, [ebp + 0xc]
call fcn.1303972d
mov ecx, dword [esi + 0x114]
add ecx, 0xc
call fcn.130085ea
test eax, eax
je 0x13004f37
mov ecx, dword [esi + 0x114]
add ecx, 0xc
call fcn.130085ea
cmp byte [eax], 0
je 0x13004f37
mov ecx, dword [esi + 0x114]
add ecx, 0xc
call fcn.130085ea
push eax
lea ecx, [ebp - 0x14]
call fcn.1303972d
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [eax - 8], ebx
jne 0x13004f74
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x13004f74
push ebx
push ebx
push 0xe
push eax
call edi
mov ebx, eax
lea ecx, [ebp + 0xc]
inc ebx
push ebx
call fcn.130399bf
push eax
push ebx
push 0xd
push dword [esi + 8]
call edi
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.13039a0e
xor ebx, ebx
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jne 0x13004fc4
cmp esi, dword [ebp + 8]
jne 0x13004fc4
lea eax, [ebp - 0x98]
push eax
push 0x80
push 0xd
push dword [esi]
call edi
and byte [ebp + eax - 0x98], 0
lea eax, [ebp - 0x98]
push str.___Netscape
push eax
call fcn.13025570
pop ecx
cmp eax, ebx
pop ecx
je 0x13004fc4
and byte [eax], 0
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x14]
call fcn.1303972d
mov eax, dword [ebp + 0xc]
cmp dword [eax - 8], ebx
je 0x13005002
push 0x2850
call fcn.13039b3e
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x13004ff6
push dword [esi + 4]
mov ecx, eax
push dword [esi]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call fcn.130031d7
jmp 0x13004ff8
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x104], eax
push ebx
push dword [esi + 4]
call fcn.13001f4a
and byte [ebp - 4], 0
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call fcn.130395f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.130395f0
cmp byte [ebp + 0x10], 0
je 0x130050cb
mov eax, dword [esi + 0x104]
cmp eax, ebx
je 0x130050cb
mov edi, dword [ebp + 8]
push dword [eax + 0x283c]
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
call dword [edx + 0x1c]
cmp byte [ebp + 0x1c], 0
je 0x130050b8
mov eax, dword [ebp + 0x20]
xor edx, edx
cmp dword [eax], esi
sete dl
cmp edx, ebx
je 0x1300506b
inc dword [esi + 0x110]
mov eax, dword [esi + 0x114]
cmp eax, ebx
je 0x130050b8
cmp byte [eax + 0x2d], 0
je 0x130050b8
push ebx
xor ebx, ebx
cmp dword [ebp + 8], esi
push dword [esi]
mov eax, dword [esi + 0x104]
mov ecx, dword [edi + 0x108]
setne bl
push ebx
mov edi, dword [ecx]
push 1
push edx
push 1
push 0
push dword [eax + 0x2840]
push dword [eax + 0x283c]
call dword [edi + 0x4c]
mov eax, dword [esi + 0x114]
mov edi, dword [ebp + 8]
and byte [eax + 0x2d], 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push edi
call fcn.1300535e
add esp, 0x10
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret