Function at 0x52ee80
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0xf124]
mov eax, 0xf124
call fcn.006197b0
push 0xffffffffffffffff
push 0x6543b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp + 0xf120], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
push 0x2800
push ebx
lea eax, [ebp + 0xc920]
push eax
call fcn.00618760
add esp, 0xc
push 0x27ff
mov edx, dword [edi + 0x90]
cmp dword [edi + 0x94], ebx
je 0x52ef3f
lea ecx, [ebp + 0x7920]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x52ef65
push 0x2800
lea eax, [ebp + 0xc920]
push eax
lea ecx, [ebp + 0x7920]
push ecx
call fcn.004072b0
lea edx, [ebp + 0xc920]
push edx
push 0x66fea8
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
add esp, 0x18
jmp 0x52ef65
lea ecx, [ebp + 0xc920]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp + 0xc920]
push eax
push 0x66fea8
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f70
add esp, 0xc
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
jmp 0x52ef70
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x52ef70
sub eax, edx
je 0x52efab
lea ecx, [ebp - 0x18]
call fcn.00402500
mov byte [ebp - 4], 2
lea esi, [edi + 0x7c]
push esi
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0052e840
add esp, 0xc
test al, al
jne 0x52efdb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xf120]
xor ecx, ebp
call fcn.0061807e
add ebp, 0xf124
mov esp, ebp
pop ebp
ret
lea ecx, [ebp]
call fcn.00545f20
mov byte [ebp - 4], 3
push 0x2800
push ebx
lea ecx, [ebp + 0xc920]
push ecx
call fcn.00618760
add esp, 0xc
mov esi, dword [esi]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x52f003
sub eax, edx
cmp eax, 0x2800
jb 0x52f01a
mov eax, 0x27ff
jmp 0x52f029
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x52f020
sub eax, edx
push eax
push esi
lea edx, [ebp + 0xc920]
push edx
call fcn.00619c20
add esp, 0xc
push ebx
push 0x2800
lea eax, [ebp + 0xc920]
push eax
lea ecx, [ebp]
call fcn.005483f0
test eax, eax
je 0x52f0f5
lea ecx, [ebp - 0x20]
call fcn.004bc0b0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040ae40
add esp, 4
push 1
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp + 0x30]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push eax
mov ecx, dword [0x755184]
call fcn.0050b470
lea esi, [edi + 0x34c]
mov ecx, esi
test eax, eax
je 0x52f0d0
call fcn.00405460
test eax, eax
jne 0x52f0b0
push 1
mov ecx, esi
call fcn.00405480
push 1
mov ecx, edi
call fcn.0052e1a0
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [edi + 0x1f0]
call fcn.005ed0f1
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [edi + 0x19c]
call fcn.005ed0f1
jmp 0x52f0e9
call fcn.00405460
test eax, eax
je 0x52f0e9
push ebx
mov ecx, esi
call fcn.00405480
push ebx
mov ecx, edi
call fcn.0052e1a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00421470
mov byte [ebp - 4], 2
lea ecx, [ebp]
call fcn.00545f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov dword [ebp - 4], 0xffffffff
jmp 0x52efb6