undefined4 _Java_com_vue_browserlock_win_natives_NativeProxy_blockScreenCapture_8(void)
{
undefined *puVar1;
HWND hWnd;
HWND hWnd_00;
HWND pHVar2;
// 0x40b0 2
// _Java_com_vue_browserlock_win_natives_NativeProxy_blockScreenCapture@8
if (DAT_100126c4 == (undefined *)0x0) {
puVar1 = (undefined *)FUN_1000a4ab(0x1c);
DAT_100126c4 = puVar1;
*puVar1 = 0;
*(undefined4 *)(puVar1 + 0x14) = 0;
*(undefined4 *)(puVar1 + 0x18) = 0xf;
puVar1[4] = 0;
}
hWnd = GetForegroundWindow();
hWnd_00 = GetWindow(hWnd,0);
pHVar2 = hWnd_00;
if (hWnd != (HWND)0x0) {
pHVar2 = (HWND)SetWindowDisplayAffinity(hWnd,0x11);
}
if (hWnd_00 != (HWND)0x0) {
pHVar2 = (HWND)SetWindowDisplayAffinity(hWnd_00,0x11);
}
return CONCAT31((int3)((uint)pHVar2 >> 8),1);
}