Function at 0x4151b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc723
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 4]
lea ebx, [ecx + 4]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x80], 0
push ecx
push eax
mov dword [ebp - 0x7c], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
push dword [ebx]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov byte [ebp - 4], 1
call fcn.00407970
mov ecx, eax
test ecx, ecx
je 0x415471
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.00412960
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [ebp - 0x84]
test eax, 0x4000
je 0x415423
mov edi, dword [esi - 0xc]
test edi, edi
js 0x415467
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x415292
push edi
lea ecx, [ebp - 0x84]
call fcn.00407ff0
mov esi, dword [ebp - 0x84]
lea eax, [edi + 1]
push eax
push esi
call fcn.004b444b
add esp, 8
cmp edi, dword [esi - 8]
jg 0x415467
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
push 0
push 0
push 0x31
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0x80]
call ebx
call fcn.00412880
mov edi, dword [eax + 4]
mov ecx, edi
call fcn.00410450
push eax
push dword [ebp - 0x80]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [ebp - 0x80]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, edi
call fcn.004103d0
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, edi
call fcn.00410470
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_FrameRect]
add dword [ebp - 0x38], 4
lea ecx, [ebp - 0x38]
push 0x24
push ecx
push dword [esi - 0xc]
lea eax, [esi - 0x10]
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov dword [ebp - 0x8c], 0
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00410450
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov esi, eax
push esi
push dword [ebp - 0x80]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push dword [0x517da4]
push 3
call edi
push 0x60
push dword [0x517da4]
mov dword [ebp - 0x84], eax
push 0xd
call edi
mov ebx, dword [ebp - 0x30]
push 0x60
push dword [0x517da4]
sub ebx, eax
push 8
call edi
mov edx, dword [ebp - 0x84]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
lea ecx, [ebx + edx]
mov dword [ebp - 0x20], ecx
lea ecx, [eax + edx]
mov dword [ebp - 0x1c], ecx
lea ecx, [edx*2 + 1]
dec eax
add ecx, ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
push 3
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.GDI32.dll_Polyline]
test esi, esi
je 0x4153db
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x88]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4153f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret 0x10
test eax, 0x2000
je 0x4152b1
mov edi, dword [esi - 0xc]
test edi, edi
js 0x415467
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x415458
push edi
lea ecx, [ebp - 0x84]
call fcn.00407ff0
mov esi, dword [ebp - 0x84]
lea eax, [edi + 1]
push eax
push esi
call fcn.004b4612
jmp 0x41529c
push 0x80070057
call fcn.004075e0
push 0x80004005
call fcn.004075e0
int3