Function at 0xa41010
Capabilities:
Enumerate gui resources

Disassembly:
push 0x30
mov eax, 0xaff953
call fcn.00af8e2b
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 - 0x28], ecx
mov dword [ebp + 0x10], eax
cmp dword [ebx + 0xc0], 0
jne 0xa41051
test ecx, ecx
jne 0xb4430e
cmp dword [ebx + 0xb8], 0
jne 0xb444f9
call fcn.00af8dd5
ret 0xc
cmp dword [ebx + 0x30], 0
jne 0xa41044
mov eax, dword [ecx]
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
mov esi, dword [eax + 0xe0]
and dword [ebp - 0x18], 0
push ecx
mov ecx, esi
call dword [0xc99200]
call esi
mov edx, dword [ebp - 0x28]
test al, al
je 0xb4437d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx - 0x18]
push edx
call fcn.00be349e
mov dword [ebp - 0x2c], eax
test eax, eax
js 0xa41044
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x34]
push ecx
mov dword [ebp - 0x30], ecx
mov ecx, esi
push eax
call dword [0xc99200]
call esi
mov ecx, dword [ebp - 0x34]
jmp 0xb44396
mov eax, dword [edx]
and dword [ebp - 0x2c], 0
push edx
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0xc99200]
call esi
mov ecx, eax
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x2c], 0
jl 0xa41044
test ecx, ecx
je 0xa41044
xor eax, eax
cmp ecx, dword [ebx + 0xb8]
sete al
cmp edi, eax
je 0xb444ea
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0xbc74b0
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_EnumWindows]
mov ecx, dword [ebp - 0x28]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xe0]
mov ecx, esi
call dword [0xc99200]
call esi
test al, al
je 0xb443fb
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_IsRectEmpty]
test eax, eax
jne 0xb443fb
lea eax, [ebp - 0x24]
jmp 0xb443fd
xor eax, eax
mov esi, dword [ebp - 0x30]
push eax
xor eax, eax
cmp dword [ebp + 0x10], eax
setne al
lea eax, [eax*2 + 3]
push eax
push dword [ebp - 0x2c]
push esi
push edi
call dword [sym.imp.dwmapi.dll_Ordinal_113]
mov dword [ebp - 0x2c], eax
test eax, eax
js 0xa41044
cmp dword [ebx + 0xb8], 0
jne 0xb444dc
and dword [ebp - 0x28], 0
and dword [ebp - 4], 0
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0xb444b8
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0xc99200]
call esi
test eax, eax
je 0xb444b5
mov eax, dword [ebx + 0x88]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0xc99200]
call esi
mov dword [ebp - 0x38], eax
mov ecx, dword [eax]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov esi, dword [ecx + 0x54]
mov dword [ebp - 0x3c], esi
test eax, eax
je 0xb444a0
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push dword [ebp - 0x34]
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 esi, dword [ebp - 0x3c]
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x38]
mov ecx, esi
call dword [0xc99200]
call esi
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], eax
call fcn.00bdd3a0
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0xb444d9
push dword [ebp - 0x28]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x2c]
neg edi
sbb edi, edi
and edi, esi
mov dword [ebx + 0xb8], edi
jmp 0xb444ec
xor eax, eax
test eax, eax
jns 0xa41051
jmp 0xa41044
push 0
push 3
push 0
push 0
push 0
call dword [sym.imp.dwmapi.dll_Ordinal_113]
and dword [ebx + 0xb8], 0
jmp 0xa41051