Function at 0x1004bc7c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], 0xb7f609b2
push 3
mov edi, ecx
mov dword [ebp - 8], ebx
pop ecx
jmp 0x1004bca6
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x44], 0xb9b55bb2
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1004bc98
mov dword [ebp - 8], ebx
jmp 0x1004bcbe
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x38], 0xe2236432
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1004bcb0
mov dword [ebp - 0x34], ebx
jmp 0x1004bcf8
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 0x40]
sub edx, eax
mov eax, dword [ebp - 0x30]
cmp edx, eax
mov eax, dword [ebp - 0x44]
setl cl
xor edx, edx
cmp ecx, 0xfffffffb
setge dl
sub edx, eax
mov dword [ebp - 0x18], edx
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 2
jle 0x1004bcc8
xor esi, esi
inc esi
push esi
push edi
call fcn.10045d84
pop ecx
pop ecx
mov dword [ebp - 8], ebx
jmp 0x1004bd1d
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x2c], 0x26bdde0b
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x1004bd0f
mov dword [ebp - 8], ebx
jmp 0x1004bd36
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x50], 0xbe8e56f9
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x1004bd28
mov dword [ebp - 0x4c], esi
cmp dword [ebp - 0x4c], ebx
jl 0x1004bd94
mov dword [ebp - 8], 0x23ed15d
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004bd5b
push ebx
push ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [ebp - 8], ebx
jmp 0x1004bd8a
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004bd87
push ebx
push 0x12c3
push 0xbc8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jle 0x1004bd60
dec dword [ebp - 0x4c]
jns 0x1004bd44
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004bda9
push ebx
push 0x3df
push ebx
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
push edi
call fcn.100315f7
mov dword [ebp - 0x18], 0x43d837bc
mov edi, eax
mov dword [ebp - 0x14], esi
pop ecx
mov dword [ebp - 0x10], 0xcf95751c
mov dword [ebp - 0x10], 0xc9df
push 2
pop ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], 0xfffb
mov dword [ebp - 8], 5
mov dword [ebp - 8], ebx
jmp 0x1004bdf1
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x24], 0x2bfbd3ae
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1004bde3
or ecx, 0xffffffff
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x14], ebx
je 0x1004be23
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0x10]
test eax, eax
jne 0x1004be25
cmp dword [ebp - 0xc], ebx
je 0x1004be13
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
jne 0x1004be25
cmp dword [ebp - 0x20], ebx
jne 0x1004be25
mov esi, ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x10]
imul eax, esi
cmp ecx, eax
mov eax, dword [ebp - 0x14]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, edi
pop edi
setne dl
sub edx, dword [ebp - 0x1c]
neg edx
pop esi
sbb edx, edx
inc edx
add edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
pop ebx
mov esp, ebp
pop ebp
ret