Function at 0x466a30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef738
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x5299c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc8], eax
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.GDI32.dll_SaveDC]
push 0xfffffffffffffff0
push dword [edi + 4]
mov dword [ebp - 0xd8], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0xc0], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
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 [edi + 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 - 0xb0]
push 0
push eax
call fcn.004c3810
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [ebp - 0xb4], eax
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0xb0], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x84], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x80], eax
mov eax, dword [edi + 0xac]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x12
mov dword [ebp - 0xac], 0xfffffff4
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], eax
call esi
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0xb0]
mov dword [ebp - 0x78], eax
mov eax, dword [edi + 0xb4]
push 0xf
mov dword [ebp - 0x70], eax
call esi
push 0x10
mov dword [ebp - 0x6c], eax
call esi
push 0x14
mov dword [ebp - 0x68], eax
call esi
push 0x12
mov dword [ebp - 0x64], eax
call esi
push 0xd
mov dword [ebp - 0x60], eax
call esi
push 0x1a
mov dword [ebp - 0x5c], eax
call esi
push 0xe
mov dword [ebp - 0x58], eax
call esi
mov dword [ebp - 0x54], eax
push dword [edi + 4]
mov dword [ebp - 0xa8], 1
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xb4]
push ecx
push dword [ebp - 0xb0]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
and eax, 4
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xd4], eax
jne 0x466bd3
movups xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0xb4]
push eax
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, edi
call fcn.00468900
test esi, esi
je 0x466be3
test esi, 0x20
je 0x466e7a
mov eax, dword [ebp - 0xc0]
xorps xmm0, xmm0
mov cl, al
movlpd qword [ebp - 0xe0], xmm0
shr eax, 6
and cl, 1
and al, 1
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xb5], cl
mov dword [ebp - 0xc0], eax
test cl, cl
je 0x466c63
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push dword [ebp + 8]
mov dword [ebp - 0xcc], eax
call dword [sym.imp.GDI32.dll_GetClipRgn]
push dword [edi + 0x58]
push dword [edi + 0x54]
push dword [edi + 0x50]
push dword [edi + 0x4c]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
lea eax, [ebp - 0xe0]
push eax
push 0
push dword [edi + 0xa4]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov esi, dword [edi + 0x34]
xorps xmm0, xmm0
sub esi, dword [edi + 0x30]
mov edx, dword [sym.imp.USER32.dll_CopyRect]
sar esi, 2
mov dword [ebp - 0xbc], esi
xor esi, esi
mov ecx, dword [ebp - 0xbc]
movups xmmword [ebp - 0x50], xmm0
test ecx, ecx
je 0x466d62
nop
cmp esi, dword [edi + 0x24]
je 0x466d59
mov eax, dword [edi + 0x30]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x466d59
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 [edi + 0xa4]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp - 0xc8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x466d4d
xor eax, eax
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], eax
cmp byte [ebp - 0xc0], al
je 0x466d17
cmp dword [edi + 0x28], esi
mov ecx, 0x40
cmove eax, ecx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0xd0]
cmp byte [ecx + 0x48], 0
je 0x466d2e
or eax, 0x80
mov dword [ebp - 0x8c], eax
movups xmm0, xmmword [ebp - 0x40]
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
push dword [ebp - 0xc4]
movups xmmword [ebp - 0xa0], xmm0
call fcn.00475840
mov edx, dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp - 0xbc]
inc esi
cmp esi, ecx
jb 0x466c90
mov ecx, dword [edi + 0x24]
test ecx, ecx
js 0x466e2f
cmp ecx, dword [ebp - 0xbc]
jae 0x466e2f
mov eax, dword [edi + 0x30]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x466e2f
xorps xmm0, xmm0
lea eax, [ebp - 0x40]
movups xmmword [ebp - 0x30], xmm0
push eax
movups xmm0, xmmword [esi + 4]
lea eax, [ebp - 0x30]
push eax
movups xmmword [ebp - 0x40], xmm0
call edx
push 0
push dword [edi + 0xa4]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp - 0xc8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x466e2f
cmp byte [ebp - 0xc0], 0
mov eax, 1
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], 1
je 0x466dff
cmp dword [edi + 0x28], ecx
jne 0x466dff
mov dword [ebp - 0x8c], 0x41
mov eax, 0x41
cmp byte [esi + 0x48], 0
je 0x466e10
or eax, 0x80
mov dword [ebp - 0x8c], eax
movups xmm0, xmmword [ebp - 0x40]
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
push dword [ebp - 0xc4]
movups xmmword [ebp - 0xa0], xmm0
call fcn.00475840
cmp byte [ebp - 0xb5], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
je 0x466e7a
push 0
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov esi, dword [ebp - 0xcc]
push esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0xd4], 0
jne 0x466ee7
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
test esi, 9
je 0x466ee7
test esi, 8
je 0x466ed1
mov ecx, dword [edi + 0x24]
test ecx, ecx
js 0x466ed1
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x466ed1
mov eax, dword [edx + ecx*4]
test eax, eax
je 0x466ed1
cmp byte [eax + 0x49], 0
je 0x466ed1
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call fcn.00468bf0
test esi, 1
je 0x466ee7
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call fcn.004692a0
test dword [ebp - 0xc4], 0x10
je 0x466f3b
movups xmm0, xmmword [ebp - 0x20]
mov dword [ebp - 0xa8], 2
push dword [edi + 4]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0xa0], xmm0
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xb4]
push ecx
push dword [ebp - 0xb0]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0xd8]
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.004ab970
mov esp, ebp
pop ebp
ret 8