Function at 0x49ed30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff8b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x880
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov al, byte [edi + 0x49c]
test al, al
jne 0x49f0f7
mov eax, dword [edi + 0x454]
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
push 0x104
je 0x49edab
mov ecx, dword [edi + 0x44c]
lea eax, [ebp - 0x28c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x49f0f7
lea edx, [ebp - 0x28c]
lea ecx, [edi + 0x474]
push edx
call fcn.00402060
jmp 0x49edda
mov ecx, dword [edi + 0x44c]
lea eax, [ebp - 0x188]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x49f0f7
lea edx, [ebp - 0x188]
push esi
lea ecx, [edi + 0x474]
push edx
call fcn.00402980
xor ebx, ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [edi + 0x6c]
jge 0x49f0f7
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov word [ebp - 0x18], si
mov eax, dword [edi + 0x68]
lea ebx, [ebx + ebx*2]
shl ebx, 4
mov byte [ebp - 4], 1
mov eax, dword [ebx + eax + 8]
add eax, 0x54
mov ecx, dword [eax]
cmp ecx, esi
jne 0x49ee0f
lea ecx, [eax + 4]
lea edx, [ebp - 0x68c]
lea eax, [ebp - 0x48c]
push edx
push eax
lea edx, [ebp - 0x88c]
lea eax, [ebp - 0x6c]
push edx
push eax
push ecx
call fcn.005c8048
mov eax, dword [edi + 0x474]
add esp, 0x14
cmp eax, esi
jne 0x49ee41
lea eax, [edi + 0x478]
push eax
call fcn.005c7292
mov ecx, dword [edi + 0x474]
add esp, 4
cmp ecx, esi
jne 0x49ee5a
lea ecx, [edi + 0x478]
cmp word [ecx + eax*2 - 2], 0x5c
mov esi, 0x6d0abc
je 0x49ee6c
mov esi, 0x6a2080
mov eax, dword [edi + 0x474]
test eax, eax
jne 0x49ee7c
lea eax, [edi + 0x478]
mov ecx, str._s_s_s_s
test ecx, ecx
je 0x49f014
test eax, eax
je 0x49f014
test esi, esi
je 0x49f014
lea edx, [ebp - 0x48c]
test edx, edx
je 0x49f014
lea ecx, [ebp - 0x68c]
test ecx, ecx
je 0x49f014
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d7a0
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0040d7a0
lea edx, [ebp - 0x48c]
lea ecx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 3
call fcn.0040d7a0
lea eax, [ebp - 0x68c]
lea ecx, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 4
call fcn.0040d7a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00401070
push str._s_s_s_s
lea ecx, [ebp - 0x58]
call fcn.00401fd0
mov esi, dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [ebp - 0x64]
add edi, eax
call fcn.00402050
push eax
call fcn.005c7292
mov dword [ebp - 0x24], edi
mov edi, eax
add esp, 4
lea ecx, [ebp - 0x40]
add edi, esi
call fcn.00402050
push eax
call fcn.005c7292
mov ecx, dword [ebp - 0x24]
add edi, ecx
lea esi, [eax + edi + 5]
lea edi, [esi + esi]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x49efd5
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x4c]
call fcn.00402050
push eax
lea ecx, [ebp - 0x34]
call fcn.00402050
push eax
lea ecx, [ebp - 0x64]
call fcn.00402050
push eax
lea ecx, [ebp - 0x40]
call fcn.00402050
push eax
lea ecx, [ebp - 0x58]
call fcn.00402050
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005c7292
add esp, 0x20
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401070
mov edi, dword [ebp - 0x28]
mov edx, dword [edi + 0x68]
mov ecx, dword [edi + 0x60]
push 0
mov eax, dword [ebx + edx + 0x18]
lea edx, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [0x6d0fe0]
push edx
call fcn.0047ed70
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x49f03b
lea eax, [ebp - 0x18]
push eax
mov eax, dword [edi + 0x68]
mov ecx, dword [ebx + eax + 8]
call fcn.00593720
mov ecx, dword [edi + 0x68]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebx + ecx + 8]
lea ecx, [ebp - 0x84]
push ecx
push 0xffffffffffffffff
mov byte [edx + 0x17c], 1
mov edx, dword [edi + 0x42c]
push 0x100d
push edx
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x7c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
jl 0x49f0d5
mov eax, dword [0x6d1170]
test eax, eax
je 0x49f0b8
mov eax, dword [0x6d0fe8]
test eax, eax
mov ecx, eax
jne 0x49f0a0
mov ecx, 0x6d0fec
mov eax, dword [0x6d0ff8]
test eax, eax
jne 0x49f0ae
mov eax, 0x6d0ffc
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043a470
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x49f0c2
lea eax, [ebp - 0x18]
push eax
mov eax, dword [edi + 0x42c]
push esi
push 4
push eax
call fcn.0044a3a0
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00401070
mov eax, dword [ebp - 0x20]
inc eax
xor esi, esi
mov dword [ebp - 0x20], eax
mov ebx, eax
jmp 0x49eddf
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret