Function at 0x49da7f
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x3c
pop ebp
lea edi, [esi + 0x2800]
mov dword [esp + 0x1c], esi
mov eax, dword [edi + 4]
sub eax, dword [edi]
cdq
idiv ebp
mov dword [esp + 0x20], ebp
test eax, eax
je 0x49dcb1
movzx eax, byte [0x5f1fbf]
mov dword [esp + 0x18], 0xd8
sub eax, 0
je 0x49dbad
sub eax, 1
jne 0x49dc61
lea eax, [esi + 0xa4]
push eax
push edi
call fcn.0049d001
cmp byte [0x5f1fbd], 0
je 0x49daf6
push edi
mov ecx, esi
call fcn.0049cf59
mov ecx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.0049cb1a
mov eax, dword [edi + 4]
mov ebx, dword [edi]
sub eax, ebx
cdq
idiv ebp
and dword [esp + 0x14], 0
test eax, eax
je 0x49db81
xor ebp, ebp
lea ecx, [ebx + ebp]
and dword [esp + 0x10], 0
mov eax, dword [ecx + 0x34]
sub eax, dword [ecx + 0x30]
mov ecx, 0xd8
cdq
idiv ecx
test eax, eax
je 0x49db5f
mov ebx, dword [edi]
xor esi, esi
mov ecx, dword [ebx + ebp + 0x30]
push 0x55a96c
add ecx, esi
call fcn.0043c2b9
mov ebx, dword [edi]
add esi, 0xd8
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + ebp + 0x34]
sub eax, dword [ebx + ebp + 0x30]
cdq
idiv dword [esp + 0x18]
cmp ecx, eax
jb 0x49db29
mov esi, dword [esp + 0x1c]
push 0x3c
pop eax
add ebp, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x2804]
inc ecx
sub eax, ebx
mov dword [esp + 0x14], ecx
cdq
idiv dword [esp + 0x20]
cmp ecx, eax
jb 0x49db0b
push 0x3c
pop ebp
movsx eax, word [0x5f1fd8]
imul edx, eax, 0x3c
movsx eax, word [0x5f1fd4]
imul ecx, eax, 0xd8
push 0x55a7c4
add ecx, dword [edx + ebx + 0x30]
call fcn.0043c2b9
mov ecx, esi
call fcn.0049cb1a
mov eax, dword [edi + 4]
mov ebx, dword [edi]
sub eax, ebx
cdq
idiv ebp
and dword [esp + 0x10], 0
test eax, eax
je 0x49dc35
xor ebp, ebp
lea ecx, [ebx + ebp]
and dword [esp + 0x14], 0
mov eax, dword [ecx + 0x34]
sub eax, dword [ecx + 0x30]
mov ecx, 0xd8
cdq
idiv ecx
test eax, eax
je 0x49dc16
mov ebx, dword [edi]
xor esi, esi
mov ecx, dword [ebx + ebp + 0x30]
push 0x55a96c
add ecx, esi
call fcn.0043c2b9
mov ebx, dword [edi]
add esi, 0xd8
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + ebp + 0x34]
sub eax, dword [ebx + ebp + 0x30]
cdq
idiv dword [esp + 0x18]
cmp ecx, eax
jb 0x49dbe0
mov esi, dword [esp + 0x1c]
push 0x3c
pop eax
add ebp, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x2804]
inc ecx
sub eax, ebx
mov dword [esp + 0x10], ecx
cdq
idiv dword [esp + 0x20]
cmp ecx, eax
jb 0x49dbc2
movsx eax, word [0x5f1fd8]
imul edx, eax, 0x3c
movsx eax, word [0x5f1fd4]
imul ecx, eax, 0xd8
push 0x55a7c4
add ecx, dword [edx + ebx + 0x30]
call fcn.0043c2b9
mov ecx, esi
call fcn.0049cb1a
mov ax, word [0x5f1fd8]
test ax, ax
js 0x49dcb1
mov cx, word [0x5f1fd4]
test cx, cx
js 0x49dcb1
mov edx, dword [edi]
cwde
imul esi, eax, 0x3c
movsx eax, cx
imul ecx, eax, 0xd8
mov eax, dword [esi + edx + 0x30]
add eax, 0x18
add eax, ecx
cmp dword [eax + 0x14], 8
jb 0x49dc98
mov eax, dword [eax]
push eax
mov eax, dword [0x5f1f8c]
push 0
push 0xc
mov eax, dword [eax + 0xd0]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret