Function at 0x4b1860
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4b1889
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
push ebx
push edi
push dword [esi + 0x54c8]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4b1b3a
mov eax, dword [esi + 0x5770]
test al, 0xf
je 0x4b1b3a
test al, 0x10
je 0x4b18d1
push 0
push 0
push 0x1032
push dword [esi + 0x54c8]
call ebx
cmp eax, 2
jb 0x4b1b3a
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x54c8]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
movaps xmm0, xmmword [0x4e5fe0]
mov eax, dword [esi + 0x5770]
mov ecx, dword [esi + 0x5778]
and eax, 0xf
movups xmmword [ebp - 0x64], xmm0
movaps xmm0, xmmword [0x4e5ff0]
movups xmmword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x4e5ff0]
movups xmmword [ebp - 0x44], xmm0
movaps xmm0, xmmword [0x4e6000]
movups xmmword [ebp - 0x34], xmm0
mov edi, dword [ebp + eax*4 - 0x64]
lea eax, [ecx - 1]
cmp edi, eax
jl 0x4b1946
lea eax, [ecx + 1]
cmp edi, eax
jg 0x4b1946
cmp dword [ebp + 0xc], 0
je 0x4b195b
push esi
call fcn.004b20b0
add esp, 4
jmp 0x4b195b
push 0
push 0x14
push 0x45a
push dword [esi + 0x54c8]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 0x5778]
cmp edi, eax
jle 0x4b196a
lea edi, [eax + 1]
jmp 0x4b196f
jge 0x4b196f
lea edi, [eax - 1]
lea eax, [ebp - 0x24]
push eax
push 0
push 0x1207
push 0
push 0
push 0x101f
push dword [esi + 0x54c8]
call ebx
push eax
call ebx
mov ecx, dword [ebp - 0x18]
mov edx, edi
add ecx, dword [ebp - 0x10]
shl edx, 4
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0x11
lea eax, [ecx - 2]
add ecx, 0xfffffffe
add edx, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x5778]
xor eax, eax
add edx, edi
test ecx, ecx
mov dword [ebp - 8], edx
sete al
sub edx, eax
mov eax, dword [esi + 0x5788]
cmp edx, eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x6c]
cmovne eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x6c], eax
cmp edi, ecx
je 0x4b1b08
mov eax, dword [esi + 0x54c8]
test eax, eax
jne 0x4b19f9
mov dword [ebp - 0x68], 0xffffffff
jmp 0x4b1a0e
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call ebx
mov ecx, dword [esi + 0x5778]
mov dword [ebp - 0x68], eax
cmp edi, ecx
jge 0x4b1a35
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x54c8]
call fcn.004aa3b0
mov ecx, dword [esi + 0x5778]
add esp, 0xc
dec ecx
mov dword [esi + 0x5778], ecx
cmp edi, ecx
jl 0x4b1a12
jle 0x4b1abd
nop dword [eax + eax]
lea eax, [ecx + 1]
mov dword [esi + 0x5778], eax
mov eax, dword [esi + 0x54c8]
test eax, eax
je 0x4b1aa6
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0xd
push ecx
push 0
push 0x1007
push eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
call ebx
mov eax, dword [esi + 0x54c8]
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x5778]
cmp edi, ecx
jg 0x4b1a40
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x74], eax
je 0x4b1af1
push str.Node_
push dword [esi + 0x54c8]
call fcn.00493b70
add esp, 8
push dword [ebp - 0x6c]
push 0
push 0x1014
push dword [esi + 0x54c8]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov eax, dword [ebp - 0x68]
test eax, eax
js 0x4b1b08
push 0
push eax
push 0x1013
push dword [esi + 0x54c8]
call ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x577c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esi + 0x5778]
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x18]
pop edi
pop ebx
add eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e2538
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x5774]
test eax, eax
je 0x4b1b4b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [esi + 0x5778], 0
je 0x4b1bf1
push 0
push 0
push 0xb
push dword [esi + 0x54c8]
call ebx
xor edi, edi
cmp dword [esi + 0x5778], edi
jle 0x4b1b8b
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x54c8]
call fcn.004aa3b0
inc edi
add esp, 0xc
cmp edi, dword [esi + 0x5778]
jl 0x4b1b70
mov ecx, dword [esi + 0x5788]
mov dword [esi + 0x5778], 0
test ecx, ecx
je 0x4b1bb6
mov eax, 0x11
sub eax, ecx
push eax
push 0
push 0x1014
push dword [esi + 0x54c8]
call ebx
push 0
push 1
push 0xb
push dword [esi + 0x54c8]
call ebx
push 0
push 0
push dword [esi + 0x54c8]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x54c8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0x85
push dword [esi + 0x54c8]
call ebx
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
pop edi
movups xmmword [esi + 0x577c], xmm0
pop ebx
mov dword [esi + 0x5774], 0
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004e2538
mov esp, ebp
pop ebp
ret