Function at 0x4ab850
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e430
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x546330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x5c]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x4ab88d
xor eax, eax
jmp 0x4aba46
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x14], 0
jne 0x4ab89d
xor eax, eax
jmp 0x4aba46
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
shl eax, 1
call fcn.004bde60
mov dword [ebp - 0x6c], esp
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0
jne 0x4ab8d0
xor eax, eax
jmp 0x4aba46
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx + 0x14]
call fcn.004ab6d0
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x28]
call fcn.00405160
mov dword [ebp - 4], 0
push 0
push 0xa
lea ecx, [ebp - 0x28]
call fcn.0046e370
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffff
je 0x4ab99a
mov eax, dword [ebp - 0x68]
push eax
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00405750
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x74]
call fcn.00405080
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x14]
mov edx, dword [eax + 0x19c]
call edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004050b0
mov eax, dword [ebp - 0x68]
push eax
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00405750
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.00405080
push eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x58]
call fcn.004050b0
jmp 0x4aba04
lea ecx, [ebp - 0x28]
call fcn.00405080
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x5c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x14]
mov eax, dword [edx + 0x19c]
call eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 0x5c]
cmp eax, dword [ecx + 4]
jne 0x4aba04
push 0
push 0
push 0xb0
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xf
mov ecx, dword [ebp - 0x60]
sub ecx, 1
cmp eax, ecx
je 0x4aba04
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x60]
push eax
push 0xb1
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0
push str.textchanged
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x5c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x14]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.00427040
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004050b0
mov eax, dword [ebp - 0x80]
lea esp, [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd6ac
mov esp, ebp
pop ebp
ret 0x10