Function at 0x42c884
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
push 0x515718
push 0x3e7
push 0xd
mov eax, dword [ebp + 0xc]
push eax
call sub.USER32.dll_SendMessageA
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov byte [edx + 0x515718], 0
cmp dword [ebp - 8], 0
jne 0x42c8c1
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, ecx
jmp 0x42c9b6
push 0
push 0
push 0xb0
mov eax, dword [ebp + 0xc]
push eax
call sub.USER32.dll_SendMessageA
mov ebx, eax
movzx eax, bx
mov dword [ebp - 0x10], eax
push 0x515718
call fcn.00401318
pop ecx
cmp eax, dword [ebp - 0x10]
jae 0x42c8f0
xor edx, edx
mov dword [ebp - 0x10], edx
mov esi, ebx
shr esi, 0x10
and si, 0xffff
movzx esi, si
push 0x515718
call fcn.00401318
pop ecx
cmp esi, eax
jbe 0x42c90e
xor esi, esi
mov eax, dword [ebp + 0xc]
push eax
call sub.USER32.dll_GetDC
mov edi, eax
mov eax, dword [0x4fd9f8]
push eax
call fcn.004eae80
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42c940
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x600]
push ecx
push edi
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x515718], 0
push 0x515718
call fcn.00401318
pop ecx
push eax
push 0x515718
push edi
call fcn.004bc200
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x515718], 0x20
cmp esi, dword [ebp - 8]
jae 0x42c97b
mov byte [esi + 0x515719], 0
jmp 0x42c982
mov byte [esi + 0x515718], 0
push 0x515718
call fcn.00401318
pop ecx
push eax
push 0x515718
push edi
call fcn.004bc200
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
je 0x42c9ac
mov edx, dword [ebp - 0x14]
push edx
push edi
call sub.GDI32.dll_SelectObject
push edi
mov ecx, dword [ebp + 0xc]
push ecx
call sub.USER32.dll_ReleaseDC
lea eax, [ebp - 0x24]
push eax
mov edx, dword [ebp + 0xc]
push edx
call sub.USER32.dll_GetWindowRect
mov eax, dword [ebp - 0x24]
add ebx, eax
add dword [ebp - 4], eax
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.USER32.dll_GetWindowRect
mov esi, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x28]
sub edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
sub eax, edi
add eax, 0xfffffffd
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 4]
sub edx, ebx
mov eax, esi
sub eax, edx
mov dword [ebp - 0x34], eax
test eax, eax
jle 0x42ca15
mov ecx, 2
mov eax, dword [ebp - 0x34]
cdq
idiv ecx
mov dword [ebp - 0x34], eax
sub ebx, dword [ebp - 0x34]
mov dword [ebp - 0x34], ebx
jmp 0x42ca26
mov ecx, 0xfffffffe
mov eax, dword [ebp - 0x34]
cdq
idiv ecx
mov dword [ebp - 0x34], eax
add dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x34]
jle 0x42ca36
mov edx, eax
add edx, 3
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
add ecx, esi
mov edx, dword [ebp - 0x1c]
sub edx, eax
add edx, eax
cmp ecx, edx
jle 0x42ca57
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x24]
sub eax, esi
add eax, 0xfffffffd
mov dword [ebp - 0x34], eax
push 0
push edi
push esi
mov ecx, dword [ebp - 0x30]
push ecx
mov eax, dword [ebp - 0x34]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.USER32.dll_MoveWindow
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8