Function at 0x50e000
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548f68
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x50]
push eax
push dword [esi + 4]
mov dword [ebp - 4], 0
call edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SaveDC]
push 0xfffffffffffffff0
push dword [esi + 4]
mov dword [ebp - 0xec], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0xd0], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x20], xmm0
call edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
push 0
push 0
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x60
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0051d400
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0xc4], eax
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x94], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0xb4]
push 0xf
mov dword [ebp - 0xbc], 0xfffffff4
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], 0xffffff
call edi
push 0x10
mov dword [ebp - 0x7c], eax
call edi
push 0x14
mov dword [ebp - 0x78], eax
call edi
push 0x12
mov dword [ebp - 0x74], eax
call edi
push 0xd
mov dword [ebp - 0x70], eax
call edi
push 0x1a
mov dword [ebp - 0x6c], eax
call edi
push 0xe
mov dword [ebp - 0x68], eax
call edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0xb8], 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc4]
push ecx
push dword [ebp - 0xc0]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
and eax, 4
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xe8], eax
jne 0x50e1a7
movups xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0xc4]
push eax
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, esi
call fcn.0050e550
test edi, edi
je 0x50e1b7
test edi, 0x20
je 0x50e45d
mov eax, dword [ebp - 0xd0]
mov cl, al
shr eax, 6
and cl, 1
and al, 1
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xc5], cl
mov dword [ebp - 0xd0], eax
test cl, cl
je 0x50e240
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push dword [ebp + 8]
mov dword [ebp - 0xd8], eax
call dword [sym.imp.GDI32.dll_GetClipRgn]
push dword [esi + 0x5c]
push dword [esi + 0x58]
push dword [esi + 0x54]
push dword [esi + 0x50]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
lea eax, [ebp - 0xe0]
push eax
push 0
push dword [esi + 0xa8]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov edi, dword [esi + 0x34]
xorps xmm0, xmm0
mov edx, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ebp - 0xcc], edi
xor edi, edi
mov ecx, dword [ebp - 0xcc]
movups xmmword [ebp - 0x60], xmm0
test ecx, ecx
je 0x50e33f
cmp edi, dword [esi + 0x24]
je 0x50e336
cmp edi, dword [esi + 0x34]
jae 0x50e35b
mov eax, dword [esi + 0x30]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x50e336
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [eax + 4]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
movups xmmword [ebp - 0x40], xmm0
call edx
push 0
push dword [esi + 0xa8]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x50e32a
xor eax, eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], eax
cmp byte [ebp - 0xd0], al
je 0x50e2f4
cmp dword [esi + 0x28], edi
mov ecx, 0x40
cmove eax, ecx
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0xe4]
cmp byte [ecx + 0x20], 0
je 0x50e30b
or eax, 0x80
mov dword [ebp - 0x9c], eax
movups xmm0, xmmword [ebp - 0x40]
lea eax, [ebp - 0xc4]
mov ecx, esi
push eax
push dword [ebp - 0xd4]
movups xmmword [ebp - 0xb0], xmm0
call fcn.00510620
mov edx, dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp - 0xcc]
inc edi
cmp edi, ecx
jb 0x50e266
mov ecx, dword [esi + 0x24]
test ecx, ecx
js 0x50e412
cmp ecx, dword [ebp - 0xcc]
jae 0x50e412
cmp ecx, dword [esi + 0x34]
jb 0x50e365
push 0x80070057
call fcn.004049a0
mov eax, dword [esi + 0x30]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x50e412
xorps xmm0, xmm0
lea eax, [ebp - 0x40]
movups xmmword [ebp - 0x30], xmm0
push eax
movups xmm0, xmmword [edi + 4]
lea eax, [ebp - 0x30]
push eax
movups xmmword [ebp - 0x40], xmm0
call edx
push 0
push dword [esi + 0xa8]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x50e412
cmp byte [ebp - 0xd0], 0
mov eax, 1
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], eax
je 0x50e3e2
cmp dword [esi + 0x28], ecx
mov edx, 0x41
cmove eax, edx
mov dword [ebp - 0x9c], eax
cmp byte [edi + 0x20], 0
je 0x50e3f3
or eax, 0x80
mov dword [ebp - 0x9c], eax
movups xmm0, xmmword [ebp - 0x40]
lea eax, [ebp - 0xc4]
mov ecx, esi
push eax
push dword [ebp - 0xd4]
movups xmmword [ebp - 0xb0], xmm0
call fcn.00510620
cmp byte [ebp - 0xc5], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
je 0x50e45d
push 0
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov edi, dword [ebp - 0xd8]
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0xe8], 0
jne 0x50e4c3
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
test edi, 9
je 0x50e4c3
test edi, 8
je 0x50e4ad
mov ecx, dword [esi + 0x24]
test ecx, ecx
js 0x50e4ad
cmp ecx, dword [esi + 0x34]
jae 0x50e4ad
mov eax, dword [esi + 0x30]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x50e4ad
cmp byte [eax + 0x21], 0
je 0x50e4ad
lea eax, [ebp - 0xc4]
mov ecx, esi
push eax
call fcn.0050e640
test edi, 1
je 0x50e4c3
lea eax, [ebp - 0xc4]
mov ecx, esi
push eax
call fcn.0050e800
test dword [ebp - 0xd4], 0x10
je 0x50e517
movups xmm0, xmmword [ebp - 0x20]
mov dword [ebp - 0xb8], 2
push dword [esi + 4]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xb0], xmm0
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc4]
push ecx
push dword [ebp - 0xc0]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0xec]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4