Function at 0x1111dc10
Capabilities:
Check os version
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111da886
mov eax, dword fs:[0]
push eax
sub esp, 0x918
mov eax, dword [0x11279148]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x428]
push edx
push eax
mov dword [ebp - 0x86c], eax
mov dword [ebp - 0x868], ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x420]
mov ebx, dword [ebp - 0x41c]
sub edi, dword [ebp - 0x428]
sub ebx, dword [ebp - 0x424]
mov dword [ebp - 0x870], edi
mov dword [ebp - 0x874], ebx
test edi, edi
jle 0x1111e2ac
test ebx, ebx
jle 0x1111e2ac
mov eax, dword [ebp - 0x86c]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x87c], eax
test eax, 0x80000
jne 0x1111dce7
mov esi, dword [ebp - 0x868]
cmp dword [esi + 0x50], 0
je 0x1111e2ac
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push 4
mov edi, eax
mov eax, dword [esi + 0x50]
push edi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x1111e2ac
mov ecx, dword [ebp - 0x86c]
push 0x80
lea eax, [ebp - 0x110]
push eax
xor edx, edx
push ecx
mov word [ebp - 0x110], dx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov edx, dword [ebp - 0x868]
cmp dword [edx + 8], 0
mov esi, dword [sym.imp.MSVCR100.dll__wcsicmp]
je 0x1111dd72
lea eax, [ebp - 0x110]
push str.NSMBlankWnd
push eax
call esi
add esp, 8
test eax, eax
je 0x1111dd45
lea ecx, [ebp - 0x110]
push 0x111f93a8
push ecx
call esi
add esp, 8
test eax, eax
jne 0x1111dd72
cmp dword [0x1127ecf0], 1
jle 0x1111e2ac
mov edx, dword [ebp - 0x86c]
push edx
lea eax, [ebp - 0x110]
push eax
push str.Ignoring_Layered___s___hwnd_x_n
call fcn.111bd7b0
add esp, 0xc
jmp 0x1111e2ac
mov esi, dword [ebp - 0x86c]
push 0x80
lea edx, [ebp - 0x210]
push edx
xor ecx, ecx
push esi
mov word [ebp - 0x210], cx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x1127ecf0], 1
jle 0x1111ddc9
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x428]
push esi
push eax
push ecx
push ebx
push edi
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x110]
push eax
push str.Layered___s__s___d_d__d__d__hwnd_x_n
call fcn.111bd7b0
add esp, 0x20
mov byte [ebp - 0x861], 0
mov ecx, str.tooltips_class32
lea eax, [ebp - 0x110]
jmp 0x1111dde0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1111de06
test dx, dx
je 0x1111de02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1111de06
add eax, 4
add ecx, 4
test dx, dx
jne 0x1111dde0
xor eax, eax
jmp 0x1111de0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1111de16
mov byte [ebp - 0x861], 1
mov ecx, dword [ebp - 0x868]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x1111de43
lea edx, [ebp - 0x428]
push edx
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x1111de43
mov byte [ebp - 0x861], 1
lea edx, [ebp - 0x890]
xor ecx, ecx
push edx
push esi
mov word [ebp - 0x418], cx
lea edi, [ebp - 0x418]
mov dword [ebp - 0x890], ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x890]
test eax, eax
je 0x1111dfc2
cmp byte [ebp - 0x861], 0
jne 0x1111e012
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1111dfcb
lea eax, [ebp - 0x878]
push eax
mov ecx, edi
push ecx
push 0
push esi
mov dword [ebp - 0x878], 0x104
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x1111dfbb
mov edx, edi
push 0x5c
push edx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x1111ded3
lea edi, [eax + 2]
push str.explorer.exe
push edi
call dword [sym.imp.MSVCR100.dll__wcsicmp]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
add esp, 8
test eax, eax
jne 0x1111df30
mov ecx, str.Button
lea eax, [ebp - 0x110]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1111df1d
test dx, dx
je 0x1111df19
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1111df1d
add eax, 4
add ecx, 4
test dx, dx
jne 0x1111def7
xor eax, eax
jmp 0x1111df22
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1111df30
call ebx
cmp al, 6
jae 0x1111dfb4
push str.explorer.exe
push edi
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1111df85
mov ecx, str.EdgeUiInputWndClass
lea eax, [ebp - 0x110]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1111df76
test dx, dx
je 0x1111df72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1111df76
add eax, 4
add ecx, 4
test dx, dx
jne 0x1111df50
xor eax, eax
jmp 0x1111df7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1111df85
call ebx
cmp al, 6
jae 0x1111dfb4
push str.sidebar.exe
push edi
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x1111dfb4
mov ecx, dword [ebp - 0x868]
push edi
add ecx, 0x14
call fcn.1102f630
push eax
call fcn.11198bf0
add esp, 8
test eax, eax
je 0x1111dfbb
mov byte [ebp - 0x861], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x861], 0
jne 0x1111e012
mov esi, dword [ebp - 0x868]
inc dword [esi + 0x10]
cmp dword [esi + 0x50], 0
jne 0x1111dfec
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov dword [esi + 0x50], eax
jmp 0x1111e018
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push 2
mov edi, eax
mov eax, dword [esi + 0x50]
push edi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x1111e018
mov esi, dword [ebp - 0x868]
cmp dword [esi + 0xc], 2
je 0x1111e2ac
test byte [ebp - 0x87c], 8
je 0x1111e2ac
mov esi, dword [ebp - 0x86c]
push esi
call dword [sym.imp.USER32.dll_GetDC]
lea edx, [ebp - 0x8a0]
mov ebx, eax
push edx
xor edi, edi
push ebx
mov dword [ebp - 0x8a0], edi
mov dword [ebp - 0x89c], edi
call dword [sym.imp.GDI32.dll_GetDCOrgEx]
lea ecx, [ebp - 0x924]
mov byte [ebp - 0x862], 0xff
call fcn.1102fb70
lea eax, [ebp - 0x884]
push eax
lea ecx, [ebp - 0x862]
push ecx
lea edx, [ebp - 0x88c]
push edx
push esi
lea ecx, [ebp - 0x924]
mov dword [ebp - 4], edi
call fcn.1102fbf0
cmp eax, edi
je 0x1111e2cf
cmp dword [0x1127ecf0], 1
jle 0x1111e0c4
mov eax, dword [ebp - 0x88c]
mov ecx, dword [ebp - 0x884]
movzx edx, byte [ebp - 0x862]
push eax
push ecx
push edx
push str.bAlpha_d__flags_d__cr_x_n
call fcn.111bd7b0
add esp, 0x10
cmp byte [ebp - 0x862], 0
je 0x1111e293
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [ebp - 0x888], edi
test edi, edi
je 0x1111e293
push 0xe
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xc
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
imul esi, eax
push 0x428
lea eax, [ebp - 0x860]
push 0
push eax
mov dword [ebp - 0x87c], esi
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x870]
mov edx, dword [ebp - 0x874]
add esp, 0xc
mov eax, 1
mov word [ebp - 0x854], ax
xor eax, eax
push eax
push eax
mov dword [ebp - 0x85c], ecx
lea ecx, [ebp - 0x894]
push ecx
mov dword [ebp - 0x858], edx
push eax
lea edx, [ebp - 0x860]
push edx
push edi
mov dword [ebp - 0x860], 0x28
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], eax
mov word [ebp - 0x852], si
mov dword [ebp - 0x894], eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0x878], eax
test eax, eax
je 0x1111e286
mov dword [ebp - 0x880], 0
lea ebx, [ebx]
mov eax, dword [ebp - 0x878]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x880]
mov edx, dword [ebp - 0x874]
neg ecx
sbb ecx, ecx
and ecx, 0x40000000
add ecx, 0xcc0020
push ecx
push 0
push 0
push ebx
push edx
mov dword [ebp - 0x898], eax
mov eax, dword [ebp - 0x870]
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x1111e255
call dword [sym.imp.GDI32.dll_GdiFlush]
mov eax, esi
imul eax, dword [ebp - 0x870]
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, eax
add eax, eax
cdq
and edx, 3
add eax, edx
sar eax, 2
imul eax, dword [ebp - 0x874]
xor ecx, ecx
test eax, eax
jle 0x1111e23f
mov edx, dword [ebp - 0x894]
jmp 0x1111e230
cmp dword [edx + ecx*4], 0
jne 0x1111e2e5
inc ecx
cmp ecx, eax
jl 0x1111e230
cmp dword [0x1127ecf0], 0
je 0x1111e255
push str.Layered_wnd_appears_to_be_all_black_n
call fcn.111bd7b0
add esp, 4
mov ecx, dword [ebp - 0x898]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x880]
inc eax
mov dword [ebp - 0x880], eax
cmp eax, 2
jl 0x1111e1a0
mov edx, dword [ebp - 0x878]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [ebp - 0x86c]
push ebx
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x924]
test eax, eax
je 0x1111e2ac
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
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.111d9022
mov esp, ebp
pop ebp
ret 8
mov byte [ebp - 0x862], 0xff
mov dword [ebp - 0x884], 2
jmp 0x1111e0d1
cmp dword [0x1127ecf0], 1
jle 0x1111e300
add ecx, ecx
add ecx, ecx
push ecx
push str.detecting_non_black_at_byte_offset__d_n
call fcn.111bd7b0
add esp, 8
xor edi, edi
test byte [ebp - 0x884], 1
je 0x1111e378
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x8a4], esi
push str.TransparentBlt
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1111e367
mov edx, dword [ebp - 0x88c]
mov ecx, dword [ebp - 0x874]
push edx
mov edx, dword [ebp - 0x870]
push ecx
push edx
push edi
push edi
push ebx
push ecx
mov ecx, dword [ebp - 0x424]
push edx
mov edx, dword [ebp - 0x428]
push ecx
mov ecx, dword [ebp - 0x868]
push edx
mov edx, dword [ecx]
push edx
call eax
mov edi, eax
mov byte [ebp - 4], 0
test esi, esi
je 0x1111e3af
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1111e3af
mov eax, dword [ebp - 0x874]
mov ecx, dword [ebp - 0x870]
mov edx, dword [ebp - 0x424]
push 0xcc0020
push 0
push 0
push ebx
push eax
mov eax, dword [ebp - 0x428]
push ecx
mov ecx, dword [ebp - 0x868]
push edx
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edi, eax
test edi, edi
jne 0x1111e3d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.blit_err__d_n
call fcn.111bd7b0
mov edi, dword [ebp - 0x888]
mov esi, dword [ebp - 0x87c]
add esp, 8
jmp 0x1111e255
mov eax, dword [ebp - 0x868]
mov edi, dword [ebp - 0x888]
mov esi, dword [ebp - 0x87c]
mov byte [eax + 0x4c], 1
mov dword [ebp - 0x880], 2
jmp 0x1111e255