Function at 0x41e610
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dc50
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x55b524]
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 ebx, ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
call fcn.004053a0
mov ecx, eax
test ecx, ecx
je 0x41e876
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x74], esi
push dword [ebx + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x41e880
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x41e695
push edi
lea ecx, [ebp - 0x74]
call fcn.00405730
mov esi, dword [ebp - 0x74]
push edi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x41e6b1
push dword [esi - 8]
push esi
call fcn.004addda
add esp, 8
test eax, eax
js 0x41e880
cmp eax, dword [esi - 8]
jg 0x41e880
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
call fcn.004053a0
mov ecx, eax
test ecx, ecx
je 0x41e88a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6c], eax
lea eax, [ebx + 0x24]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.00407f70
cmp dword [esi - 0xc], 0
mov edi, dword [ebp - 0x6c]
jne 0x41e813
cmp dword [edi - 0xc], 0
je 0x41e813
mov eax, dword [ebx + 4]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 0x6c]
cmp eax, ecx
jne 0x41e729
cmp dword [ebx + 0x28], 0
je 0x41e813
lea eax, [ebp - 0x60]
mov dword [ebp - 0x68], 0
push eax
push ecx
mov dword [ebp - 0x64], ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x68], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push 0x31
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x41e770
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebx + 4]
mov dword [ebp - 0x70], eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebx + 4]
push dword [ebp - 0x68]
push 0x133
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41e7b8
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_FillRect]
push 0xd7d7d7
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 4
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
push dword [edi - 0xc]
push edi
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x70]
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0x68], 0
jmp 0x41e81c
mov eax, dword [ebp - 0x70]
mov dword [eax], 0
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e83a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x41e856
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.00462c38
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404750
push 0x80070057
call fcn.00404750
push 0x80004005
call fcn.00404750
int3