Function at 0x10041220
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, ecx
push str.TaskbarMonitor
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetPropW]
mov ebx, eax
mov dword [ebp - 0x2c], 0x28
lea eax, [ebp - 0x2c]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push ebx
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov esi, 0x1005d4f4
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10041291
push 2
push edi
mov edi, dword [sym.imp.USER32.dll_MonitorFromWindow]
call edi
cmp eax, ebx
je 0x10041478
jmp 0x10041297
mov edi, dword [sym.imp.USER32.dll_MonitorFromWindow]
add esi, 4
cmp esi, 0x1005d4f8
jne 0x10041265
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x10041412
cmp esi, dword [ebp - 4]
je 0x10041412
push 2
push esi
call edi
cmp eax, ebx
jne 0x10041412
push str.NonRudeHWND
push esi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x10041412
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10041412
mov eax, dword [0x1005e408]
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
test al, 1
jne 0x10041314
or eax, 1
push str.Windows.UI.Core.CoreWindow
mov dword [0x1005e408], eax
call edi
mov word [0x1005e40c], ax
mov eax, dword [0x1005e408]
test al, 2
jne 0x10041332
or eax, 2
push str.TaskListThumbnailWnd
mov dword [0x1005e408], eax
call edi
mov word [0x1005e410], ax
mov eax, dword [0x1005e408]
test al, 4
jne 0x10041365
or eax, 4
push str.MultitaskingViewFrame
mov dword [0x1005e408], eax
call edi
push str.SIBJumpView
mov word [0x1005e214], ax
call edi
push str.DV2ControlHost
mov word [0x1005e216], ax
call edi
mov word [0x1005e218], ax
mov edi, dword [sym.imp.USER32.dll_GetClassWord]
push 0xffffffffffffffe0
push esi
call edi
movzx ecx, ax
mov eax, 0x1005e214
nop dword [eax + eax]
cmp cx, word [eax]
je 0x10041478
add eax, 2
cmp eax, 0x1005e21a
jne 0x10041380
push 0xffffffffffffffe0
push 3
push esi
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call edi
movzx edi, ax
mov eax, 0x1005e214
nop dword [eax]
cmp di, word [eax]
je 0x10041478
add eax, 2
cmp eax, 0x1005e21a
jne 0x100413b0
push 0x38
lea eax, [ebp - 0x64]
mov dword [ebp - 0x68], 0x3c
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowInfo]
cmp di, word [0x1005e410]
je 0x10041412
mov eax, dword [ebp - 0x40]
test al, 8
je 0x10041412
test al, al
js 0x10041437
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
jne 0x10041437
mov dx, word [0x1005e40c]
cmp di, dx
je 0x1004143e
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [ebp - 0x2c]
push eax
push 0x10041490
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dx, word [0x1005e40c]
mov eax, dword [ebp - 0x58]
xor ecx, ecx
cmp eax, dword [ebp - 0xc]
mov esi, 1
mov eax, dword [ebp - 0x60]
cmove ecx, esi
cmp eax, dword [ebp - 0x14]
jne 0x10041457
inc ecx
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x18]
jne 0x10041460
inc ecx
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x10]
jne 0x10041469
inc ecx
cmp ecx, 2
jae 0x10041478
cmp ecx, 1
jb 0x10041412
cmp di, dx
jne 0x10041412
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret