Function at 0x10026170
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
cmp ebx, 0x111
jne 0x100261f7
mov ecx, dword [edi + 4]
mov esi, dword [ebp + 0x14]
cmp ecx, esi
jne 0x10026450
mov eax, dword [ebp + 0x10]
mov edx, 0x300
shr eax, 0x10
cmp ax, dx
jne 0x100261cc
push 0x104
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 0x1c]
lea edx, [esp + 0x38]
push edx
mov eax, dword [ecx]
call dword [eax]
jmp 0x10026450
mov ecx, 0x100
cmp ax, cx
je 0x100261e4
mov ecx, 0x200
cmp ax, cx
jne 0x10026450
push 1
lea eax, [edi + 8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x10026450
cmp ebx, 0x133
jne 0x10026234
mov esi, dword [ebp + 0x14]
cmp dword [edi + 4], esi
jne 0x10026450
cmp byte [edi + 0x24], 0
jne 0x10026450
push 0xffffff
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp ebx, 0x20
jne 0x100262a4
mov eax, dword [ebp + 0x14]
shr eax, 0x10
cmp eax, 0x200
jne 0x1002644d
mov esi, dword [sym.imp.USER32.dll_GetMessagePos]
call esi
cwde
mov dword [esp + 0x10], eax
call esi
shr eax, 0x10
cwde
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.10025fc0
push dword [esp + 0x14]
lea eax, [esp + 0x2c]
push dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
neg eax
cmp eax, dword [edi + 0x18]
je 0x1002644d
mov dword [edi + 0x18], eax
jmp 0x10026432
cmp ebx, 0x200
jne 0x10026326
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 8]
jne 0x1002644d
mov esi, dword [sym.imp.USER32.dll_GetMessagePos]
call esi
cwde
mov dword [esp + 0x10], eax
call esi
shr eax, 0x10
cwde
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.10025fc0
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
neg eax
inc eax
cmp eax, dword [edi + 0x18]
je 0x1002644d
mov dword [edi + 0x18], eax
mov ecx, edi
lea eax, [esp + 0x28]
push eax
call fcn.10025fc0
lea eax, [esp + 0x28]
jmp 0x10026442
cmp ebx, 0x201
jne 0x100263b3
mov esi, dword [sym.imp.USER32.dll_GetMessagePos]
call esi
cwde
mov dword [esp + 0x10], eax
call esi
shr eax, 0x10
cwde
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.10025fc0
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1002644d
cmp dword [edi + 0x18], 2
je 0x100263a5
lea eax, [esp + 0x18]
mov dword [edi + 0x18], 2
push eax
mov ecx, edi
call fcn.10025fc0
push 1
lea eax, [esp + 0x1c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetCapture]
jmp 0x1002644d
cmp ebx, 0x202
jne 0x1002644d
mov esi, dword [sym.imp.USER32.dll_GetMessagePos]
call esi
cwde
mov dword [esp + 0x10], eax
call esi
shr eax, 0x10
cwde
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.10025fc0
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1002641f
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 8]
jne 0x1002641f
push 0x1004fd84
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [edi + 0x18], 0
je 0x1002644d
mov dword [edi + 0x18], 0
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.10025fc0
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.COMCTL32.dll_DefSubclassProc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10