Function at 0x5575c0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x3f0
push edi
mov edi, dword [esp + 0x400]
push edi
call fcn.00502a60
add esp, 4
test eax, eax
jne 0x5575e3
pop edi
add esp, 0x3f0
ret
push ebx
push ebp
mov ebp, dword [esp + 0x404]
test ebp, ebp
push esi
je 0x5576b5
mov esi, dword [edi + 0x21bc]
xor ebx, ebx
test esi, esi
je 0x55764a
mov eax, dword [esi]
push ebp
push eax
call fcn.005e31f5
add esp, 8
test eax, eax
je 0x55761a
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x557601
jmp 0x55764a
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x55762f
mov eax, dword [esi + 0x40]
test eax, eax
je 0x55762f
mov dword [eax + 0x1c], 1
mov ecx, dword [edi + 0x21bc]
push esi
push ecx
call fcn.004e3140
add esp, 8
mov dword [edi + 0x21bc], eax
mov ebx, 1
mov esi, dword [edi + 0x21c0]
test esi, esi
je 0x5576a8
mov edx, dword [esi]
push ebp
push edx
call fcn.005e31f5
add esp, 8
test eax, eax
je 0x557678
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x557654
pop esi
pop ebp
mov eax, ebx
pop ebx
pop edi
add esp, 0x3f0
ret
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x55768d
mov eax, dword [esi + 0x40]
test eax, eax
je 0x55768d
mov dword [eax + 0x1c], 1
mov eax, dword [edi + 0x21c0]
push esi
push eax
call fcn.004e3140
add esp, 8
mov dword [edi + 0x21c0], eax
mov ebx, 1
pop esi
pop ebp
mov eax, ebx
pop ebx
pop edi
add esp, 0x3f0
ret
mov ecx, dword [esp + 0x404]
push ecx
call fcn.005827d0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x5576d8
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x3f0
ret
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
cmp esi, dword [ebx + 0x884]
mov dword [esp + 0x10], esi
je 0x5576f4
cmp esi, dword [ebx + 0x888]
jne 0x5576cb
mov eax, dword [ebx + 0x8b0]
push 0
lea edx, [esp + 0x18]
push edx
push eax
push esi
call fcn.004883e0
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
jle 0x557721
mov eax, dword [edi + 0x21c8]
test eax, eax
je 0x55783d
lea ecx, [esp + 0x18]
push 0x3e7
push ecx
call fcn.00423a00
add esp, 8
lea edx, [esp + 0x18]
push edx
push 0x3e6
push 0xd
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esp + 0x14], eax
jle 0x557847
mov byte [esp + eax + 0x18], 0
cmp byte [esp + 0x18], 0x20
lea ebp, [esp + 0x18]
jne 0x55776a
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x557762
cmp byte [ebp], 0
je 0x557847
push 5
push str._msg
push ebp
call fcn.005e325e
add esp, 0xc
test eax, eax
jne 0x557847
mov al, byte [ebp + 5]
add ebp, 5
cmp al, 0x20
jne 0x55779e
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x557796
cmp byte [ebp], 0
je 0x557847
push 0x20
push ebp
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x5577ba
mov byte [eax], 0
mov esi, dword [edi + 0x21bc]
xor ebx, ebx
test esi, esi
je 0x557818
mov eax, dword [esi]
push ebp
push eax
call fcn.005e31f5
add esp, 8
test eax, eax
je 0x5577df
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x5577c6
jmp 0x557818
mov ecx, dword [edi + 0x21bc]
push esi
push ecx
call fcn.004e3140
mov edx, dword [esp + 0x18]
add esp, 8
push 0x5e6c98
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 0x557839
mov eax, dword [esi]
push ebp
push eax
call fcn.005e31f5
add esp, 8
test eax, eax
je 0x557857
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x557822
test ebx, ebx
jne 0x557847
push 0
call fcn.00421c80
add esp, 4
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x3f0
ret
mov ecx, dword [edi + 0x21c0]
push esi
push ecx
call fcn.004e3140
add esp, 8
test ebx, ebx
mov dword [edi + 0x21c0], eax
mov dword [edi + 0x21c8], 0
jne 0x557847
mov edx, dword [esp + 0x10]
push 0x5e6c98
push ebx
push 0xc
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x3f0
ret