Function at 0x52a270
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
mov ecx, edi
mov ebp, edx
call fcn.004e2760
test eax, eax
jne 0x52a28e
pop edi
pop esi
pop ebp
pop ecx
ret 4
test ebp, ebp
push ebx
je 0x52a34b
mov esi, dword [edi + 0x20e0]
xor ebx, ebx
test esi, esi
je 0x52a2e9
mov eax, dword [esi]
push ebp
push eax
call fcn.005809c6
add esp, 8
test eax, eax
je 0x52a2bc
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x52a2a3
jmp 0x52a2e9
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x52a2d1
mov eax, dword [esi + 0x40]
test eax, eax
je 0x52a2d1
mov dword [eax + 0x1c], 1
mov ecx, dword [edi + 0x20e0]
mov edx, esi
call fcn.004c7fe0
mov dword [edi + 0x20e0], eax
mov ebx, 1
mov esi, dword [edi + 0x20e4]
test esi, esi
je 0x52a341
mov ecx, dword [esi]
push ebp
push ecx
call fcn.005809c6
add esp, 8
test eax, eax
je 0x52a314
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x52a2f3
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x52a329
mov eax, dword [esi + 0x40]
test eax, eax
je 0x52a329
mov dword [eax + 0x1c], 1
mov ecx, dword [edi + 0x20e4]
mov edx, esi
call fcn.004c7fe0
mov dword [edi + 0x20e4], eax
mov ebx, 1
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
call fcn.00542c90
mov esi, eax
test esi, esi
jne 0x52a362
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 4
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
cmp ebx, dword [esi + 0x86c]
mov dword [esp + 0x10], ebx
je 0x52a37e
cmp ebx, dword [esi + 0x870]
jne 0x52a358
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0x89c]
mov ecx, ebx
call fcn.004778f0
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x52a3a6
mov eax, dword [edi + 0x20ec]
test eax, eax
je 0x52a4bb
push 0x5aaa28
push 0x3e6
push 0xd
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x52a4c2
mov byte [eax + 0x5aaa28], 0
cmp byte [0x5aaa28], 0x20
mov ebp, 0x5aaa28
jne 0x52a3e8
lea ebx, [ebx]
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x52a3e0
cmp byte [ebp], 0
je 0x52a4c2
push 5
push 0x58b430
push ebp
call fcn.00580a2f
add esp, 0xc
test eax, eax
jne 0x52a4c2
mov al, byte [ebp + 5]
add ebp, 5
cmp al, 0x20
jne 0x52a41c
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x52a414
cmp byte [ebp], 0
je 0x52a4c2
push 0x20
push ebp
call fcn.00570260
add esp, 8
test eax, eax
je 0x52a438
mov byte [eax], 0
mov esi, dword [edi + 0x20e0]
xor ebx, ebx
test esi, esi
je 0x52a493
mov eax, dword [esi]
push ebp
push eax
call fcn.005809c6
add esp, 8
test eax, eax
je 0x52a45d
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x52a444
jmp 0x52a493
mov ecx, dword [edi + 0x20e0]
mov edx, esi
call fcn.004c7fe0
mov ecx, dword [esp + 0x10]
push 0x583b74
push 0
push 0xc
push ecx
mov dword [edi + 0x20e0], eax
mov dword [edi + 0x20ec], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 1
mov esi, dword [edi + 0x20e4]
test esi, esi
je 0x52a4b7
lea ecx, [ecx]
mov edx, dword [esi]
push ebp
push edx
call fcn.005809c6
add esp, 8
test eax, eax
je 0x52a4cf
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x52a4a0
test ebx, ebx
jne 0x52a4c2
xor ecx, ecx
call fcn.0041d520
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4
mov ecx, dword [edi + 0x20e4]
mov edx, esi
call fcn.004c7fe0
test ebx, ebx
mov dword [edi + 0x20e4], eax
mov dword [edi + 0x20ec], 0
jne 0x52a4c2
mov eax, dword [esp + 0x10]
push 0x583b74
push ebx
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4