Function at 0x4eadc0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x264]
test eax, eax
jne 0x4eade3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov eax, dword [0x547570]
mov ecx, 0x400
mov dword [esp + 0x10], eax
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x4eae01
cmp dword [eax - 4], ecx
jge 0x4eae46
mov ebx, dword [eax - 8]
cmp ebx, ecx
jle 0x4eae0a
mov ecx, ebx
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4eae46
mov edi, dword [esp + 0x10]
lea ecx, [ebx + ebx + 2]
mov eax, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], ebx
call fcn.00405590
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x264]
push 0x400
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
call fcn.004055c0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov word [edx + eax*2], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4eb083
push edi
call fcn.004d9ad0
mov esi, eax
add esp, 4
test esi, esi
je 0x4eaf7e
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 1
jle 0x4eaf7e
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004be6e0
test eax, eax
je 0x4eaf7e
push 0
call fcn.00533a71
add esp, 4
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
push edx
call fcn.00405440
mov ecx, dword [esi + 0x24]
call fcn.0052a1e0
mov ecx, esi
call fcn.004be850
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4eaf09
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
test eax, eax
je 0x4eaf09
call fcn.004bee40
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x14]
mov ebx, dword [edi + 0x264]
test eax, eax
jne 0x4eaf7e
mov eax, dword [esi + 8]
lea edi, [esi + 8]
test eax, eax
jne 0x4eaf7a
push 0x17
push 0
push 0x5432a4
mov ecx, edi
call fcn.004bedf0
test eax, eax
jl 0x4eaf7a
mov ecx, dword [edi]
push ecx
lea ecx, [esp + 0x20]
call fcn.004bee10
mov eax, dword [esp + 0x1c]
push 0x21
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x1c]
call fcn.004bee40
lea ecx, [esp + 0x1c]
call fcn.00514790
mov edi, dword [edi]
push str.www._s.com
push 0
push esi
mov eax, dword [edi]
push ebx
push edi
call dword [eax + 0xc]
test eax, eax
jl 0x4eaf7a
mov dword [esi + 0x14], 1
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x208]
test eax, eax
je 0x4eb067
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ecx
mov edx, dword [eax - 0xc]
mov ecx, esp
test edx, edx
jl 0x4eafae
mov dword [ecx], eax
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
push ecx
call ebx
jmp 0x4eafc0
mov edx, dword [0x547570]
mov dword [ecx], edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00405920
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.004eb0e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
je 0x4eb01a
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4eafec
mov edx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4eaff3
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4eb003
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x4eb01a
lea ecx, [esp + 0x10]
call fcn.004124c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call ebx
lea eax, [esp + 0x10]
lea ecx, [edi + 0x21c]
push eax
call fcn.00412800
mov ecx, edi
call fcn.004e50e0
mov ecx, dword [edi + 0xf0]
test ecx, ecx
je 0x4eb040
call fcn.0049fd50
test esi, esi
je 0x4eb05c
mov ecx, dword [edi + 0x270]
mov esi, dword [sym.imp.USER32.dll_SetFocus]
push ecx
call esi
mov edx, dword [edi + 0x264]
push edx
call esi
lea ecx, [esp + 0x1c]
call fcn.00405700
jmp 0x4eb097
test esi, esi
je 0x4eb083
mov eax, dword [edi + 0x270]
mov esi, dword [sym.imp.USER32.dll_SetFocus]
push eax
call esi
mov ecx, dword [edi + 0x264]
push ecx
call esi
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
push edx
call fcn.00405440
mov ecx, edi
call fcn.004eb280
lea ecx, [esp + 0x10]
call fcn.00405700
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4