Function at 0x4e8710
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.004e5c30
test eax, eax
je 0x4e8748
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 0x4e8805
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 0x4e8786
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x4e83f0
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 0x4e8826
mov eax, dword [ebp - 0x2c]
push eax
push 0x4e83b0
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 0x4e8856
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 [0x69c170], 0x14
cmp dword [0x69c184], 0
je 0x4e8950
push 0x69c170
call dword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x4e8950
cmp dword [0x69c174], 1
jne 0x4e8950
cmp dword [0x69c178], 0
je 0x4e8950
mov ecx, dword [0x69c17c]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x69c180]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [0x69c178]
push ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4e88fa
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 0x4e88ea
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x1c], 0
je 0x4e88fa
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 [0x69c178]
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.005c52f0
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.005c52f0
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.004ba100
mov esp, ebp
pop ebp
ret 4