Function at 0x425250
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x532804]
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
mov esi, dword [ebp + 0x14]
call fcn.0042b140
test al, al
jne 0x425299
mov dword [esi], 0
mov eax, 1
jmp 0x4254d3
lea eax, [ebp - 0x74]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x48
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.004afbb4
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov eax, dword [ebp - 0x64]
movlpd qword [ebp - 0x84], xmm0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], 0xffffffff
test eax, eax
je 0x42530e
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 2
push 0
push 0
push 0x31
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [edi + 4]
mov esi, dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
push esi
push 0x138
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x42538a
push 1
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SetBkMode]
push esi
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_FillRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
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.00407e20
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 [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [edi + 4]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
mov dword [ebp - 0x7c], eax
and ecx, 0xc
mov edi, 0x10
cmp cl, 0xc
mov edx, 0x20
mov cl, al
cmovne edx, edi
mov edi, edx
or edi, 1
and cl, 1
cmove edi, edx
shr eax, 1
mov ebx, edi
or ebx, 2
and al, 1
cmove ebx, edi
mov edi, dword [ebp - 0x7c]
mov eax, edi
shr eax, 7
test al, 1
je 0x42541a
or ebx, 0x800
jmp 0x425434
push 0
push 0
push 0x129
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 2
je 0x425434
or ebx, 0x100000
mov ecx, ebx
mov eax, edi
shr eax, 0xf
or ecx, 0x4000
and al, 1
cmove ecx, ebx
mov ebx, dword [ebp - 0x7c]
mov eax, ebx
mov edx, ecx
and eax, 0xc000
or edx, 0x40000
cmp eax, 0xc000
cmovne edx, ecx
shr ebx, 0xe
mov eax, edx
or eax, 0x8000
and bl, 1
cmove eax, edx
push eax
lea eax, [ebp - 0x74]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_DrawTextW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0042d370
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x80]
cmp eax, 0xffffffff
je 0x4254af
push eax
push dword [ebp - 0x88]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 4], 4
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0x64], 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.004aeb30
mov esp, ebp
pop ebp
ret 0x10