Function at 0x4cab50
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c035a
push eax
mov dword fs:[0], esp
sub esp, 0x270
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov edi, ecx
or ebx, 0xffffffff
push 2
mov eax, dword [edi + 0x1478]
push ebx
push 0x100c
push eax
call esi
mov ebp, eax
cmp ebp, ebx
je 0x4cae8a
mov al, byte [0x647939]
test al, al
jne 0x4cae8a
cmp dword [0x64a178], 1
jne 0x4cacbf
mov ecx, dword [0x646560]
push 0
push 0
push 0xf0
push ecx
call esi
test eax, eax
je 0x4cacbf
call fcn.00488340
push 0
lea ecx, [esp + 0x24]
call fcn.00484540
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x288], eax
mov dword [esp + 0x7c], eax
call fcn.0058d8be
cmp eax, 1
je 0x4cac5c
lea ecx, [esp + 0x134]
mov dword [esp + 0x288], 4
call fcn.0058f317
lea ecx, [esp + 0xf8]
mov byte [esp + 0x288], 3
call fcn.0058f317
lea ecx, [esp + 0xbc]
mov byte [esp + 0x288], 2
call fcn.0059b2cb
lea ecx, [esp + 0x80]
mov byte [esp + 0x288], 1
call fcn.0059af23
lea ecx, [esp + 0x20]
mov dword [esp + 0x288], ebx
call fcn.0058d404
jmp 0x4cae8a
lea ecx, [esp + 0x134]
mov dword [esp + 0x288], 8
call fcn.0058f317
lea ecx, [esp + 0xf8]
mov byte [esp + 0x288], 7
call fcn.0058f317
lea ecx, [esp + 0xbc]
mov byte [esp + 0x288], 6
call fcn.0059b2cb
lea ecx, [esp + 0x80]
mov byte [esp + 0x288], 5
call fcn.0059af23
lea ecx, [esp + 0x20]
mov dword [esp + 0x288], ebx
call fcn.0058d404
push 1
lea edx, [esp + 0x20]
push ebp
push edx
lea ecx, [edi + 0x145c]
call fcn.00589ec4
push eax
mov ecx, 0x64793c
mov dword [esp + 0x28c], 9
call fcn.0058e078
lea ecx, [esp + 0x1c]
mov dword [esp + 0x288], ebx
call fcn.0058df3f
mov eax, dword [0x64a740]
lea ecx, [esp + 0x170]
push eax
call fcn.00557aba
mov eax, dword [0x63b4a0]
mov ebx, 0xa
mov dword [esp + 0x288], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov ecx, dword [0x64793c]
lea edx, [esp + 0x10]
push ecx
push str.select__from_MobileMsg_where_ID_s
push edx
mov byte [esp + 0x294], 0xd
call fcn.00588507
add esp, 0xc
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x10]
push 0
push eax
push 0
lea ecx, [esp + 0x17c]
call fcn.00557dcf
lea ecx, [esp + 0x14]
push ecx
push str.RECVNUMBER
lea ecx, [esp + 0x178]
call fcn.0055891c
lea edx, [esp + 0x18]
lea ecx, [esp + 0x170]
push edx
push str.MSGINFO
call fcn.0055891c
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x64a744]
push 0
push 0
push 0xf0
mov ecx, dword [eax + 0x50c]
push ecx
call esi
test eax, eax
je 0x4cadc1
push 0x645010
jmp 0x4cadc6
mov edx, dword [esp + 0x14]
push edx
mov ecx, 0x647ab4
call fcn.00592059
mov eax, dword [esp + 0x18]
mov ecx, 0x647a3c
push eax
call fcn.00592059
mov ecx, dword [edi + 0x548]
push 0
push 0
push 0xf0
push ecx
call esi
test eax, eax
sete dl
mov byte [0x647938], dl
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0058ec41
push eax
mov ecx, 0x6478d8
call fcn.0059129d
push 5
mov ecx, 0x6478d8
call fcn.0059219e
mov eax, dword [0x6478f4]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 0x6478d8
call fcn.004fe7b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0xc
call fcn.0058df3f
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 0xb
call fcn.0058df3f
lea ecx, [esp + 0x10]
mov byte [esp + 0x288], bl
call fcn.0058df3f
lea ecx, [esp + 0x170]
mov dword [esp + 0x288], 0xffffffff
call fcn.00557cc6
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x27c
ret