Function at 0xb4e910
Capabilities:
Enumerate gui resources

Disassembly:
push 0x28
mov eax, 0xbc9566
call fcn.00bc132b
mov eax, dword [ebp + 0x10]
mov edi, eax
mov ebx, dword [ebp + 8]
and eax, 2
mov ecx, dword [ebp + 0xc]
and edi, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp + 0x10], eax
cmp dword [ebx + 0xb8], 0
jne 0xb4e951
test ecx, ecx
jne 0xbdac9c
cmp dword [ebx + 0xb0], 0
jne 0xbdae9f
call fcn.00bc12da
ret 0xc
cmp dword [ebx + 0x30], 0
jne 0xb4e944
mov eax, dword [ecx]
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
mov esi, dword [eax + 0xe0]
and dword [ebp - 0x14], 0
push ecx
mov ecx, esi
call dword [0xd0cffc]
call esi
test al, al
je 0xbdad08
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
lea ecx, [ebx - 0x18]
call fcn.00ca019b
mov dword [ebp - 0x28], eax
test eax, eax
js 0xb4e944
mov ecx, dword [esi]
mov eax, dword [ebp - 0x30]
push eax
push esi
mov esi, dword [ecx + 0x3c]
mov ecx, esi
mov dword [ebp - 0x2c], eax
call dword [0xd0cffc]
call esi
mov ecx, dword [ebp - 0x30]
jmp 0xbdad24
mov ecx, dword [ebp - 0x24]
and dword [ebp - 0x28], 0
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0xd0cffc]
call esi
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x28], 0
jl 0xb4e944
test ecx, ecx
je 0xb4e944
xor eax, eax
cmp ecx, dword [ebx + 0xb0]
sete al
cmp edi, eax
je 0xbdae90
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push 0xc7e610
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_EnumWindows]
mov ecx, dword [ebp - 0x24]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xe0]
mov ecx, esi
call dword [0xd0cffc]
call esi
test al, al
je 0xbdad89
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_IsRectEmpty]
test eax, eax
jne 0xbdad89
lea eax, [ebp - 0x20]
jmp 0xbdad8b
xor eax, eax
mov esi, dword [ebp - 0x2c]
push eax
xor eax, eax
cmp dword [ebp + 0x10], eax
setne al
lea eax, [eax*2 + 3]
push eax
push dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.dwmapi.dll_Ordinal_113]
mov dword [ebp - 0x28], eax
test eax, eax
js 0xb4e944
cmp dword [ebx + 0xb0], 0
jne 0xbdae82
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0xbdae43
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0xd0cffc]
call esi
test eax, eax
je 0xbdae40
mov eax, dword [ebx + 0x88]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0xd0cffc]
call esi
mov ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
test eax, eax
je 0xbdae28
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov ecx, dword [ebp - 0x34]
and dword [ebp - 0x24], 0
lea edx, [ebp - 0x24]
mov eax, dword [ecx]
push edx
push ecx
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0xd0cffc]
call esi
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
push 0xc98390
mov dword [ebp - 0x34], eax
call fcn.00c1e729
mov ecx, eax
call fcn.00b54cb0
test al, al
je 0xbdae70
push 0xc98390
call fcn.00c1e729
push dword [ebp - 0x34]
call fcn.00c9c815
cmp dword [ebp - 0x24], 0
je 0xbdae7f
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x28]
neg edi
sbb edi, edi
and edi, esi
mov dword [ebx + 0xb0], edi
jmp 0xbdae92
xor eax, eax
test eax, eax
jns 0xb4e951
jmp 0xb4e944
push 0
push 3
push 0
push 0
push 0
call dword [sym.imp.dwmapi.dll_Ordinal_113]
and dword [ebx + 0xb0], 0
jmp 0xb4e951