Function at 0x4ea9b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x14
mov eax, dword [0x547570]
push ebx
mov dword [esp + 4], eax
push ebp
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
mov dword [esp + 0xc], ecx
push esi
cmp edx, 1
push edi
mov ecx, 0x400
jg 0x4ea9d9
cmp dword [eax - 4], ecx
jge 0x4eaa1a
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x4ea9e2
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4eaa1a
mov edi, dword [esp + 0x10]
lea ecx, [ebp + ebp + 2]
mov eax, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0x400
push eax
mov eax, dword [edx + 0x264]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
call fcn.004055c0
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
jle 0x4eabb0
mov eax, dword [0x547570]
push ecx
mov edi, esp
mov ecx, str.Auto_Suggest_Dropdown
test ecx, ecx
mov dword [edi], eax
je 0x4eaac1
mov edx, ecx
shr edx, 0x10
jne 0x4eaa90
xor eax, eax
mov ax, cx
mov ecx, edi
push eax
call fcn.00413ae0
jmp 0x4eaac1
push str.Auto_Suggest_Dropdown
call ebx
mov esi, eax
test esi, esi
je 0x4eaac1
push esi
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x4eaac1
mov edi, dword [edi]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, str.Auto_Suggest_Dropdown
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00465180
mov esi, eax
add esp, 4
test esi, esi
jne 0x4eab33
mov eax, dword [0x547570]
push ecx
mov edi, esp
mov ecx, str.ListBox
test ecx, ecx
mov dword [edi], eax
je 0x4eab29
mov edx, ecx
shr edx, 0x10
jne 0x4eaaf8
xor eax, eax
mov ax, cx
mov ecx, edi
push eax
call fcn.00413ae0
jmp 0x4eab29
push str.ListBox
call ebx
mov esi, eax
test esi, esi
je 0x4eab29
push esi
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x4eab29
mov edi, dword [edi]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, str.ListBox
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00465180
add esp, 4
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4eabb0
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4eabb0
push 0
push 0x549974
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ecx, dword [0x547570]
push 0
push 0
push 0x1042
push eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jl 0x4eaba7
mov eax, dword [0x55f1e8]
xor esi, esi
test eax, eax
jle 0x4eaba7
mov edx, dword [0x55f1e0]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [edx + esi*4]
push eax
call fcn.005322f9
add esp, 8
test eax, eax
je 0x4eabc3
mov eax, dword [0x55f1e8]
inc esi
cmp esi, eax
jl 0x4eab82
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp esi, 0xffffffff
je 0x4eaba7
mov edi, dword [esp + 0x14]
push edi
call fcn.004d9ad0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4eacdd
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp edx, 1
mov dword [esp + 0x20], esi
jg 0x4eabfb
mov edx, dword [eax - 4]
test edx, edx
jge 0x4eac44
mov ebp, dword [eax - 8]
test ebp, ebp
jle 0x4eac04
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4eac40
mov edi, dword [esp + 0x10]
lea ecx, [ebp + ebp + 2]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push ecx
mov dword [eax - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4eac92
push eax
lea ecx, [esp + 0x18]
call fcn.00412590
mov ecx, dword [ebx + 0x24]
lea edx, [esp + 0x14]
push edx
call fcn.00516ca0
cmp eax, 0xffffffff
je 0x4eac89
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
push eax
call fcn.00405440
mov ecx, dword [ebx + 0x24]
call fcn.004bec10
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0x20]
call fcn.004f20f0
lea ecx, [esp + 0x14]
call fcn.00405700
mov ecx, ebx
call fcn.004be850
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4eacb6
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
test eax, eax
je 0x4eacb6
call fcn.004bee40
mov dword [ebx + 0x14], 0
mov edx, dword [edi + 0x264]
push 0x554e08
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi + 0x264]
push str.www._s.com
push 0x21
push eax
mov ecx, ebx
call fcn.004d9cf0
lea ecx, [esp + 0x18]
push 0x12d
push ecx
call fcn.004bd990
add esp, 8
lea ecx, [esp + 0x18]
push 0x554e08
push 0x548a4c
call fcn.00413840
mov edx, dword [0x547570]
mov eax, 0x549328
test eax, eax
mov dword [esp + 0x14], edx
je 0x4ead4f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x4ead4f
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x4ead4f
mov ecx, dword [esp + 0x14]
inc esi
push esi
push 0x549328
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00412c10
push eax
lea ecx, [esp + 0x1c]
call fcn.00413070
lea ecx, [esp + 0x20]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
push 0x5dc
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
push edx
call fcn.00405440
mov ecx, edi
call fcn.004ea6e0
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret