Function at 0x4d8100
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c50b
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x5d3070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push dword [edi + 4]
mov dword [ebp - 0x834], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x830], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x4d8408
lea eax, [ebp - 0x820]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x820], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.005481a0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x400
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4d81b3
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x204]
call eax
push eax
jmp 0x4d81b5
push 0x11
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
call esi
xor ecx, ecx
mov dword [ebp - 0x82c], eax
mov eax, dword [edi + 0xa4]
mov dword [ebp - 0x824], 2
lea edx, [ecx + 1]
test al, 4
je 0x4d81e4
mov dword [ebp - 0x828], edx
jmp 0x4d81f3
test al, 2
cmovne ecx, dword [ebp - 0x824]
mov dword [ebp - 0x828], ecx
test al, 0x20
je 0x4d8203
mov dword [ebp - 0x824], 0
jmp 0x4d8212
test al, 0x40
cmovne edx, dword [ebp - 0x824]
mov dword [ebp - 0x824], edx
movups xmm0, xmmword [ebp - 0x820]
mov ecx, dword [edi + 0xa8]
movups xmmword [ebp - 0x85c], xmm0
test ecx, ecx
je 0x4d8262
mov eax, dword [ebp - 0x820]
add eax, ecx
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp - 0x81c]
add eax, ecx
mov dword [ebp - 0x858], eax
mov eax, dword [ebp - 0x818]
sub eax, ecx
mov dword [ebp - 0x854], eax
mov eax, dword [ebp - 0x814]
sub eax, ecx
mov dword [ebp - 0x850], eax
xor eax, eax
mov dword [ebp - 0x838], 7
mov dword [ebp - 0x83c], 0
mov word [ebp - 0x84c], ax
cmp word [ebp - 0x810], ax
jne 0x4d828c
xor ecx, ecx
jmp 0x4d82a4
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d8295
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x84c]
call fcn.00402b20
lea eax, [ebp - 0x84c]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x824]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x828]
push dword [ebp - 0x82c]
mov eax, dword [eax + 0x200]
call eax
mov edx, dword [ebp - 0x834]
mov ecx, dword [ebp - 0x830]
push eax
lea eax, [ebp - 0x85c]
push eax
call fcn.004eb3d0
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov eax, dword [ebp - 0x838]
cmp eax, 8
jb 0x4d8323
push 2
inc eax
push eax
push dword [ebp - 0x84c]
call fcn.00403190
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x838], 7
cmp dword [edi + 0xa0], 1
mov dword [ebp - 0x83c], 0
mov word [ebp - 0x84c], ax
jne 0x4d8370
dec dword [ebp - 0x818]
dec dword [ebp - 0x814]
push 1
push 6
call esi
mov ecx, dword [ebp - 0x830]
lea edx, [ebp - 0x820]
push eax
call fcn.004ead60
add esp, 8
cmp dword [edi + 0x98], 0xd
jne 0x4d8408
mov esi, dword [0x5dc0d8]
mov ecx, edi
push 0xd
call fcn.004d6860
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [0x5dc0d8]
mov dword [ebp - 0x834], eax
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x81c]
test dword [0x5daa98], 0x400000
mov dword [ebp - 0x828], eax
mov eax, dword [ebp - 0x818]
mov dword [ebp - 0x82c], eax
je 0x4d83ef
push 0xd
mov ecx, edi
call fcn.004d6860
mov esi, eax
mov eax, dword [ebp - 0x834]
cdq
neg esi
sub eax, edx
sar eax, 1
sub esi, eax
mov eax, dword [ebp - 0x82c]
add eax, esi
xor ecx, ecx
push 0x10
push eax
push dword [ebp - 0x828]
mov edx, ecx
mov ecx, dword [ebp - 0x830]
call fcn.004eae30
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053f778
mov esp, ebp
pop ebp
ret 8