Function at 0x4d0c50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b72b
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x5b7de4]
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 dword [ebp - 0x148], edi
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00530cf0
add esp, 0xc
lea eax, [ebp - 0x110]
push 0xff
push eax
push dword [edi + 0x140]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [edi + 0x164]
lea esi, [edi + 0x164]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x14c], esi
mov dword [esi + 4], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d0cf0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.0040a4a0
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00463300
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x150], eax
add esp, 8
cmp ecx, eax
je 0x4d0d6c
call fcn.00408f00
mov eax, dword [ebp - 0x150]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x4d0da6
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d0d9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d0f94
push edx
push ecx
call fcn.005189ee
add esp, 8
mov eax, dword [edi + 0x160]
mov dword [ebp - 0x144], 0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4d0f1a
mov esi, dword [ebp - 0x144]
mov dword [ebp - 0x150], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x128]
push esi
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
test eax, eax
je 0x4d0ee3
cmp dword [edi + 0x134], 0
mov edx, dword [ebp - 0x14c]
jl 0x4d0ebe
mov eax, dword [edx + 4]
xor edi, edi
mov esi, eax
sub esi, dword [edx]
sar esi, 2
sub esi, 1
js 0x4d0e86
nop
mov eax, dword [edx]
lea ecx, [edi + esi]
mov edx, dword [ebp - 0x148]
sar ecx, 1
mov dword [ebp - 0x154], ecx
mov ecx, dword [ebp - 0x148]
mov edx, dword [edx]
push dword [ecx + 0x138]
push dword [ecx + 0x134]
mov ecx, dword [ebp - 0x154]
push dword [ebp - 0x150]
push dword [eax + ecx*4]
mov ecx, dword [ebp - 0x148]
mov eax, dword [edx + 0x28]
call eax
test eax, eax
je 0x4d0e6e
mov edi, dword [ebp - 0x154]
inc edi
jmp 0x4d0e75
mov esi, dword [ebp - 0x154]
dec esi
mov edx, dword [ebp - 0x14c]
cmp esi, edi
jge 0x4d0e20
test edi, edi
js 0x4d0eb2
mov eax, dword [edx + 4]
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4d0eb2
lea eax, [ecx + edi*4]
lea ecx, [ebp - 0x144]
push ecx
push eax
lea eax, [ebp - 0x158]
mov ecx, edx
push eax
call fcn.00464d50
mov edi, dword [ebp - 0x148]
jmp 0x4d0edd
mov esi, dword [ebp - 0x144]
mov edi, dword [ebp - 0x148]
mov eax, dword [edx + 4]
cmp dword [edx + 8], eax
je 0x4d0ece
mov dword [eax], esi
add dword [edx + 4], 4
jmp 0x4d0ee3
lea ecx, [ebp - 0x144]
push ecx
push eax
mov ecx, edx
call fcn.0040aeb0
mov esi, dword [ebp - 0x144]
mov eax, dword [edi + 0x160]
inc esi
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x150], esi
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4d0de2
mov esi, dword [ebp - 0x14c]
mov eax, dword [esi + 4]
sub eax, dword [esi]
push 0
sar eax, 2
push eax
push 0x102f
push dword [edi + 0x120]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x4d0f79
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d0f6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d0f99
push edx
push ecx
call fcn.005189ee
add esp, 8
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.005189ad
mov esp, ebp
pop ebp
ret
call fcn.00545078
call fcn.00545078
int3