Function at 0x48d440
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539980
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5d3b14]
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 esi, ecx
mov ebx, dword [ebp + 0x14]
mov edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
jne 0x48d488
mov dword [ebx], 0
jmp 0x48d63e
push 0x48
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00515fd2
add esp, 0xc
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push eax
push edi
mov dword [ebp - 0x70], edi
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov ebx, dword [ebp - 0x74]
or edi, 0xffffffff
movlpd qword [ebp - 0x84], xmm0
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], edi
test ebx, ebx
je 0x48d4e8
push ebx
call dword [sym.imp.GDI32.dll_SaveDC]
mov edi, eax
mov dword [ebp - 0x80], edi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
push 0
push 0xb2
push dword [esi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [0x555958]
call dword [0x5556a4]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [esi + 4]
test al, 4
mov ecx, 0x8800
mov eax, 0x810
cmove eax, ecx
mov dword [ebp - 0x7c], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x48d5ad
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x800
jne 0x48d58d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
lea eax, [esi + 0x28]
jne 0x48d590
lea eax, [esi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x48d598
mov eax, dword [eax]
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x2c]
push ecx
push 0xffffffffffffffff
push eax
push dword [ebp - 0x74]
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x48d604
lea ecx, [ebp - 0x75]
mov dword [ebp - 0x14], 0
push ecx
inc eax
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.00455260
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
sar ecx, 1
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp - 0x7c]
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push dword [ebp - 0x74]
call dword [sym.imp.USER32.dll_DrawTextW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00431480
mov byte [ebp - 4], 1
cmp edi, 0xffffffff
je 0x48d61c
push edi
push ebx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 4], 4
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0xffffffff
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.005150f0
mov esp, ebp
pop ebp
ret 0x10