Function at 0x50ce80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6067d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x3010
call fcn.005c4f90
mov eax, dword [0x6ca27c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7f0]
mov byte [ebp - 4], 1
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x7c]
push 0x7cf
test eax, eax
je 0x50cf1b
mov edx, dword [ebx + 0x78]
lea ecx, [ebp - 0x3020]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x50cf44
lea eax, [ebp - 0x7f0]
push 0x7d0
lea ecx, [ebp - 0x3020]
push eax
push ecx
call fcn.00404c20
add esp, 0xc
lea edx, [ebp - 0x7f0]
lea eax, [ebp - 0x14]
push edx
push 0x69ffbc
push eax
jmp 0x50cf3c
mov edx, dword [ebx + 0x78]
lea ecx, [ebp - 0x7f0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7f0]
lea ecx, [ebp - 0x14]
push eax
push 0x69ffbc
push ecx
call fcn.005d9fbb
add esp, 0xc
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x50cf70
mov edx, dword [0x6cf96c]
mov eax, dword [0x6cf968]
push 0x40
push edx
push eax
mov ecx, ebx
call fcn.005df1e7
jmp 0x50d2cb
mov ecx, dword [0x6ca27c]
mov dword [ebp - 0x18], ecx
lea esi, [ebx + 0x64]
lea eax, [ebp - 0x18]
push esi
push eax
push edx
mov byte [ebp - 4], 2
call fcn.0050cdb0
add esp, 0xc
test al, al
jne 0x50cfda
mov ecx, dword [0x6ca27c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x6cfa88]
push edx
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov byte [ebp - 4], 3
call fcn.005d9fbb
mov edx, dword [0x6cf964]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, ebx
push 0x40
push edx
push eax
call fcn.005df1e7
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.005e118c
jmp 0x50d2bf
lea ecx, [ebp - 0x2080]
call fcn.00524320
mov esi, dword [esi]
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7f0]
rep stosd dword es:[edi], eax
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 4
cmp ecx, 0x7d0
jb 0x50d013
mov ecx, 0x7cf
jmp 0x50d01f
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
lea edi, [ebp - 0x7f0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0
and ecx, 3
lea eax, [ebp - 0x7f0]
rep movsb byte es:[edi], byte [esi]
push 0x7d0
push eax
lea ecx, [ebp - 0x2080]
call fcn.005256f0
test eax, eax
jne 0x50d065
mov ecx, dword [0x6cf964]
mov edx, dword [0x6cfc9c]
push 0x40
push ecx
push edx
jmp 0x50d2a9
mov cl, byte [ebp - 0xfd8]
mov dword [ebp - 0x20], 0
cmp cl, 0x2f
lea eax, [ebp - 0xfd8]
jne 0x50d083
lea eax, [ebp - 0xfd7]
cmp byte [eax], 0
je 0x50d0a6
push 0x6b9ea4
push eax
call fcn.005c6490
add esp, 8
test eax, eax
je 0x50d0a6
cmp byte [eax], 0x2f
jne 0x50d0a6
mov dword [ebp - 0x20], 1
mov eax, dword [ebx + 0x3ec]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x50d115
mov ecx, dword [0x6ca27c]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x14]
lea ecx, [ebx + 0x31c]
push edx
mov byte [ebp - 4], 5
call fcn.005de49e
lea eax, [ebp - 0x1c]
lea ecx, [ebx + 0x2a4]
push eax
call fcn.005de49e
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x50d162
mov edi, dword [ebp - 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x50d162
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.005e118c
mov eax, dword [ebx + 0x284]
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x50d266
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebx + 0x22c]
call fcn.005de49e
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x50d18a
mov edx, dword [0x6cf96c]
mov eax, dword [0x6cf95c]
push 0x40
push edx
jmp 0x50d2a8
mov ecx, dword [0x6cf96c]
mov edx, dword [0x6cf960]
push 0x40
push ecx
push edx
mov ecx, ebx
call fcn.005df1e7
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.005e118c
jmp 0x50d2b0
lea esi, [ebx + 0x68]
lea ecx, [ebp - 0x18]
push esi
push ecx
push edx
call fcn.0050cdb0
add esp, 0xc
test al, al
jne 0x50d1e7
mov edx, dword [0x6ca27c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x6cfa88]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
mov byte [ebp - 4], 6
call fcn.005d9fbb
mov eax, dword [0x6cf958]
mov ecx, dword [ebp - 0x20]
add esp, 0xc
push 0x40
push eax
push ecx
mov ecx, ebx
call fcn.005df1e7
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.005e118c
jmp 0x50d2b0
mov esi, dword [esi]
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7f0]
rep stosd dword es:[edi], eax
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x7d0
jb 0x50d211
mov ecx, 0x7cf
jmp 0x50d21d
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
lea edi, [ebp - 0x7f0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0
and ecx, 3
lea eax, [ebp - 0x7f0]
rep movsb byte es:[edi], byte [esi]
push 0x7d0
push eax
lea ecx, [ebp - 0x2080]
call fcn.005256f0
test eax, eax
jne 0x50d260
mov ecx, dword [0x6cf958]
mov edx, dword [0x6cfc9c]
push 0x40
push ecx
push edx
jmp 0x50d2a9
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x11c]
push 0
push 0
push 0xf0
push eax
call esi
test eax, eax
je 0x50d2ea
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebx + 0xc4]
call fcn.005de49e
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x50d2ea
mov edx, dword [0x6cf96c]
mov eax, dword [0x6cf87c]
push 0x40
push edx
push eax
mov ecx, ebx
call fcn.005df1e7
lea ecx, [ebp - 0x2080]
mov byte [ebp - 4], 2
call fcn.00524370
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005e118c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005e118c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 0x5c]
push ecx
push 0x141a
mov eax, dword [edx + 0x410]
push 0x111
push eax
call esi
lea ecx, [ebp - 0x2080]
mov byte [ebp - 4], 2
call fcn.00524370
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005e118c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005e118c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret