Function at 0x4c7b20
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.004c5040
test eax, eax
je 0x4c7b58
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x25c]
push ecx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x25c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x240], 0
jne 0x4c7c15
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x258]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x250], 0
je 0x4c7b96
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x4c7800
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x238]
sub ecx, dword [eax + 0x230]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x23c]
sub ecx, dword [eax + 0x234]
mov dword [ebp - 8], ecx
push 0xcc0020
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x234]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x230]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x25c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x258]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x258]
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x4c7c36
mov eax, dword [ebp - 0x2c]
push eax
push 0x4c77c0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x258]
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x264], 0
je 0x4c7c66
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x258]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x264]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x264]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx]
call eax
mov dword [0x654840], 0x14
cmp dword [0x654854], 0
je 0x4c7d60
push 0x654840
call dword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x4c7d60
cmp dword [0x654844], 1
jne 0x4c7d60
cmp dword [0x654848], 0
je 0x4c7d60
mov ecx, dword [0x65484c]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x654850]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [0x654848]
push ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4c7d0a
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 0
je 0x4c7cfa
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x1c], 0
je 0x4c7d0a
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 3
push 0
push 0
push 0
push 0
mov eax, dword [0x654848]
push eax
fild dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
fmul dword [ecx + 0x24c]
mov edx, dword [ebp - 0x2c]
fisub dword [edx + 0x234]
call fcn.0059c610
push eax
fild dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
fmul dword [eax + 0x248]
mov ecx, dword [ebp - 0x2c]
fisub dword [ecx + 0x230]
call fcn.0059c610
push eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x258]
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [ebp - 0x2c]
add ecx, 0x210
call fcn.004e3770
mov esp, ebp
pop ebp
ret 4