Function at 0x41ece0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fd88
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4b9430]
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 edi, ecx
cmp dword [edi + 0x20], 0
jne 0x41ed1a
xor eax, eax
jmp 0x41ef78
mov ecx, dword [edi]
lea eax, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sub ebx, dword [ebp - 0x20]
cmp dword [edi + 0x24], 0
mov dword [ebp - 0x34], eax
jne 0x41ed82
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x34]
push edx
push ebx
push esi
mov dword [edi + 0x24], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x24]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push 0
mov dword [edi + 0x34], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [edi + 0x24]
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
sub esp, 0x10
mov eax, esp
mov esi, 0x23
mov dword [eax], esi
mov esi, 0x19
mov dword [eax + 4], esi
mov esi, 0x2d
mov dword [eax + 8], esi
xor ecx, ecx
mov esi, 0x1e
mov dword [eax + 0xc], esi
mov esi, dword [edi + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x20]
mov ecx, 0x50
mov dword [eax + 8], ecx
mov ecx, 0x3c
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x1c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.0041f1e0
mov edx, dword [edi]
push 0
push 0
push 0x7f
add ebx, 0xffffffce
push edx
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0x15
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x41ee1d
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x41ee3e
mov ecx, dword [ebp - 0x30]
mov edx, dword [edi + 0x24]
push 3
push 0
push 0
push 0x10
push 0x10
push eax
mov eax, dword [ebp - 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawIconEx]
add dword [ebp - 0x30], 0x19
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
test ebx, ebx
je 0x41ef23
mov edx, dword [0x4ba448]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ba448
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
inc ebx
mov dword [ebp - 4], 0
jns 0x41ee7b
push 0x80070057
call fcn.0041e3e0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x41ee99
mov eax, ebx
lea ecx, [ebp - 0x34]
call fcn.0041fb60
mov esi, dword [ebp - 0x34]
mov ecx, dword [edi]
push ebx
push esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00461a7c
add esp, 8
test eax, eax
js 0x41ee71
cmp eax, dword [esi - 8]
jg 0x41ee71
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x24]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x24]
push ecx
push edx
mov ebx, eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [edi + 0x24]
push 0x40824
lea eax, [ebp - 0x30]
push eax
push 0xffffffffffffffff
push esi
push ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov edx, dword [edi + 0x24]
push ebx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ef23
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 8]
push ecx
mov ebx, edi
call fcn.0041efa0
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x24]
add eax, 0x28
push edx
call fcn.0041efa0
mov eax, dword [edi + 0x24]
mov ebx, dword [edi + 8]
push eax
add ebx, 0x50
push edi
call fcn.0041f000
mov ecx, dword [edi + 0x24]
mov ebx, dword [edi + 8]
push ecx
add ebx, 0x78
push edi
call fcn.0041f000
mov edx, dword [edi + 0x24]
mov ebx, dword [edi + 8]
push edx
add ebx, 0xa0
push edi
call fcn.0041f000
mov eax, 1
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.0045d3b4
mov esp, ebp
pop ebp
ret