Function at 0x457b20
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f88b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 4], 0
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_SaveDC]
push 0xfffffffffffffff0
push dword [esi + 4]
mov dword [ebp - 0x100], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0xf8], eax
call eax
mov dword [ebp - 0xcc], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push dword [esi + 4]
mov dword [ebp - 0xe8], eax
call eax
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x60
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.004c6130
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0xc0], eax
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0xb0]
push 0x12
mov dword [ebp - 0xb8], 0xfffffff4
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], eax
call edi
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0xb8]
push 0xf
mov dword [ebp - 0x7c], eax
call edi
push 0x10
mov dword [ebp - 0x78], eax
call edi
push 0x14
mov dword [ebp - 0x74], eax
call edi
push 0x12
mov dword [ebp - 0x70], eax
call edi
push 0xd
mov dword [ebp - 0x6c], eax
call edi
push 0x1a
mov dword [ebp - 0x68], eax
call edi
push 0xe
mov dword [ebp - 0x64], eax
call edi
push dword [esi + 4]
mov edi, dword [ebp - 0xbc]
mov dword [ebp - 0x60], eax
mov eax, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xfc], eax
call eax
lea ecx, [ebp - 0xc0]
push ecx
push edi
push 0x4e
push eax
call dword [ebp - 0xe8]
mov edi, eax
and eax, 4
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xf4], eax
jne 0x457cf8
movups xmm0, xmmword [ebp - 0x24]
sub esp, 0x10
lea eax, [ebp - 0xc0]
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
mov ecx, esi
call fcn.00458700
test edi, edi
je 0x457d08
test edi, 0x20
je 0x457fcf
mov eax, dword [ebp - 0xcc]
xorps xmm0, xmm0
mov edi, dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov cl, al
shr eax, 6
and cl, 1
and al, 1
movlpd qword [ebp - 0x108], xmm0
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xc1], cl
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xf0], edi
test cl, cl
je 0x457d90
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push dword [ebx + 8]
mov dword [ebp - 0xe4], 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 [ebx + 8]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
lea eax, [ebp - 0x108]
push eax
push 0
push dword [esi + 0xa8]
push dword [ebx + 8]
call edi
mov edi, dword [esi + 0x34]
xorps xmm0, xmm0
mov eax, dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ebp - 0xc8], edi
xor edi, edi
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xd8], eax
mov eax, dword [sym.imp.USER32.dll_IntersectRect]
mov dword [ebp - 0xe0], eax
movups xmmword [ebp - 0x54], xmm0
test ecx, ecx
je 0x457eab
nop dword [eax]
cmp edi, dword [esi + 0x24]
je 0x457ea2
cmp edi, dword [esi + 0x34]
jae 0x4580bc
mov eax, dword [esi + 0x30]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0xec], eax
test eax, eax
je 0x457ea2
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [eax + 4]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
movups xmmword [ebp - 0x44], xmm0
call edx
push 0
push dword [esi + 0xa8]
lea eax, [ebp - 0x34]
push eax
call dword [ebp - 0xd8]
push dword [ebp - 0xdc]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [ebp - 0xe0]
test eax, eax
je 0x457e96
xor eax, eax
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], eax
cmp byte [ebp - 0xcc], al
je 0x457e60
cmp dword [esi + 0x28], edi
mov ecx, 0x40
cmove eax, ecx
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0xec]
cmp byte [ecx + 0x20], 0
je 0x457e77
or eax, 0x80
mov dword [ebp - 0x98], eax
movups xmm0, xmmword [ebp - 0x44]
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
push dword [ebp - 0xd0]
movups xmmword [ebp - 0xac], xmm0
call fcn.00458170
mov edx, dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp - 0xc8]
inc edi
cmp edi, ecx
jb 0x457dd0
mov ecx, dword [esi + 0x24]
test ecx, ecx
js 0x457f84
cmp ecx, dword [ebp - 0xc8]
jae 0x457f84
cmp ecx, dword [esi + 0x34]
jae 0x4580bc
lfence
mov eax, dword [esi + 0x30]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x457f84
xorps xmm0, xmm0
lea eax, [ebp - 0x44]
movups xmmword [ebp - 0x34], xmm0
push eax
movups xmm0, xmmword [edi + 4]
lea eax, [ebp - 0x34]
push eax
movups xmmword [ebp - 0x44], xmm0
call edx
push 0
push dword [esi + 0xa8]
lea eax, [ebp - 0x34]
push eax
call dword [ebp - 0xd8]
push dword [ebp - 0xdc]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [ebp - 0xe0]
test eax, eax
je 0x457f84
cmp byte [ebp - 0xcc], 0
mov eax, 1
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], 1
je 0x457f54
cmp dword [esi + 0x28], ecx
jne 0x457f54
mov dword [ebp - 0x98], 0x41
mov eax, 0x41
cmp byte [edi + 0x20], 0
je 0x457f65
or eax, 0x80
mov dword [ebp - 0x98], eax
movups xmm0, xmmword [ebp - 0x44]
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
push dword [ebp - 0xd0]
movups xmmword [ebp - 0xac], xmm0
call fcn.00458170
cmp byte [ebp - 0xc1], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
je 0x457fcf
push 0
push dword [ebp - 0x104]
push dword [ebp - 0x108]
push dword [ebx + 8]
call dword [ebp - 0xf0]
mov edi, dword [ebp - 0xe4]
push edi
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0xf4], 0
jne 0x458038
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [ebp - 0xf8]
mov edi, eax
test edi, 9
je 0x458038
test edi, 8
je 0x458022
mov ecx, dword [esi + 0x24]
test ecx, ecx
js 0x458022
cmp ecx, dword [esi + 0x34]
jae 0x458022
lfence
mov eax, dword [esi + 0x30]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x458022
cmp byte [eax + 0x21], 0
je 0x458022
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.00458540
test edi, 1
je 0x458038
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.004582c0
test dword [ebp - 0xd0], 0x10
je 0x45808d
movups xmm0, xmmword [ebp - 0x24]
mov edi, dword [ebp - 0xbc]
push dword [esi + 4]
mov dword [ebp - 0xb4], 2
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
movups xmmword [ebp - 0xac], xmm0
call dword [ebp - 0xfc]
lea ecx, [ebp - 0xc0]
push ecx
push edi
push 0x4e
push eax
call dword [ebp - 0xe8]
push dword [ebp - 0x100]
push dword [ebx + 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 - 0x14]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push 0x80070057
call fcn.00407080
int3