Function at 0x53cb70
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x3f0
push ebp
push esi
push edi
mov edi, dword [esp + 0x400]
mov esi, ecx
mov ecx, edi
mov ebp, edx
call fcn.004f0af0
test eax, eax
jne 0x53cb9b
pop edi
pop esi
pop ebp
add esp, 0x3f0
ret 4
test ebp, ebp
push ebx
je 0x53cc62
mov esi, dword [edi + 0x21bc]
xor ebx, ebx
test esi, esi
je 0x53cbf6
mov eax, dword [esi]
push ebp
push eax
call fcn.005a299c
add esp, 8
test eax, eax
je 0x53cbc9
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x53cbb0
jmp 0x53cbf6
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x53cbde
mov eax, dword [esi + 0x40]
test eax, eax
je 0x53cbde
mov dword [eax + 0x1c], 1
mov ecx, dword [edi + 0x21bc]
mov edx, esi
call fcn.004d3ac0
mov dword [edi + 0x21bc], eax
mov ebx, 1
mov esi, dword [edi + 0x21c0]
test esi, esi
je 0x53cc53
mov ecx, dword [esi]
push ebp
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x53cc26
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x53cc00
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x3f0
ret 4
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x53cc3b
mov eax, dword [esi + 0x40]
test eax, eax
je 0x53cc3b
mov dword [eax + 0x1c], 1
mov ecx, dword [edi + 0x21c0]
mov edx, esi
call fcn.004d3ac0
mov dword [edi + 0x21c0], eax
mov ebx, 1
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x3f0
ret 4
mov ecx, esi
call fcn.00561000
mov esi, eax
test esi, esi
jne 0x53cc7e
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x3f0
ret 4
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
cmp ebx, dword [esi + 0x884]
mov dword [esp + 0x10], ebx
je 0x53cc9a
cmp ebx, dword [esi + 0x888]
jne 0x53cc6f
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0x8b4]
mov ecx, ebx
call fcn.0047e0e0
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x53ccc4
mov eax, dword [edi + 0x21c8]
test eax, eax
je 0x53cddb
mov edx, 0x3e7
lea ecx, [esp + 0x18]
call fcn.00420e60
lea eax, [esp + 0x18]
push eax
push 0x3e6
push 0xd
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esp + 0x14], eax
jle 0x53cde2
mov byte [esp + eax + 0x18], 0
cmp byte [esp + 0x18], 0x20
lea ebp, [esp + 0x18]
jne 0x53cd09
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x53cd01
cmp byte [ebp], 0
je 0x53cde2
push 5
push str._msg
push ebp
call fcn.005a2a05
add esp, 0xc
test eax, eax
jne 0x53cde2
mov al, byte [ebp + 5]
add ebp, 5
cmp al, 0x20
jne 0x53cd3d
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x53cd35
cmp byte [ebp], 0
je 0x53cde2
push 0x20
push ebp
call fcn.005912e0
add esp, 8
test eax, eax
je 0x53cd59
mov byte [eax], 0
mov esi, dword [edi + 0x21bc]
xor ebx, ebx
test esi, esi
je 0x53cdb4
mov ecx, dword [esi]
push ebp
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x53cd7e
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x53cd65
jmp 0x53cdb4
mov ecx, dword [edi + 0x21bc]
mov edx, esi
call fcn.004d3ac0
mov edx, dword [esp + 0x10]
push 0x5a4bec
push 0
push 0xc
push edx
mov dword [edi + 0x21bc], eax
mov dword [edi + 0x21c8], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 1
mov esi, dword [edi + 0x21c0]
test esi, esi
je 0x53cdd7
mov edi, edi
mov eax, dword [esi]
push ebp
push eax
call fcn.005a299c
add esp, 8
test eax, eax
je 0x53cdf4
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x53cdc0
test ebx, ebx
jne 0x53cde2
xor ecx, ecx
call fcn.0041f0a0
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x3f0
ret 4
mov ecx, dword [edi + 0x21c0]
mov edx, esi
call fcn.004d3ac0
test ebx, ebx
mov dword [edi + 0x21c0], eax
mov dword [edi + 0x21c8], 0
jne 0x53cde2
mov ecx, dword [esp + 0x10]
push 0x5a4bec
push ebx
push 0xc
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x3f0
ret 4