Function at 0x5d7c28
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff9c
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.00572060
test al, al
je 0x5d7eb2
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x60
call fcn.0040a880
mov eax, dword [ebx + 0x428]
mov edx, edi
call fcn.005e7058
mov esi, eax
mov eax, ebx
call fcn.00571c8c
mov ebp, eax
mov eax, dword [ebx + 0x428]
mov edx, edi
call fcn.005e7058
mov eax, dword [eax + 0x14]
push 0
push eax
push 0x1096
push ebp
call fcn.00717136
mov dword [esp + 8], 0xd
cmp dword [esi + 0x10], 0
je 0x5d7c9b
or dword [esp + 8], 2
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 4], 0x60
cmp byte [esi + 0x1a], 2
jne 0x5d7ce1
cmp dword [esi + 0x28], 0xffffffff
jle 0x5d7ce1
mov eax, 0x5d7ebc
mov dword [esp + 0xc], eax
mov eax, 0x5d7ebc
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
call fcn.0040d9ac
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1c]
call fcn.0040d9ac
mov dword [esp + 0x44], eax
jmp 0x5d7d0b
mov eax, dword [esi + 0xc]
call fcn.0040d9ac
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x1c]
call fcn.0040d9ac
mov dword [esp + 0x2c], eax
mov eax, 0x5d7ebc
mov dword [esp + 0x3c], eax
mov eax, 0x5d7ebc
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x10]
call fcn.0040d9ac
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x428]
mov edx, edi
call fcn.005e7058
test byte [eax + 0x18], 1
je 0x5d7d3b
or dword [esp + 0x24], 0
mov eax, dword [ebx + 0x428]
mov edx, edi
call fcn.005e7058
test byte [eax + 0x18], 2
je 0x5d7d53
or dword [esp + 0x24], 2
xor edx, edx
mov eax, 6
call fcn.0042d65c
test al, al
je 0x5d7e58
mov eax, dword [ebx + 0x428]
mov edx, edi
call fcn.005e7058
test byte [eax + 0x18], 8
je 0x5d7d7f
or dword [esp + 0x24], 4
mov eax, dword [ebx + 0x428]
mov edx, edi
call fcn.005e7058
test byte [eax + 0x18], 0x10
je 0x5d7d97
or dword [esp + 0x24], 8
mov eax, dword [ebx + 0x428]
mov edx, edi
call fcn.005e7058
test byte [eax + 0x18], 4
je 0x5d7daf
or dword [esp + 0x24], 1
mov eax, dword [ebx + 0x428]
mov edx, edi
call fcn.005e7058
test byte [eax + 0x18], 0x20
je 0x5d7dc7
or dword [esp + 0x24], 0x10
mov eax, dword [ebx + 0x428]
mov edx, edi
call fcn.005e7058
test byte [eax + 0x18], 0x40
je 0x5d7ddf
or dword [esp + 0x24], 0x20
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
jle 0x5d7def
or dword [esp + 8], 0x1000
mov dword [esp + 0x4c], eax
cmp byte [esi + 0x1a], 2
jne 0x5d7e07
cmp dword [esi + 0x28], 0xffffffff
jle 0x5d7e07
or dword [esp + 8], 0x400
cmp dword [esi + 0x1c], 0
je 0x5d7e35
cmp byte [esi + 0x1a], 2
jne 0x5d7e2d
cmp dword [esi + 0x28], 0xffffffff
jle 0x5d7e2d
mov eax, dword [esp + 8]
or eax, 0x800
or eax, 0x100
mov dword [esp + 8], eax
jmp 0x5d7e35
or dword [esp + 8], 0x100
movzx eax, byte [esi + 0x1b]
test al, al
jne 0x5d7e44
or dword [esp + 0x28], 8
jmp 0x5d7e58
cmp al, 1
jne 0x5d7e4f
or dword [esp + 0x28], 0x20
jmp 0x5d7e58
cmp al, 2
jne 0x5d7e58
or dword [esp + 0x28], 0x10
movzx eax, byte [esi + 0x1a]
test al, al
jne 0x5d7e67
or dword [esp + 0x28], 1
jmp 0x5d7e7b
cmp al, 1
jne 0x5d7e72
or dword [esp + 0x28], 4
jmp 0x5d7e7b
cmp al, 2
jne 0x5d7e7b
or dword [esp + 0x28], 2
or dword [esp + 8], 0x10
mov eax, dword [ebx + 0x428]
mov edx, edi
call fcn.005e7058
mov eax, dword [eax + 0x14]
mov dword [esp + 0x1c], eax
mov eax, ebx
call fcn.00571c8c
lea edx, [esp + 4]
mov dword [esp], edx
mov edx, dword [esp]
push edx
push edi
push 0x1091
push eax
call fcn.00717136
add esp, 0x64
pop ebp
pop edi
pop esi
pop ebx
ret