Function at 0x4ea2fa
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x54a808
call fcn.004f8378
sub esp, 0x3a8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x13c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x199
push dword [ebx + 0x1c]
call edi
mov esi, eax
mov eax, dword [esi + 0x14]
cmp eax, 3
jne 0x4ea524
lea eax, [esi + 8]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x24], eax
call fcn.005134a5
and dword [ebp - 4], 0
push 0x592388
lea ecx, [ebp - 0x14]
call fcn.0050f303
cmp eax, 0xffffffff
jle 0x4ea447
push 3
push 0x2c
lea ecx, [ebp - 0x14]
call fcn.00513c05
mov edi, eax
lea ecx, [ebp - 0x14]
lea eax, [edi - 4]
push eax
lea eax, [ebp - 0x10]
push 4
push eax
call fcn.0050f157
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004f9368
mov dword [ebp - 0x18], eax
pop ecx
lea eax, [edi + 1]
lea ecx, [ebp - 0x14]
push eax
push 0x2c
mov dword [ebp - 0x1c], eax
call fcn.00513c05
mov dword [ebp - 0x20], eax
sub eax, edi
dec eax
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push dword [ebp - 0x1c]
push eax
call fcn.0050f157
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00513869
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00513730
push dword [ebp - 0x10]
call fcn.004f9368
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
pop ecx
lea edi, [eax + 1]
lea ecx, [ebp - 0x14]
push edi
push 0x29
call fcn.00513c05
sub eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
dec eax
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0050f157
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00513869
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00513730
push dword [ebp - 0x10]
call fcn.004f9368
pop ecx
and byte [ebp - 4], 0
xor ecx, ecx
mov ch, al
mov cl, byte [ebp - 0x28]
movzx eax, byte [ebp - 0x18]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x10]
call fcn.00513730
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4ea453
push dword [ebp - 0x14]
call fcn.004f92dd
pop ecx
mov dword [ebp - 0x20], eax
push 0
push 2
push dword [ebp - 0x20]
lea ecx, [ebp - 0xa8]
call fcn.0051017f
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.0051022b
cmp eax, 1
jne 0x4ea504
mov eax, dword [ebp - 0x40]
mov ecx, dword [0x59fe84]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
mov ecx, eax
mov byte [ebp - 4], 5
shr ecx, 0x10
movzx ecx, cl
push ecx
xor ecx, ecx
mov cl, ah
movzx ecx, cl
movzx eax, al
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d__d__d_
push eax
call fcn.0050f689
add esp, 0x14
lea eax, [ebp - 0x10]
lea ecx, [esi + 0xc]
push eax
call fcn.00513869
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push 0x590b60
push eax
call fcn.0050f689
mov ecx, dword [ebp - 0x24]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.00513869
push 0
push 0
push 0x188
push dword [ebx + 0x1c]
call edi
push eax
mov ecx, ebx
call fcn.004e9d46
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00513730
and byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.00518406
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00513730
jmp 0x4ea739
cmp eax, 5
jne 0x4ea6a8
mov eax, dword [0x59fe84]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x18]
lea ecx, [ebp - 0x20]
push eax
mov dword [ebp - 4], 6
call fcn.005134a5
push ebx
lea eax, [esi + 8]
push dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [eax]
lea ecx, [ebp - 0x3b4]
push 4
push eax
push 0
push 0
mov byte [ebp - 4], 7
call fcn.0050fbd2
push dword [ebp - 0x24]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.005134a5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x328], 0x59fe08
mov byte [ebp - 4], 9
cmp dword [eax - 8], 0
jle 0x4ea5c2
mov eax, dword [eax - 8]
push 0x5c
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.0050f2e1
mov ecx, dword [ebp - 0x18]
sub ecx, eax
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0050f269
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x32c], eax
call fcn.00513730
lea ecx, [ebp - 0x3b4]
call fcn.0050fd34
cmp eax, 1
jne 0x4ea666
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x3b4]
push eax
call fcn.0050fe0f
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.00513869
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00513730
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
call fcn.00513869
push dword [ebp - 0x24]
lea ecx, [esi + 0xc]
mov dword [ebp - 0x18], ecx
call fcn.00513869
lea esi, [ebx + 0xbc]
test esi, esi
je 0x4ea650
cmp dword [esi + 0x1c], 0
je 0x4ea650
mov eax, dword [ebp - 0x18]
mov ecx, esi
push dword [eax]
call fcn.00517acb
push 0xffffffffffffffff
push 0
push 0xb1
push dword [esi + 0x1c]
call edi
push 0
push 0
push 0xb7
push dword [esi + 0x1c]
call edi
push 0
push 0
push 0x188
push dword [ebx + 0x1c]
call edi
push eax
mov ecx, ebx
call fcn.004e9d46
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00513730
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0xb
call fcn.00513730
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 7
call fcn.00518406
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00513730
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
jmp 0x4ea51a
cmp eax, 4
jne 0x4ea739
push ebx
push 0
push 0x101
push 0
lea ecx, [ebp - 0x1bc]
call fcn.0051001f
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 4], 0xc
call fcn.005100fb
cmp eax, 1
jne 0x4ea72a
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x1bc]
push eax
call fcn.004eb651
lea eax, [ebp - 0x1c]
lea ecx, [esi + 8]
push eax
mov byte [ebp - 4], 0xd
call fcn.00513869
lea eax, [esi + 8]
lea ecx, [esi + 0xc]
push eax
call fcn.00513869
push 0
push 0
push 0x188
push dword [ebx + 0x1c]
call edi
push eax
mov ecx, ebx
call fcn.004e9d46
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00513730
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1bc]
call fcn.00518406
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret