Function at 0x4e1634
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x5401e8
call fcn.004eec88
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 0x4e185e
lea eax, [esi + 8]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x24], eax
call fcn.00509d05
and dword [ebp - 4], 0
push 0x585318
lea ecx, [ebp - 0x14]
call fcn.00505b83
cmp eax, 0xffffffff
jle 0x4e1781
push 3
push 0x2c
lea ecx, [ebp - 0x14]
call fcn.0050a465
mov edi, eax
lea ecx, [ebp - 0x14]
lea eax, [edi - 4]
push eax
lea eax, [ebp - 0x10]
push 4
push eax
call fcn.005059d7
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004efbb8
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.0050a465
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.005059d7
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0050a0c9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00509f90
push dword [ebp - 0x10]
call fcn.004efbb8
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.0050a465
sub eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
dec eax
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.005059d7
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0050a0c9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00509f90
push dword [ebp - 0x10]
call fcn.004efbb8
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.00509f90
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4e178d
push dword [ebp - 0x14]
call fcn.004efb2d
pop ecx
mov dword [ebp - 0x20], eax
push 0
push 2
push dword [ebp - 0x20]
lea ecx, [ebp - 0xa8]
call fcn.00506a1b
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.00506aab
cmp eax, 1
jne 0x4e183e
mov eax, dword [ebp - 0x40]
mov ecx, dword [0x5927d4]
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.00505f09
add esp, 0x14
lea eax, [ebp - 0x10]
lea ecx, [esi + 0xc]
push eax
call fcn.0050a0c9
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push 0x583b48
push eax
call fcn.00505f09
mov ecx, dword [ebp - 0x24]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.0050a0c9
push 0
push 0
push 0x188
push dword [ebx + 0x1c]
call edi
push eax
mov ecx, ebx
call fcn.004e1078
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00509f90
and byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.0050ec64
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00509f90
jmp 0x4e1a73
cmp eax, 5
jne 0x4e19e2
mov eax, dword [0x5927d4]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x18]
lea ecx, [ebp - 0x20]
push eax
mov dword [ebp - 4], 6
call fcn.00509d05
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.00506452
push dword [ebp - 0x24]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00509d05
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x328], 0x592768
mov byte [ebp - 4], 9
cmp dword [eax - 8], 0
jle 0x4e18fc
mov eax, dword [eax - 8]
push 0x5c
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.00505b61
mov ecx, dword [ebp - 0x18]
sub ecx, eax
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00505ae9
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x32c], eax
call fcn.00509f90
lea ecx, [ebp - 0x3b4]
call fcn.005065b4
cmp eax, 1
jne 0x4e19a0
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x3b4]
push eax
call fcn.0050668f
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.0050a0c9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00509f90
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
call fcn.0050a0c9
push dword [ebp - 0x24]
lea ecx, [esi + 0xc]
mov dword [ebp - 0x18], ecx
call fcn.0050a0c9
lea esi, [ebx + 0xbc]
test esi, esi
je 0x4e198a
cmp dword [esi + 0x1c], 0
je 0x4e198a
mov eax, dword [ebp - 0x18]
mov ecx, esi
push dword [eax]
call fcn.0050e326
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.004e1078
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00509f90
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0xb
call fcn.00509f90
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 7
call fcn.0050ec64
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00509f90
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
jmp 0x4e1854
cmp eax, 4
jne 0x4e1a73
push ebx
push 0
push 0x101
push 0
lea ecx, [ebp - 0x1bc]
call fcn.0050689f
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 4], 0xc
call fcn.00506997
cmp eax, 1
jne 0x4e1a64
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x1bc]
push eax
call fcn.004e28b9
lea eax, [ebp - 0x1c]
lea ecx, [esi + 8]
push eax
mov byte [ebp - 4], 0xd
call fcn.0050a0c9
lea eax, [esi + 8]
lea ecx, [esi + 0xc]
push eax
call fcn.0050a0c9
push 0
push 0
push 0x188
push dword [ebx + 0x1c]
call edi
push eax
mov ecx, ebx
call fcn.004e1078
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00509f90
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1bc]
call fcn.0050ec64
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret