Function at 0x4299d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517690
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5746cc]
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.0040b740
mov ecx, eax
test ecx, ecx
je 0x429c36
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 0x429c40
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x429a55
push edi
lea ecx, [ebp - 0x74]
call fcn.0040a8f0
mov esi, dword [ebp - 0x74]
push edi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x429a71
push dword [esi - 8]
push esi
call fcn.004bf4bc
add esp, 8
test eax, eax
js 0x429c40
cmp eax, dword [esi - 8]
jg 0x429c40
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
call fcn.0040b740
mov ecx, eax
test ecx, ecx
je 0x429c4a
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.00413b10
cmp dword [esi - 0xc], 0
mov edi, dword [ebp - 0x6c]
jne 0x429bd3
cmp dword [edi - 0xc], 0
je 0x429bd3
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 0x429ae9
cmp dword [ebx + 0x28], 0
je 0x429bd3
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 0x429b30
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 0x429b78
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 0x429bdc
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 0x429bfa
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 0x429c16
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.004864b8
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00409360
push 0x80070057
call fcn.00409360
push 0x80004005
call fcn.00409360
int3